IPTables Logging Problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,

I am having a problem reg IPtables Logging. Suppose I want to LOG all
the packets for a particular session. How I can do that? (Here, Session
say telnet is established b/w 2 hosts and I want to Log all the packets
on host A (say) i.e. the outgoing and incoming packets). 
I know abt the commans :-

Iptables -A INPUT -s HOSTA -d HOSTB -p tcp -sport 21 -j LOG 

But it logs only packets from HostA to HostB while I want the reverse
also. I don't want to replicate the rule.

Any suggestions will be appreciated.

Regards,
Amit
**************************Disclaimer**************************************************    
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux