From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b6df4dac54d8bd64 X-Google-Attributes: gidfee84,public From: mogul@actitis.pa.dec.com (Jeffrey Mogul) Subject: Re: DU 4.0 and Ultrix under SYN flooding attacks ? Date: 1996/10/08 Message-ID: <53eha4$dcp@usenet.pa.dec.com>#1/1 X-Deja-AN: 188130538 references: <520436$ird@fstgal00.tu-graz.ac.at> <527aae$les@usenet.pa.dec.com> <52k1ea$jl8@csugrad.cs.vt.edu> organization: DEC Western Research newsgroups: comp.unix.osf.osf1 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