what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

avoidtcpsynattack.txt

avoidtcpsynattack.txt
Posted Aug 17, 1999

No information is available for this file.

tags | spoof
SHA-256 | ba53cb44f4517734f22775f063dcaf1ec2f39e12fab4808ab724f0ab9ac8ddec

avoidtcpsynattack.txt

Change Mirror Download
Tuning Digital UNIX against 
TCP SYN Flooding and IP Spoofing Attacks

Patches are currently available for Digital UNIX which allow the system administrator
to avoid or reduce the negative impacts of a TCP SYN attack. The tunable parameters
needed to survive these attacks are present in the recently announced Digital UNIX
V4.0A release, as well as the previously shipping Digital UNIX V3.2G and Digital
UNIX V4.0 releases.

Connect to the section titled UNIX Version and Patch Recommendations in the
document, DIGITAL UNIX Tuning Parameters for Web Servers, for information on
how to obtain patches and on the patches appropriate for each DIGITAL UNIX
version.

The CERT advisory contains the full details of the attack, reference the advisory for
additional information:

CERT(sm) Advisory CA-96.21
Topic: TCP SYN Flooding and IP Spoofing Attacks
Original issue date: September 19, 1996
ftp://info.cert.org/pub/cert_advisories/CA-96.21.tcp_syn_flooding
http://www.cert.org/

Briefly, the Digital UNIX operating system can be further hardened against attacks of
this nature through the use of two separate kernel tunable parameters. First, the listen
queue size (sominconn) controls how many TCP SYN packets can be simultaneously
handled before additional requests are discarded. Secondly, a timer (tcp_keepinit)
controls how long these partial connections remain in the listen queue.

The default listen queue length for Digital UNIX is 1024, while the timeout default value
is 75 secs.

Digital recommends the listen queue (sominconn) be increased to 32767, its maximum
value. Warning: do NOT set sominconn (or somaxconn) above 32767, this is the
maximum value allowed. Additionally, the partial connection listen queue timeout value
(tcp_keepinit) should be reduced from the default of 150 (75 seconds) to a value of 30
(15 seconds).

An example of patching the kernel is shown below:

$ su
Password:
# dbx -k /vmunix
...
dbx> assign sominconn=32767
dbx> patch sominconn=32767
dbx> assign tcp_keepinit=30
dbx> patch tcp_keepinit=30
dbx> quit
#

Note: the dbx "assign" command changes the in-memory running kernel image, while
the "patch" command changes the on-disk /vmunix image. Use assign for an immediate
change, and patch for long term changes which hold their value over one or more
reboots. Be aware that if a kernel is re-built for any reason, that the new /vmunix image
will need to be patched accordingly.
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close