Snort mailing list archives

Re: disable spp_portscan2


From: Erek Adams <erek () snort org>
Date: Tue, 18 Mar 2003 11:46:06 -0500 (EST)

On Tue, 18 Mar 2003, John Sage wrote:

Erek, et al:

Looking at his syntax for eth0_ADDRESS, HOME_NET, and EXTERNAL_NET,
and wondering:

1) what it's intended to do;

2) will it work?

[...snip...]

var eth0_ADDRESS localhost.localdomain
var HOME_NET $eth0_ADDRESS

var EXTERNAL_NET $HOME_NET

[...snip...]

This is just Not A Good Thing(tm).

Make life simple:

        var HOME_NET $eth0_ADDRESS
        var EXTERNAL_NET !$HOME_NET

As it's done above, you're setting EXTERNAL_NET to HOME_NET.  That
basically turns most rules into "if from this host to this host."

Now if that's what is really intended:

        var HOME_NET $lo0_ADDRESS
        var EXTERNAL_NET any

Is a bit cleaner and easier to follow, IMHO.

Cheers!

-----
Erek Adams

   "When things get weird, the weird turn pro."   H.S. Thompson


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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: