* [Bridge] bridge in 'hub' mode possible? @ 2004-11-29 14:01 Nuutti Kotivuori 2004-11-29 18:24 ` Stephen Hemminger 0 siblings, 1 reply; 11+ messages in thread From: Nuutti Kotivuori @ 2004-11-29 14:01 UTC (permalink / raw) To: bridge Is it somehow possible to configure a bridge in 'hub' mode. So that every packet sent from a 'port' (eg. an interface) is delivered to every other 'port' on the bridge. That is, effectively to just turn off MAC address learning and treat all packets on the bridge level effectively as broadcasts. Or could this be done with some ebtables hack? Suggestions appreciated, -- Naked ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-11-29 14:01 [Bridge] bridge in 'hub' mode possible? Nuutti Kotivuori @ 2004-11-29 18:24 ` Stephen Hemminger 2004-11-29 18:32 ` Nuutti Kotivuori 0 siblings, 1 reply; 11+ messages in thread From: Stephen Hemminger @ 2004-11-29 18:24 UTC (permalink / raw) To: Nuutti Kotivuori; +Cc: bridge On Mon, 29 Nov 2004 16:01:57 +0200 Nuutti Kotivuori <naked@iki.fi> wrote: > Is it somehow possible to configure a bridge in 'hub' mode. So that > every packet sent from a 'port' (eg. an interface) is delivered to > every other 'port' on the bridge. No. The bridge needs to try and stay true to the IEEE 802.2 specification. > That is, effectively to just turn off MAC address learning and treat > all packets on the bridge level effectively as broadcasts. Why, are you trying to work around flaws in the underlying Ethernet layer. If so, fix it there. > Or could this be done with some ebtables hack? Yes > Suggestions appreciated, > -- Naked > > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-11-29 18:24 ` Stephen Hemminger @ 2004-11-29 18:32 ` Nuutti Kotivuori 2004-12-02 19:20 ` Stephen Hemminger 0 siblings, 1 reply; 11+ messages in thread From: Nuutti Kotivuori @ 2004-11-29 18:32 UTC (permalink / raw) To: Stephen Hemminger; +Cc: bridge Stephen Hemminger wrote: > On Mon, 29 Nov 2004 16:01:57 +0200 > Nuutti Kotivuori <naked@iki.fi> wrote: >> That is, effectively to just turn off MAC address learning and >> treat all packets on the bridge level effectively as broadcasts. > > Why, are you trying to work around flaws in the underlying Ethernet > layer. If so, fix it there. No, I am trying to allow tcpdumping of all traffic travelling through the bridge at any port of the bridge, most of which are running UML virtual machines. This isn't fixing some flaw, or trying to work around features - for example it is a legitimate need to be able to set up a dumper for some part of the network. At my former workplace, we used to have a 'guaranteed hub' - an old 10Mbit hub that was guaranteed to do no MAC address learning - that we used when we needed to dump some traffic for a certain computer. And no, the bridge will not be running spanning tree protocol either. >> Or could this be done with some ebtables hack? > > Yes Instructions appreciated, then. -- Naked ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-11-29 18:32 ` Nuutti Kotivuori @ 2004-12-02 19:20 ` Stephen Hemminger 2004-12-02 20:29 ` Nuutti Kotivuori 2004-12-03 10:00 ` Michael Renzmann 0 siblings, 2 replies; 11+ messages in thread From: Stephen Hemminger @ 2004-12-02 19:20 UTC (permalink / raw) To: Nuutti Kotivuori; +Cc: bridge Have you tried "brctl setageingtime br0 0" to turn off forwarding table? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-12-02 19:20 ` Stephen Hemminger @ 2004-12-02 20:29 ` Nuutti Kotivuori 2004-12-03 10:00 ` Michael Renzmann 1 sibling, 0 replies; 11+ messages in thread From: Nuutti Kotivuori @ 2004-12-02 20:29 UTC (permalink / raw) To: Stephen Hemminger; +Cc: bridge Stephen Hemminger wrote: > Have you tried "brctl setageingtime br0 0" to turn off > forwarding table? Actually, yes, it works. I started digging into the code soon after my inquiry and determined that if I do: brctl stp br0 off brctl setageing br0 0 brctl setfd br0 0 I get it to behave as wanted. The last setting is just paranoia, in case the bridge decided it was reconfiguring itself for some odd reason. Ofcourse the bridge still learns the MAC addresses, but since it always considers them expired, it is just wasted effort. So, thanks for your assistance, problem resolved. -- Naked ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-12-02 19:20 ` Stephen Hemminger 2004-12-02 20:29 ` Nuutti Kotivuori @ 2004-12-03 10:00 ` Michael Renzmann 2004-12-03 16:48 ` Roman Chertov 1 sibling, 1 reply; 11+ messages in thread From: Michael Renzmann @ 2004-12-03 10:00 UTC (permalink / raw) To: bridge Hi. Stephen Hemminger wrote: > Have you tried "brctl setageingtime br0 0" to turn off > forwarding table? I wonder if it would be worth to introduce some kind of "monitor interface" for a brigde (as can be found on switches, don't know if "monitor port" would be the correct term for it). The bridge could work as usual, while this virtual interface sees every packet that traverses the bridge. tcpdump & co could be used on this interface when needed. As an addition it should be possible to enable/disable this interface using a new brctl command (something like "brctl br0 monitor on|off"). Comments? If there's interest in such a function I possibly could spend some time on it after christmas. Bye, Mike ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [Bridge] bridge in 'hub' mode possible? 2004-12-03 10:00 ` Michael Renzmann @ 2004-12-03 16:48 ` Roman Chertov 2005-01-19 1:33 ` Jody Belka 0 siblings, 1 reply; 11+ messages in thread From: Roman Chertov @ 2004-12-03 16:48 UTC (permalink / raw) To: 'Michael Renzmann', bridge > > Hi. > > Stephen Hemminger wrote: > > Have you tried "brctl setageingtime br0 0" to turn off > > forwarding table? > > I wonder if it would be worth to introduce some kind of "monitor > interface" for a brigde (as can be found on switches, don't know if > "monitor port" would be the correct term for it). > > The bridge could work as usual, while this virtual interface sees every > packet that traverses the bridge. tcpdump & co could be used on this > interface when needed. As an addition it should be possible to > enable/disable this interface using a new brctl command (something like > "brctl br0 monitor on|off"). > > Comments? If there's interest in such a function I possibly could spend > some time on it after christmas. I have already made one for the 2.4.20 kernel module and the 1.0.4 bridge-utils. Since I was making this for the Emulab testbed I also had to change the src/dst MACs that were going to the tap; otherwise, the underlying switch would drop the mirrored packets as their MAC's were not registered on the VLAN where the tap sat. If people have any interest in this I can share with the code. Roman > > Bye, Mike > _______________________________________________ > Bridge mailing list > Bridge@lists.osdl.org > http://lists.osdl.org/mailman/listinfo/bridge ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2004-12-03 16:48 ` Roman Chertov @ 2005-01-19 1:33 ` Jody Belka 2005-01-19 1:35 ` Roman Chertov 0 siblings, 1 reply; 11+ messages in thread From: Jody Belka @ 2005-01-19 1:33 UTC (permalink / raw) To: bridge On Fri, Dec 03, 2004 at 11:48:35AM -0500, Roman Chertov wrote: > > I wonder if it would be worth to introduce some kind of "monitor > > interface" for a brigde (as can be found on switches, don't know if > > "monitor port" would be the correct term for it). > > > I have already made one for the 2.4.20 kernel module and the 1.0.4 > bridge-utils. Since I was making this for the Emulab testbed I also had > to change the src/dst MACs that were going to the tap; otherwise, the > underlying switch would drop the mirrored packets as their MAC's were > not registered on the VLAN where the tap sat. > > If people have any interest in this I can share with the code. I'd be interested in something like this. Maybe something along the lines of: brctl addtap <bridge> <device> # only allow 1 tap? i'd guess so, but if not brctl deltap <bridge> # then add a <device> param to deltap This would be very useful for me, as it would make hooking up snort to a linux bridge very nice and easy. J -- Jody Belka knew (at) pimb (dot) org ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [Bridge] bridge in 'hub' mode possible? 2005-01-19 1:33 ` Jody Belka @ 2005-01-19 1:35 ` Roman Chertov 0 siblings, 0 replies; 11+ messages in thread From: Roman Chertov @ 2005-01-19 1:35 UTC (permalink / raw) To: 'Jody Belka', bridge > -----Original Message----- > From: Jody Belka,,,,knew@pimb.org [mailto:jmb@mccarroll.org.uk] On Behalf > Of Jody Belka > Sent: Tuesday, January 18, 2005 8:33 PM > To: bridge@osdl.org > Cc: Roman Chertov > Subject: Re: [Bridge] bridge in 'hub' mode possible? > > On Fri, Dec 03, 2004 at 11:48:35AM -0500, Roman Chertov wrote: > > > I wonder if it would be worth to introduce some kind of "monitor > > > interface" for a brigde (as can be found on switches, don't know if > > > "monitor port" would be the correct term for it). > > > > > I have already made one for the 2.4.20 kernel module and the 1.0.4 > > bridge-utils. Since I was making this for the Emulab testbed I also had > > to change the src/dst MACs that were going to the tap; otherwise, the > > underlying switch would drop the mirrored packets as their MAC's were > > not registered on the VLAN where the tap sat. > > > > If people have any interest in this I can share with the code. > > I'd be interested in something like this. Maybe something along the lines > of: > > brctl addtap <bridge> <device> # only allow 1 tap? i'd guess so, but if > not > brctl deltap <bridge> # then add a <device> param to deltap > The tap that I made, allows for only one tap and I have not implemented the tap removal function. But it should be trivial to do so. Also when the tap is configured the MAC address of the tap has to be specified. (this was done to get around a certain problem with a switch on www.emulab.net) If you want the source code shoot me an email. Roman > This would be very useful for me, as it would make hooking up snort > to a linux bridge very nice and easy. > > > J > > -- > Jody Belka > knew (at) pimb (dot) org ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <200711282000.lASK04sR013906@smtp2.linux-foundation.org>]
* [Bridge] BitTorrent still crashes Linux firewall running bridging :-( [not found] <200711282000.lASK04sR013906@smtp2.linux-foundation.org> @ 2007-11-29 13:33 ` Jay Libove 2007-11-29 22:16 ` [Bridge] bridge in 'hub' mode possible? kevin 0 siblings, 1 reply; 11+ messages in thread From: Jay Libove @ 2007-11-29 13:33 UTC (permalink / raw) To: bridge Unfortunately, I did speak too soon, dammit. Even after replacing the Quad Tulip card with three independent Ethernet cards, BitTorrent (actually, Azureus) downloads are still regularly crashing this Linux firewall running bridging. So, back to the drawing board. What's the next diagnostic step? I guess I could just kill the VoIP device for a day or two. Who needs home phone service, anyway? Oh, yeah, wait, my wife... So, next diagnostic steps, please? Thanks again for your help, bridge users. -Jay -----Original Message----- Many thanks to Ryan for his comment that multiple Digital Tulip Ethernet adapters in a system have been known in the past to crack up the kernel. Looks like that problem still exists. I hope I'm not speaking too soon and jinxing myself, but last night I pulled out the single quad Tulip card and replaced it with three independent Ethernet controllers (of various parentage, none of them Digital), and have since BitTorrent downloaded a few hundred megabytes with no crashes at all. To Stephen, thank you too for replying. I should have been more specific, you're right. The "Crash" I'm referring to is the whole kernel going down so hard and fast that nothing even gets left in a memory buffer to be picked up on reboot. It's as if someone hit the hard reset switch on the system. Unfortunately, due to my complex network design, it is difficult to test with the bridging rules out, because without the bridging rules, I can't talk through this firewall. That's because I have a static IP address range which runs through a Vonage customized not-very-smart bridge/NAT device which doesn't actually understand how to have one IP address on its public interface and bridge all other traffic that comes its way. It doesn't answer ARPs for anything but itself. So, I have to have bridging rules on the firewall on an interface peeking at the outside segment and replying to ARPs, so that the packets can get through this Vonage box. To test without bridging, I'd have to discombobulate the whole darn network, which I've been trying to avoid. Hopefully, the problem was just with the Tulip card or drivers. Thanks again everyone, -Jay Original posting: I have a Linux system (based on Fedora, all packages current per 'yum'), running bridging. It works fine ... except if I have BitTorrent traffic running through it, in which case it is guaranteed to crash repeatedly, sometimes with as little as a minute's worth of traffic going through it after a reboot before crashing again. The firewall has a PCI quad Ethernet card with Digital DS21140 Tulip controllers on it. These are eth0, eth1, eth2, and eth3. Here's the 'dmesg' output relating to this PCI quad Ethernet card: Linux Tulip driver version 1.1.15 (Feb 27, 2007) ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11 tulip0: EEPROM default media type Autosense. tulip0: Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block. tulip0: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. tulip0: Index #2 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block. tulip0: Index #3 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block. eth0: Digital DS21140 Tulip rev 34 at MMIO 0xd5000000, 00:00:BC:11:56:D7, IRQ 11. ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5 tulip1: EEPROM default media type Autosense. tulip1: Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block. tulip1: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. tulip1: Index #2 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block. tulip1: Index #3 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block. eth1: Digital DS21140 Tulip rev 34 at MMIO 0xd5001000, 00:00:BC:11:56:D6, IRQ 5. ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10 tulip2: EEPROM default media type Autosense. tulip2: Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block. tulip2: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. tulip2: Index #2 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block. tulip2: Index #3 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block. eth2: Digital DS21140 Tulip rev 34 at MMIO 0xd5002000, 00:00:BC:11:56:D5, IRQ 10. ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 ACPI: PCI Interrupt 0000:02:07.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 tulip3: EEPROM default media type Autosense. tulip3: Index #0 - Media 10baseT (#0) described by a 21140 non-MII (0) block. tulip3: Index #1 - Media 100baseTx (#3) described by a 21140 non-MII (0) block. tulip3: Index #2 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block. tulip3: Index #3 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block. piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device eth3: Digital DS21140 Tulip rev 34 at MMIO 0xd5003000, 00:00:BC:11:56:D4, IRQ 11. ... and some more 'dmesg' output of net interest: NET: Registered protocol family 10 lo: Disabled Privacy Extensions ADDRCONF(NETDEV_UP): eth2: link is not ready ADDRCONF(NETDEV_UP): eth3: link is not ready Mobile IPv6 ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready ip_tables: (C) 2000-2006 Netfilter Core Team arp_tables: (C) 2002 David S. Miller Ebtables v2.0 registered Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (4607 buckets, 36856 max) ip6_tables: (C) 2000-2006 Netfilter Core Team Bridge firewalling registered device eth3 entered promiscuous mode br0: port 1(eth3) entering learning state eth0: no IPv6 routers present eth1: no IPv6 routers present eth3: no IPv6 routers present br0: no IPv6 routers present tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> tun0: Disabled Privacy Extensions tun1: Disabled Privacy Extensions tun2: Disabled Privacy Extensions br0: topology change detected, propagating br0: port 1(eth3) entering forwarding state ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready eth2: no IPv6 routers present Here's ifconfig -a output: br0 Link encap:Ethernet HWaddr 00:00:BC:11:56:D4 inet6 addr: fe80::200:bcff:fe11:56d4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1033126 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:47748729 (45.5 MiB) TX bytes:468 (468.0 b) eth0 Link encap:Ethernet HWaddr 00:00:BC:11:56:D7 inet addr:216.xxx.xxx.xxx Bcast:216.xxx.xxx.255 Mask:255.255.255.0 inet6 addr: fe80::200:bcff:fe11:56d7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23941 errors:1 dropped:0 overruns:0 frame:0 TX packets:672809 errors:4 dropped:0 overruns:0 carrier:9 collisions:134 txqueuelen:1000 RX bytes:13324751 (12.7 MiB) TX bytes:57721426 (55.0 MiB) Interrupt:11 Base address:0x8000 eth0:1 Link encap:Ethernet HWaddr 00:00:BC:11:56:D7 inet addr:192.168.15.3 Bcast:192.168.15.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0x8000 eth1 Link encap:Ethernet HWaddr 00:00:BC:11:56:D6 inet addr:192.168.255.5 Bcast:192.168.255.127 Mask:255.255.255.128 inet6 addr: fe80::200:bcff:fe11:56d6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:793455 errors:0 dropped:0 overruns:0 frame:0 TX packets:452729 errors:4 dropped:0 overruns:0 carrier:10 collisions:837 txqueuelen:1000 RX bytes:67810520 (64.6 MiB) TX bytes:60778513 (57.9 MiB) Interrupt:5 eth2 Link encap:Ethernet HWaddr 00:00:BC:11:56:D5 inet addr:192.168.0.139 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::200:bcff:fe11:56d5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11659 errors:70656 dropped:0 overruns:0 frame:0 TX packets:9318 errors:5 dropped:0 overruns:0 carrier:11 collisions:2 txqueuelen:1000 RX bytes:10236933 (9.7 MiB) TX bytes:1291086 (1.2 MiB) Interrupt:10 Base address:0xc000 eth3 Link encap:Ethernet HWaddr 00:00:BC:11:56:D4 inet6 addr: fe80::200:bcff:fe11:56d4/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1070453 errors:1 dropped:0 overruns:0 frame:0 TX packets:859 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:78197874 (74.5 MiB) TX bytes:36294 (35.4 KiB) Interrupt:11 Base address:0x2000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:9669 errors:0 dropped:0 overruns:0 frame:0 TX packets:9669 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:949740 (927.4 KiB) TX bytes:949740 (927.4 KiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.253.1 P-t-P:192.168.253.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) tun1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.253.65 P-t-P:192.168.253.66 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) tun2 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:192.168.253.129 P-t-P:192.168.253.130 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Eth0 is connected to a 10Mbit Ethernet hub which is the outside segment of my network. Eth0 has my firewall's public Internet address (statically assigned, one of a group of static IPs assigned to me, by my ISP). Also on that outside Ethernet segment (that is, plugged in to that same hub) are the inside interface of a Vonage VoIP adaptor, and Eth3. Eth1 is connected to my internal network. Eth2 is my fallback interface which can be connected to e.g. my neighbor's WLAN (with their permission) when my own (unreliable) DSL service craps out. The vast majority of the time, Eth2 is not physically connected. Eth3 is configured 'up' and has no IP address. Arptables is set up on this Linux host to answer proxy ARPs for the rest of my static IP address range, because the Vonage VoIP adaptor is too stupid to do so. If I do not have Eth3 able to answer ARPs from the outside world for my other static IP addresses, then only the Vonage VoIP adaptor's one static address out of my range of 10 addresses can be reached from the Internet. Sigh. Yes, I need the VoIP adaptor outside the network like this, to perform traffic shaping. (I tried using Linux kernel traffic shaping, to insufficient effect). The tun interfaces are for OpenVPN, which I pretty much never use anymore. Here's the br0 configuration: # brctl show bridge name bridge id STP enabled interfaces br0 8000.0000bc1156d4 no eth3 Here are the commands which set up that bridge: # brctl addbr br0 # brctl addif br0 eth3 # ifconfig br0 0.0.0.0 I have static ARP entries on this Linux firewall thus: # arp -Ds 216.xxx.xxx.43 eth1 -i eth1 pub # route add -host 216.xxx.xxx.43 dev eth0 gw 192.168.15.1 # for host in 42 44 45 46 47 48 49 50 51; do \ ebtables -t nat -A PREROUTING -i eth0 -p ARP \ --arp-op request --arp-ip-dst 216.xxx.xxx.$host \ -j arpreply --arpreply-mac $MAC_OF_VOIP_ADAPTOR_OUTER_INTERFACE; done Any high level ideas on why BitTorrent traffic might crash the firewall with this bridge and ARP configuration? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2007-11-29 13:33 ` [Bridge] BitTorrent still crashes Linux firewall running bridging :-( Jay Libove @ 2007-11-29 22:16 ` kevin 2007-11-29 22:52 ` Stephen Hemminger 0 siblings, 1 reply; 11+ messages in thread From: kevin @ 2007-11-29 22:16 UTC (permalink / raw) To: bridge Was a solution for this ever reached? I am needing a snort type solution myself as my new switches don't support mirroring. Could the packet delivery of the bridge be modified to deliver to all interfaces? Any ideas where I should start breaking things in the source? Thanks much Kevin Karsh ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Bridge] bridge in 'hub' mode possible? 2007-11-29 22:16 ` [Bridge] bridge in 'hub' mode possible? kevin @ 2007-11-29 22:52 ` Stephen Hemminger 0 siblings, 0 replies; 11+ messages in thread From: Stephen Hemminger @ 2007-11-29 22:52 UTC (permalink / raw) To: kevin; +Cc: bridge On Thu, 29 Nov 2007 15:16:33 -0700 (MST) kevin@ouraynet.com wrote: > Was a solution for this ever reached? I am needing a snort type solution > myself as my new switches don't support mirroring. > > Could the packet delivery of the bridge be modified to deliver to all > interfaces? Any ideas where I should start breaking things in the source? > > Thanks much > Kevin Karsh > You can use the tc actions to mirror. -- Stephen Hemminger <shemminger@linux-foundation.org> ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-11-29 22:52 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 14:01 [Bridge] bridge in 'hub' mode possible? Nuutti Kotivuori
2004-11-29 18:24 ` Stephen Hemminger
2004-11-29 18:32 ` Nuutti Kotivuori
2004-12-02 19:20 ` Stephen Hemminger
2004-12-02 20:29 ` Nuutti Kotivuori
2004-12-03 10:00 ` Michael Renzmann
2004-12-03 16:48 ` Roman Chertov
2005-01-19 1:33 ` Jody Belka
2005-01-19 1:35 ` Roman Chertov
[not found] <200711282000.lASK04sR013906@smtp2.linux-foundation.org>
2007-11-29 13:33 ` [Bridge] BitTorrent still crashes Linux firewall running bridging :-( Jay Libove
2007-11-29 22:16 ` [Bridge] bridge in 'hub' mode possible? kevin
2007-11-29 22:52 ` Stephen Hemminger
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.