Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
snort on multiple interface
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Sun May 08, 2005 2:51 pm    Post subject: snort on multiple interface Reply with quote

I have 4 network interface on my home-server and I want snort sniffs only 2 of them
Code:
# Config file for /etc/init.d/snort

# This tell snort which interface to listen on (any for every interface)
IFACE=eth0

[...]


using any as IFACE value snort examines all 4 interface...
must I use 2 distinct instaces of snort?
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Sun May 08, 2005 4:57 pm    Post subject: Reply with quote

I'm wondering if you can set it to listen on 'all' interfaces in (/etc/conf.d/snort), but then configure it via /etc/snort/snort.conf to pay attention to the interfaces you want.
Code:

# or use global variable $<interfacename>_ADDRESS which will be always
# initialized to IP address and netmask of the network interface which you run
# snort at.

var HOME_NET [$eth0_ADDRESS,$eth1_ADDRESS]

I just tried this.. but it doesn't look like it works too hot.. but wanted to post it just in case I missed something stupid.

Another option is to configure your HOME_NET with just the IPs of the two interfaces you want...
Code:
var HOME_NET [192.168.0.0/24, 10.0.0.0/24]


HTH
hanji
Back to top
View user's profile Send private message
tdi
Apprentice
Apprentice


Joined: 25 Aug 2004
Posts: 170

PostPosted: Sun May 08, 2005 5:03 pm    Post subject: Reply with quote

snort is not designed to be HOST based IDS.
it Net based ids.
it should have seperate machine on the door of the network.


like this:


-------snort machine -----------router ---------- server-----(network)

it should be like spy... only listen and invisble
Back to top
View user's profile Send private message
capitanjackal
n00b
n00b


Joined: 26 Aug 2003
Posts: 69
Location: Quarata (CALIFORNIA)

PostPosted: Wed Mar 29, 2006 12:51 pm    Post subject: Re: snort on multiple interface Reply with quote

mrfree wrote:
I have 4 network interface on my home-server and I want snort sniffs only 2 of them
Code:
# Config file for /etc/init.d/snort

# This tell snort which interface to listen on (any for every interface)
IFACE=eth0

[...]


using any as IFACE value snort examines all 4 interface...
must I use 2 distinct instaces of snort?


with IFACE=any I can't reach to make snort working
It starts but the interfaces don't go in promiscuos.
In the snort FAQ they talk about a patch
http://www.snort.org/docs/faq/1Q05/node35.html

I need to make work snort in both interfaces, one in the lan side and the other in the wan side,
any idea ?

thanks

Giacomo
_________________
Meglio una Fiat 500 con 500 watts che una Fiat Punto con punti watts!
PS: ho comprato la punto! sono un l00s3r
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum