SYN FAQ

What is a SYN Attack?

A SYN attack is done by having the attacker send many thousands of invalid SYN "start connection" messages to the ISP involved. Even a slow computer and connection can send many, many of these a second. The ISP automatically takes these requests and waits 45 seconds for them to continue. This delay creates an enormous load on victim machines, causing them to be unable to respond to legitimate requests.

A SYN attack is usually done from bogus addresses; a different fake address is sent with each packet, making it extremely difficult to trace. This means that you cannot counteract a SYN attack by limiting access from the source IP address, since that address is unknown.

This FAQ discusses ways to deal with these attacks, and is a clearing house for additional information on the subject.

Here is the CIAC Bulletin with a full explanation of the attack and what steps to take against it.

How do I find out if I've been attacked?

Avi Freedman suggests

   netstat -an | grep SYN
"That'll will show you the packets in the establishment-pending queue. If you can't traceroute to anywhere close to the source addresses, you're probably being SYN-attacked with random source addresses".

What can you do to counteract a SYN attack?

Basically nothing; that's what makes it so scary. The requests look identical to legitimate requests that you might receive.

If you have the good taste to use SunOS (as our friend Avi Freedman might say), check out Avi's SunOS Patches

Patches for other BSD-based operating systems are being created as well, asd will appear on that web page. Check it closely for further developments, even if you're using Windows NT (per Avi).

What can you do to prevent others from issuing these attacks?

You can add filters to your CISCO or Livingston router. If you have a Cisco, check out CISCO instructions. If your router is a Livingston, check out these Livingston instructions.

If you have another brand of router, we urge you to check the Cisco or Livingston instructions and your router manual and devise filters for your own system. If you email them to me, I will add them to this page.

These filters will protect other people by prevent your users from sending out packets which are proportedly from machines not on your network. They also protect you by stopping incoming packets that pretend to be from one of your machines.

If all providers unite and run these filters on their own networks, the SYN attack problem will be forever vanquished. So please, apply the filters today and help save the Internet from another PANIX-style catastrophe.

CISCO Systems has some valuable information on resisting some related attacks and setting up router filters.


David H Dennis
Last modified: Sat Sep 21 10:41:09 PDT This page has received accesses since I put a counter on it at 12:00:53 17 September 1996.