From: mogul@actitis.pa.dec.com (Jeffrey Mogul)
Subject: Re: DU 4.0 and Ultrix under SYN flooding attacks ?
Date: 1996/09/24 [thread overview]
Message-ID: <527aae$les@usenet.pa.dec.com> (raw)
In-Reply-To: 520436$ird@fstgal00.tu-graz.ac.at
In article <520436$ird@fstgal00.tu-graz.ac.at>, tom@finwds01.tu-graz.ac.at (Thomas Leitner) writes:
|> Given the recently posted CERT advisory on SYN flooding attacks from the
|> Internet (ftp://info.cert.org/pub/cert_advisories/CA-96.21.tcp_syn_flooding)
|> I'd be interested to know how DU 4.0, and Ultrix 4.4, 4.5 would react to such
|> an attack? Would they crash, slow down considerably or just continue
|> normal operation without accepting and new incoming connections?
***This is just my opinion, and does not represent Digital's official
***response to the CERT advisory!
It's been so long since I've looked at Ultrix that I do not feel
confident answering such questions about that system.
Probably (no promises) Digital UNIX will simply fail to accept new connections.
Of course, if the packet arrival rate is very high, the system may slow
down significantly. Digital UNIX V4.0 (and V3.2G) uses a hash table
for TCP PCB lookups, and so is less likely to slow down "considerably."
|> Is there some kernel parameter for the max. # of SYN_RECEIVED (or whatever
|> they are called) states which are left by such attacks?
We've looked fairly closely at Digital UNIX, and the answer is that
you can easily configure V4.0 to be resistant to SYN-flooding attacks.
(Note that I said "resistant", not "invulnerable".)
The relevant parameter is "somaxconn" in the "socket" subsystem.
In Digital UNIX V4.0, this defaults to 1024 (instead of to 8, the
original BSD default), but for best resistance to SYN-flooding,
you should set this to 32767. DO NOT set it to a value above 32767,
or you'll get undefined results.
You should probably also set "sominconn" to the same value. This
causes the kernel to ignore whatever value the application uses
in its listen() system call, which is useful if you don't have
sources for the application.
This applies to V3.2G, as well. In older versions of Digital UNIX,
the "somaxconn" value can be set using dbx, but not with sysconfig.
Also, the "sominconn" value does not exist in older versions, although
if you install the latest patches to V3.2C,D,E,F then it is available
via dbx (but not via sysconfig). (And if you install these patches,
you'll also get the PCB hash table feature.)
-Jeff
next prev parent reply other threads:[~1996-09-24 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-21 4:00 DU 4.0 and Ultrix under SYN flooding attacks ? Thomas Leitner
1996-09-24 4:00 ` Jeffrey Mogul [this message]
1996-09-28 4:00 ` Eric A. Bishop
1996-10-08 4:00 ` Jeffrey Mogul
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox