Skip to contentSkip to conversation

(no subject)

DISCUSSION Shaun Hedges 2 participants 2 messages Aug 31, 2003 – Sep 5, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

We have high speed applications that open up hundreads of threads per computer very fast then close then open again. At one time, we can have about 15000 tcp connections going through the firewall at once. We've recently been adding more application servers but we're noticing that the bandwidth usage isn't going up intune with the number of computers, it's actually stay the same. We know this shouldn't be the case so am wondering if 15000+ connections is too much for a RH Linux+netfilter configuration, using no stateful inspection just basic FORWARD'ing rules to block all traffic from those machines except one port coming in.

Our router is a P1.7ghz Celeron w/ 512mb ram and IDE disks.. Is this insufficient? Our b/w usage is a mere 2mbits, but we have 10mbits available, and when it goes up, we seem to add more incoming bandwidth as outgoing, it looks as though the errors or timeouts are increasing.

Any ideas?

Thx

#1 lore raw

15000 connections (was Re: (no subject))

Quoted 11 lines · Shaun Hedges

Hello,

We have high speed applications that open up hundreads of threads per computer very fast then close then open again. At one time, we can have about 15000 tcp connections going through the firewall at once. We've recently been adding more application servers but we're noticing that the bandwidth usage isn't going up intune with the number of computers, it's actually stay the same. We know this shouldn't be the case so am wondering if 15000+ connections is too much for a RH Linux+netfilter configuration, using no stateful inspection just basic FORWARD'ing rules to block all traffic from those machines except one port coming in.

if you don't use connection tracking, there is no danger of running into any connections/second limits - in fact, your firewall doesn't even know about connections in this case.

Quoted 4 lines

Our router is a P1.7ghz Celeron w/ 512mb ram and IDE disks.. Is this insufficient? Our b/w usage is a mere 2mbits, but we have 10mbits available, and when it goes up, we seem to add more incoming bandwidth as outgoing, it looks as though the errors or timeouts are increasing.

10MBit is the kind of bandwith you can filter with an old 486 box.

Quoted 2 lines

Any ideas?
Thx

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie