Snort mailing list archives
Re: wihtelist one IP?
From: Seth Art <sethsec () gmail com>
Date: Thu, 3 Dec 2009 16:17:44 -0500
"not host 217.x.x.x" will exclude packets where 217.x.x.x is either the src or the dst. run snort like this: snort -i ethX -u snort -g snort <more options> -l /varlog/snort not host 217.x.x.x If you use /etc/sysconfig/snort, uncomment the #BPF line so that it looks something like this: BPF="not host 217.x.x.x" and restart snort -Seth On Thu, Dec 3, 2009 at 9:34 AM, Tommie Giles <tgiles () gmail com> wrote:
pass tcp 217.x.x.x any -> any any ( sid:1000001 ;) pass tcp any any -> 217.x.x.x any ( sid:1000002 ;) probably something like: and not ((src net 217.x.x.0/24 || dst net 217.x.x.0/24)) Cheers, tom On Thu, Dec 3, 2009 at 6:16 AM, post urne <posturne () gmail com> wrote:Hello, I try to whitelist one of our customer IP in my local Snort setup. After many "googling" I belive to found a way: I created 2 rules in the /etc/snort/rules/local.rules: pass tcp 217.x.x.x any -> any any ( sid:1000001 ;) pass tcp any any -> 217.x.x.x any ( sid:1000002 ;) The local.rules file is in snort.conf included, but I still get tcp alerts for 217.x.x.x. where is my mistake - any ideas? regards, tom ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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-- Tommie Giles "If all else fails, immortality can always be assured by spectacular error." ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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
------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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:
- wihtelist one IP? post urne (Dec 03)
- Re: wihtelist one IP? Matt Olney (Dec 03)
- Re: wihtelist one IP? Tommie Giles (Dec 03)
- Re: wihtelist one IP? Seth Art (Dec 03)
- Re: wihtelist one IP? post urne (Dec 03)
- Re: wihtelist one IP? Seth Art (Dec 03)