Snort
[Top] [All Lists]

Re: [Snort-users] running snort on multiple interfaces (OpenBSD)

To: list@kulustur.org
Subject: Re: [Snort-users] running snort on multiple interfaces (OpenBSD)
From: Joe <js.lists@gmail.com>
Date: Fri, 13 Apr 2007 10:00:48 -0700
Cc: snort-users@lists.sourceforge.net
Delivered-to: sp-com-lists@consult.net
Delivered-to: snort-list@securepoint.com
In-reply-to: <1176119926.5431.21.camel@laptop>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=snort-users>
List-help: <mailto:snort-users-request@lists.sourceforge.net?subject=help>
List-id: "Snort users talk about... Snort!" <snort-users.lists.sourceforge.net>
List-post: <mailto:snort-users@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=unsubscribe>
References: <1176119926.5431.21.camel@laptop>
Sender: snort-users-bounces@lists.sourceforge.net
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)
Soner Tari wrote:
> Hi,
> 
> I need to run snort on multiple interfaces. Currently, I'm running
> multiple snort instances to achieve this, but this stretches the shared
> memory.
> 
> I've read FAQ 3.6, where it reads I should use a bridge interface on
> *BSD systems. I've tried that advice by creating bridge0, adding
> physical interfaces to it, upping it (per the brconfig(8) examples), and
> finally starting snort with "-i bridge0" argument. Snort starts (though,
> complaining that bridge0 is not assigned any IPs), but I cannot see any
> alerts.
> 
NOTE: I'm going on the assumption that you don't have IPs on these 
interfaces.

Make sure you've actually brought the ALL the interfaces up.

$ sudo ifconfig bridge0 create
$ sudo ifconfig vr0 up
$ sudo ifconfig vr1 up
$ sudo brconfig bridge0 add vr0 add vr1 up


You can have this set at bootup by doing this:

$ sudo echo "up" > /etc/hostname.vr0
$ sudo echo "up" > /etc/hostname.vr1

$ sudo vi /etc/bridgename.bridge0
add vr0
add vr1
up

(According to the man page for bridgename.if, each argument must be on a 
separate line)


For more information, type:

$ man ifconifg
$ man brconfig
$ man hostname.if
$ man bridgename.if


Hope this helps.


-------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>