[Snort-users] Dynamic Addresses

Erek Adams erek at ...577...
Tue Apr 10 04:15:33 EDT 2001


On Mon, 9 Apr 2001, Phil wrote:

> Given the new info that if you specify you're external
> interface your HOME_NET var needs to be you're extrnal
> IP and your EXTERNAL_NET var needs to be everything
> else... how do you handle dynamic IPs?
>
> I'm not sure exactly how Snort parses it's config
> file, but I'm guessing it doens't work like a shell
> script and I therefore cannot just use a `ifconfig
> ...` command and grep/xarg/etc. the IP out.
>

Have a look at 'address_config.sh' in the snort.org download section.

http://www.snort.org/Files/address_config.sh

I think it might do what you want.  It was written for 1.5 or 1.6 but it
should still work.

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net





More information about the Snort-users mailing list