Snort mailing list archives

Re: Problem to sniff 80, 110, 25 and 21 ports.


From: Matt Kettler <mkettler () evi-inc com>
Date: Wed, 29 Oct 2003 14:25:13 -0500

At 01:23 PM 10/29/2003, you wrote:
I use this command:

root@andrealnx:~# snort -i eth0 -l prova dst port 80 and dst port 110 and dst port 25 and dst port 21

and I've got this error:

Is there a reason why are you using snort for this? If you just need a packet dumper, use tcpdump.

Also, the above rule theoretically would never match any packets at all.. you want or, not and.. It's impossible for a packet to be destined to port 80 and port 110, it can only be destined to one or the other.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: