Snort mailing list archives

Re: Undefined variable name eth0_ADDRESS


From: Todd Wease <twease () sourcefire com>
Date: Wed, 27 Sep 2006 16:40:25 -0400

Hi folks,

I'm trying to run snort 2.6.0.2 and such errors:
snort[10786]: FATAL ERROR: Undefined variable name: 
(/etc/snort/snort.conf:34): eth1_ADDRESS
snort[10833]: FATAL ERROR: Undefined variable name: 
(/etc/snort/snort.conf:51): eth0_ADDRESS

In my config file  I have:
var HOME_NET $eth1_ADDRESS
var EXTERNAL_NET $eth0_ADDRESS

Those variables work with 2.4.x snort but not with 2.6.x

Any ideas?


Cheers

Remus


This issue has been fixed in CVS 2.6.1 and HEAD.  

Some snort.c rearranging was done in 2.6.x where the reading of the
snort.conf file was done before this variable was set.

Thanks, Remus for pointing this out.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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: