Snort - the de facto standard for intrusion detection/prevention
next up previous
Next: 3.9 How do I Up: 3 Configuring Snort Previous: 3.7 My IP address

3.8 I have one network card and two aliases, how can I force Snort to ``listen'' on both addresses?

If you're using at least version 1.7, you can specify an IP list like this:

var HOME_NET [ 192.168.10.0/24, 10.1.1.1/16 ]

If you're using something older (version 1.6.3-patch2 or whatever) you can re-specify the HOME_NET variable multiple times like this (for example):

var HOME_NET 10.1.1.0/24
include misc.rules
var HOME_NET 192.168.1.0/24
include misc.rules



Nigel Houghton 2006-10-02