kernel oops, fast ethernet bridge, 2.4.31
Hello,
I have bridge firewall (linux box) with three fast ethernet cards (one rtl8139 for management and two e100 for bridge). It is running 2.4.31 kernel and iptables v1.2.11. It works ok about one month. Few weeks ago It started ooopsing. First thought was hardware, but it was replaced with a new one and problem still exist. I'm attaching ksymoops analysis of ooops message. I hope I'll help.
Some facts:
Traffic over this bridge is about ~30 MBit/sec and every frame is tagged with VID (802.1q). Problem exist also on 2.4.30 kernel. Kernel is patched with ebtables patch. Ooops completeley freezes machine, only hard reset takes effect. Nothing is placed into syslog.
The ksymooops analisis is attached as text file.
Anyone know this bug/problem ?
Regards,
Lukasz Spaleniak
Signature · 3 lines
spalek on wroc zigzag pl GCM dpu s: a--- C++ UL++++ P+ L+++ E--- W+ N+ K- w O- M V- PGP t--- 5 X+ R- tv-- b DI- D- G e-- h! r y+
Hello,
just some basic questions :
- did your configuration change before the oopses started ? (eg: new
matches, etc...)
- did the traffic change recently (protocols, data rate) ? eg: new applications on the network, etc...
- is it possible that it's being targetted by an attack where it is installed (unfiltered internet, holiday employees who like to play with the network, etc...) ?
I really find it strange that it suddenly started oopsing if nothing changed. At least it should have been oopsing from day one.
Regards,
willy
Quoted 26 lines · Lukasz Spaleniak
Hello,
I have bridge firewall (linux box) with three fast ethernet cards (one rtl8139 for management and two e100 for bridge). It is running 2.4.31 kernel and iptables v1.2.11. It works ok about one month. Few weeks ago It started ooopsing. First thought was hardware, but it was replaced with a new one and problem still exist. I'm attaching ksymoops analysis of ooops message. I hope I'll help.
Some facts:
Traffic over this bridge is about ~30 MBit/sec and every frame is tagged with VID (802.1q). Problem exist also on 2.4.30 kernel. Kernel is patched with ebtables patch. Ooops completeley freezes machine, only hard reset takes effect. Nothing is placed into syslog.The ksymooops analisis is attached as text file.
Anyone know this bug/problem ?
Regards,
Lukasz SpaleniakSignature · 3 lines
spalek on wroc zigzag pl GCM dpu s: a--- C++ UL++++ P+ L+++ E--- W+ N+ K- w O- M V- PGP t--- 5 X+ R- tv-- b DI- D- G e-- h! r y+
Quoted 1 line · Willy Tarreau
Hello,
Hello Willy,
Quoted 3 lines
just some basic questions :
- did your configuration change before the oopses started ? (eg: newmatches, etc...)
One new machine appears but it generates small traffic rate (by now it's almost unused).
Quoted 2 lines
- did the traffic change recently (protocols, data rate) ? eg: new applications on the network, etc...
No - firewall is bridging IPv4 only. There was no dramatic topology change. Those VLANs which are going through this firewall were untouched.
Quoted 3 lines
- is it possible that it's being targetted by an attack where it is installed (unfiltered internet, holiday employees who like to play with the network, etc...) ?
I don't think so that managed IP of firewall was targetet, maybe machines behid firewall but problem appears on eth2 interface which is:
internet <-trunk-> eth1(firewall/iptables)eth2<-trunk->(switch ports) <-> servers
So it's after iptables ...
Quoted 2 lines
I really find it strange that it suddenly started oopsing if nothing changed. At least it should have been oopsing from day one.
It is strange to me too. There is no dependency when it happens. Sometimes traffic is small, sometimes it's normal. Packet rates are around ~2000-3000 pkt/sec - so not so high.
Regards,
Lukasz
Signature · 3 lines
lspaleniak on wroc zigzag pl GCM dpu s: a--- C++ UL++++ P+ L+++ E--- W+ N+ K- w O- M V- PGP t--- 5 X+ R- tv-- b DI- D- G e-- h! r y+
Quoted 10 lines · Lukasz Spaleniak <lspaleniak <at> wroc.zigzag.pl> writes:
On Wednesday, July 20, 2005, 9:44:57 PM, Willy Tarreau wrote:
changed. At least it should have been oopsing from day one. It is strange to me too. There is no dependency when it happens. Sometimes traffic is small, sometimes it's normal. Packet rates are around ~2000-3000 pkt/sec - so not so high.Regards,
Lukasz
Lukasz,
I think I have a fix for you. Verify for me that it is the same problem. Send a large UDP packet through the bridge. I believe the problem is the ip_fragment code is not taking into account the VLAN header that needs to be added to the packet when it gets fragmented on the way out.
Just send the large UDP packet through the bridge. I use ttcp. If it panics then I can send you the fix. There are further changed to ip_output.c
Quoted 11 lines · On Fri, 22 Jul 2005 15:13:33 +0000 (UTC) Joy Leima <[email protected]> wrote:
Lukasz,
I think I have a fix for you. Verify for me that it is the same problem. Send a large UDP packet through the bridge. I believe the problem is the
ip_fragmentcode is not taking into account the VLAN header that needs to be added to the packet when it gets fragmented on the way out.Just send the large UDP packet through the bridge. I use ttcp. If it panics then I can send you the fix. There are further changed to
ip_output.c
Hello Joy,
This is exactly this situation which you described. Could you be so kind to send me this patch ?
Best regards,
Lukasz Spaleniak
Signature · 3 lines
lspaleniak on wroc zigzag pl GCM dpu s: a--- C++ UL++++ P+ L+++ E--- W+ N+ K- w O- M V- PGP t--- 5 X+ R- tv-- b DI- D- G e-- h! r y+