From: mogul@actitis.pa.dec.com (Jeffrey Mogul)
Subject: Re: DU 4.0 and Ultrix under SYN flooding attacks ?
Date: 1996/10/08 [thread overview]
Message-ID: <53eha4$dcp@usenet.pa.dec.com> (raw)
In-Reply-To: 52k1ea$jl8@csugrad.cs.vt.edu
In article <52k1ea$jl8@csugrad.cs.vt.edu>, ebishop@csugrad.cs.vt.edu (Eric A. Bishop) writes:
|> : 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.
|>
|> I am running 3.2C and would like to modify the somaxconn value.
|> Is the correct procedure for changing this using dbx on the kernel
|> and using "patch somaxconn=32767" ? Also, is changing SOMAXCONN in
|> /usr/sys/include/sys/socket.h to reflect this value the only other
|> change that needs to be made?
First of all, do NOT change any constants in system header files.
It won't do you any good. Period.
Second, here's one way to change somaxconn using dbx:
# dbx -k /vmunix /dev/mem
dbx version 3.11.6
Type 'help' for help.
stopped at [thread_block:1642 ,0x00397470] Source not available
warning: Files compiled -g3: parameter values probably wrong
(dbx)
(dbx) patch somaxconn = 32767
1024
(dbx) quit
#
If you do it like this, you'll need to reboot before it takes effect.
I think if you *also* use the "assign somaxconn = 32767" command,
you can get by without a reboot, but you will still have to kill
and restart your Web server(s) because this parameter is not consulted
except when the server's initial socket is created.
-Jeff
prev parent reply other threads:[~1996-10-08 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
1996-09-28 4:00 ` Eric A. Bishop
1996-10-08 4:00 ` Jeffrey Mogul [this message]
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