Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Snort + Multiple Interfaces
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
flakzeus
Apprentice
Apprentice


Joined: 26 May 2004
Posts: 157

PostPosted: Mon Jul 11, 2005 7:12 pm    Post subject: Snort + Multiple Interfaces Reply with quote

Is it possible to run Snort on multiple interfaces without running it on All interfaces? I have 4 NIC's and I need snort to run on three out of the four.

I've tried snort -v -i eth0 -i eth1 but that doesn't seem to work as it gives me an error.


Thanks.
_________________
"I'm not a super genius...or are I?" - Homer Simpson
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Mon Jul 11, 2005 8:51 pm    Post subject: Re: Snort + Multiple Interfaces Reply with quote

flakzeus wrote:
Is it possible to run Snort on multiple interfaces without running it on All interfaces? I have 4 NIC's and I need snort to run on three out of the four.

I've tried snort -v -i eth0 -i eth1 but that doesn't seem to work as it gives me an error.


Thanks.


One way of doing this would be to run an instance of Snort for each interface that you want it to run on:

Code:

snort -v -i eth0 &
snort -v -i eth1 &


You may have some logging and configuration issues that you need to iron out, but you can then have separate logs for each interface.
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
flakzeus
Apprentice
Apprentice


Joined: 26 May 2004
Posts: 157

PostPosted: Tue Jul 12, 2005 2:18 am    Post subject: Reply with quote

Thank you for your response, but ideally I would like to be able to only have one instance.
_________________
"I'm not a super genius...or are I?" - Homer Simpson
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Tue Jul 12, 2005 9:49 am    Post subject: Reply with quote

snort.conf


add second sensor...(interface)
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