SOLVED [was: firewall is very slow, something's wrong]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florin Andrei
Date: Tuesday, October 16, 2007 - 2:57 pm

Florin Andrei wrote:

HOLY SH*T! I tried 4.2. It rocks!

Just the first test that I tried after installing it:
- switched gigabit network
- web server behind 1:1 NATing firewall
- firewall is AMD64 X2 2.4GHz
- downloading 2GB file via HTTP through the firewall in infinite loop
- flooding the firewall with small UDP packets, random source IPs, 
generated as fast as my workstation (AMD64 X2 6400, Intel Pro/1000 PCI 
Express card, Linux Fedora 7, running the kernel-level "pktgen" packet 
generator which is very fast) can crank them out. The packets are 
directed to the NATed address of the web server, to a port that's 
blocked by the firewall.

Under these conditions, OpenBSD 4.1 as a firewall just keels over and 
dies. All traffic through the firewall just stops in an instant.
Linux 2.6.18 fares slightly better, the current download finishes up, 
but another one won't start.

But the default OpenBSD 4.2 i386 uniprocessor kernel doesn't seem to 
care. The download just keeps going. New downloads are initiated OK 
through the firewall. There are even spare CPU cycles left :-) not many 
(10%) but still. There's a very large percentage of CPU (80...90%) used 
for interrupts.

Good job folks, I'm impressed.

Anyone building gigabit routers and firewalls, don't delay, upgrade to 
4.2. Heck, do that even for 100Mbit systems, this type of DoS doesn't 
need much bandwidth to be effective.

I'll keep doing tests. If anything interesting shows up, I'll post the 
results in a new thread.

-- 
Florin Andrei

http://florin.myip.org/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
firewall is very slow, something's wrong, Florin Andrei, (Thu Oct 4, 5:48 pm)
Re: firewall is very slow, something's wrong, Stuart Henderson, (Fri Oct 5, 1:31 am)
Re: firewall is very slow, something's wrong, Claudio Jeker, (Sun Oct 7, 12:15 pm)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 10:41 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 10:59 am)
Re: firewall is very slow, something's wrong, knitti, (Mon Oct 8, 1:49 pm)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 5:28 pm)
Re: firewall is very slow, something's wrong, Karsten McMinn, (Mon Oct 8, 6:05 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Tue Oct 9, 4:32 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 9:07 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 9:27 am)
Re: firewall is very slow, something's wrong, Henning Brauer, (Tue Oct 9, 11:03 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 1:49 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 12:35 am)
Re: firewall is very slow, something's wrong, Siju George, (Wed Oct 10, 6:04 am)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 6:15 am)
Re: firewall is very slow, something's wrong, Peter N. M. Hansteen, (Wed Oct 10, 6:35 am)
Re: firewall is very slow, something's wrong, Scott Wells, (Wed Oct 10, 7:01 am)
Re: firewall is very slow, something's wrong, Robert C Wittig, (Wed Oct 10, 7:24 am)
Re: firewall is very slow, something's wrong, Paul de Weerd, (Wed Oct 10, 7:41 am)
Re: firewall is very slow, something's wrong, Jon Radel, (Wed Oct 10, 7:47 am)
Re: firewall is very slow, something's wrong, Tony Abernethy, (Wed Oct 10, 7:59 am)
Re: firewall is very slow, something's wrong, Siju George, (Wed Oct 10, 8:23 am)
Re: firewall is very slow, something's wrong, Tony Abernethy, (Wed Oct 10, 9:20 am)
Re: firewall is very slow, something's wrong, Stuart Henderson, (Wed Oct 10, 10:04 am)
Re: firewall is very slow, something's wrong, Robert C Wittig, (Wed Oct 10, 10:34 am)
Re: firewall is very slow, something's wrong, Ted Unangst, (Wed Oct 10, 11:54 am)
Re: firewall is very slow, something's wrong, Paul de Weerd, (Wed Oct 10, 12:01 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 1:20 pm)
Re: [side thread] security implcations of multiple kernel ..., Douglas A. Tutty, (Wed Oct 10, 3:25 pm)
SOLVED [was: firewall is very slow, something's wrong], Florin Andrei, (Tue Oct 16, 2:57 pm)
Re: SOLVED [was: firewall is very slow, something's wrong], Stuart Henderson, (Tue Oct 16, 3:44 pm)
Re: SOLVED [was: firewall is very slow, something's wrong], Henning Brauer, (Wed Oct 17, 1:38 am)