Linux Netfilter discussions
 help / color / mirror / Atom feed
* Iptables rule on span traffic
@ 2007-04-20 19:13 Krishnamoorthy (Siva) Sivakumar
  2007-04-21 13:46 ` Oleg
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Krishnamoorthy (Siva) Sivakumar @ 2007-04-20 19:13 UTC (permalink / raw)
  To: netfilter

Hi

I am new to this forum and my knowledge about iptables is fairly limited. I did search but couldn't find an answer to my question; if this has been addressed elsewhere, please point me to the source. 

Anyway, here is my situation. 
I have fwsnort generate iptables rule (based on snort IDS rules) which are running on a machine with two interfaces. One of the interfaces (eth1)  is connected to a SPAN port that mirrors traffic on part of our network, this interface is in promiscuous mode. The other interface (eth0) is a regular addressable interface. For some reason, the iptables rules seem to have no effect on traffic seen by the SPAN port. It seems to work fine on traffic seen on eth0. I have tried using the -i option to specify the interface but that doesn't seem to help. I am trying simple rules like "look for string 'ssh' and LOG traffic as well as reject with tcp reset" to troubleshoot.  

Anyone have any idea what I need to do to have iptables rule to act on SPAN traffic. Tcpdump on eth1 does show traffic that the loaded iptables rules should catch. Am I missing something in the way I have set things up?

Thanks,
Siva


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-04-26 16:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 19:13 Iptables rule on span traffic Krishnamoorthy (Siva) Sivakumar
2007-04-21 13:46 ` Oleg
2007-04-21 15:54 ` Jorge Davila
2007-04-21 16:23 ` Cedric Blancher
2007-04-21 19:44   ` Krishnamoorthy (Siva) Sivakumar
2007-04-21 21:20     ` Pascal Hambourg
2007-04-23  3:48       ` Krishnamoorthy (Siva) Sivakumar
2007-04-23  5:25         ` Martijn Lievaart
2007-04-23  5:41           ` Krishnamoorthy (Siva) Sivakumar
2007-04-23  5:44             ` Martijn Lievaart
2007-04-23 16:53               ` Krishnamoorthy (Siva) Sivakumar
     [not found]             ` <016c01c78593$061fc2e0$0302a8c0@southern>
     [not found]               ` <E8AFFEFDBE97C94E9297963F0527A07B01DFBA0D@pmi00exf00.us.packetmotion.com>
     [not found]                 ` <007301c787a6$13fdceb0$6501a8c0@southern>
2007-04-26  2:21                   ` Krishnamoorthy (Siva) Sivakumar
     [not found]                     ` <be4ffce60704260256j5cd06e93o6aeb512cb5fd36a1@mail.gmail.com>
2007-04-26 16:15                       ` Krishnamoorthy (Siva) Sivakumar
2007-04-21 19:33 ` Oleg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox