Quote:
Originally posted here by slarty
Rate-limiting incoming SYNs is a VERY bad idea, as it will lag your web servers significantly. In fact, it could also make a synflood DoS worse, because the SYNs which are permitted are more likely to be the DoS ones than legit ones.
That's not quite how the Netfilter limit module operates. It applies the rule on a per source IP basis, so in this case, it will limit all traffic equally. It is still a bad idea, for similar reasons, but I felt it still needed clarification. :)
Quote:
Originally posted here by instronics
This sort of attack can be countermeasured at the firewall level. That way it doesnt affect the service (The listening server). You can add a timer to it, to say just drop everything for 2 mins or so. There are many things you can play with here.
Was it necessary to repeat that? I was merely pointing it out for the benefit of others who upon reading your post might come to believe that a firewall will stop Denial of Service attacks. It works against only one form of attack, one that has become uncommon due to other technologies.
Quote:
Hmm, here again it depends. (I think so atleast). The only comment to this that i have (please do correct me if im wrong), i remember a very long time ago, i saw a 'ping of death' tool, which was orientated at a destination port.
Actually, the original "Ping of Death" was simply an ICMP Echo Request packet with greater than 65535 bytes of data. On some systems this would hardlock them (Linux 2.0, NT, Win95, etc). Nowadays I most commonly hear it in reference to ICMP DoS attempts.
Quote:
Again here, apart from the 'clogging', i run it as a test succesfully using a simple dialup connection against an ISDN connection. I could not have 'clogged' the target, since my pipe was way too weak, but it still crashed the target box (yeah yeah, it was a win 98, so you could say that nowadays its pretty useless)
I doubt it was Win98, as Microsoft patched the issue in Win95, and I believe didn't re-release it as a bug in 98.
Quote:
but then again, the firewall 'could', if the limit is set to 1 packet per second, and the firewall by default allows the target port to be accessed using ICMP (dont ask me why someone would allow it, some just do), then the firewall could just start dropping, which is sort of effective.
Actually, a firewall would not have helped this sort of attack at all. Ping was used because most ping utilities had the capability of resizing the packets (in windows this is the -l option I believe). The issue was not protocol specific, but rather with fragmented IP packets. UDP or TCP could have been just as capably put to use for the "Ping of Death".
Quote:
Again, please do correct me where if im wrong. I know that nowadays, most DoS attacks, target the bandwidth whereas the firewall would not do too much..., but the firewall remains effective if the attack is orientated towards the target service. If as a countermeasure just dropping the source IPs is not an option (Spoofing might confuse the firewall here), then maybe to just Drop all connections to the target port for a time limit, which in some situations is not the ideal solution either, since downtime does equal loss in money. Choose your poison. ;)
Firewalls have their purpose, and that is controlling access to the hosts it is defending. However you accomplish this is certainly a valid way of firewalling. Given the limited capacity with which firewalls can mitigate DoS attacks, it is definitely worth putting them to use where they will work, but it is definitely not a good idea to discard incident response action because one has a firewall.