Skip to contentSkip to conversation

bridge firewall

Bridge Hugh Crissman 1 participant 2 messages Jun 30, 2005 – Jul 1, 2005 1 message not in the archive Ethernet bridge

lore
Share & tools
lore
#0 lore raw

I am in the process of building a bridge firewall to place as the gateway to my network. I have a couple questions that I can't seem to find clear answers to. Can snort sniff on a bridged interface? Second, can ebtables block by IP? I know IP is layer 3 and a Bridge is Layer 2 but some of the recipes I have seen for ebtables have ips in them.

In general I would like to be able to snort all incoming traffic on the bridge and filter out any traffic from attackers who appear to be reoccurring offenders.

Thanks,

Hugh Crissman

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Thanks Ryan,

That answers one of my major questions. I was not sure if I should have snort sniff on /dev/eth1 (a nic that is part of my bridge) or /dev/br0 (the bridge interface I created). I would assume that snort capture is very similar to tcpdump and sniffing on /dev/br0 would work fine. I will give that a shot. Now I wonder if iptables can block traffic on the bridge? If so, would the recipes call the bridge interface or one of the specific interfaces that are active in the bridge ie. /dev/br0 or /dev/eth1?

Thanks,

Hugh

Quoted 35 lines · Ryan McConigley
Quoted 7 lines · you

I am in the process of building a bridge firewall to place as the gateway to my network. I have a couple
questions that I can't seem to find clear answers to. Can snort sniff on a bridged interface? Second, can
ebtables block by IP? I know IP is layer 3 and a Bridge is Layer 2 but some of the recipes I have seen for
ebtables have ips in them.

I assume it can. Just tell snort to use the bridge interface as
opposed to the actually enternet cards. Thats how I do packet capture on our bridge using tcpdump. You'll probably get a better answer from the list though.

And I thought that ebtables was only layer2, but I know with
iptables you can specify mac addresses, so I wouldn't be surprised if ebtables has the same style of functionality or plugins.

        Just my $0.02 worth.

        Cheers,
                Ryan.

--
Ryan McConigley - Systems Administrator _.-,
Computer Science University of Western Australia .--' '-._
Tel: (+61 8) 6488 7082 - Fax: (+61 8) 6488 1089 _/`- _ '.

Ryan[@]csse.uwa.edu.au - http://www.csse.uwa.edu.au/~ryan  '----'._`.----. \
                                                                     `     
                                                                     \;

"You're just jealous because the voices are talking to me" ;_\