Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

[Snort-users] Snort Box IP assigned by DHCP

Subject: [Snort-users] Snort Box IP assigned by DHCP
Date: Wed, 19 Apr 2006 11:35:46 -0300
Hi there!

Here is the problem. Every time I turn on the box, I have to look at the IP 
assigned by the ISP, edit snort.conf and, in the HOME_NET variable, I put the 
DHCP assigned address manually and after that, I start Snort and it works fine.

What I'd like to know is: Is there a way for me to automatically have snort to 
know what IP has been assigned and work with that IP. I've used both of these 
variables and it didn't work:

var HOME_NET $eth0_ADDRESS
and
var HOME_NET $eth0

But still... None worked.

Does Linux need some kind of program to make global variables work?
<Prev in Thread] Current Thread [Next in Thread>