Skip to contentSkip to conversation

Help!! network traffic limit function of iptables didn't work effectively to repel DoS attack.

DISCUSSION fxian_2003 3 participants 3 messages Nov 1, 2002

lore
Share & tools
lore

fxian_2003

author
#0 lore raw

Hi!
To defend DoS attack,iptables implement rate-limit function. Today I used a DoS-type attack tool to syn-flood the targeted machine, the CPU load of the machine rised sharply to 90%. Then I add a iptables limit rule in which limit rate is 3/min, but the result was dissapointed for the load of CPU was still 90%. So I deduced that traffic limit function could't repel DoS attack effectively. If somebody is interested in my experiment, I can mail him my hacker software.

B.T.W
The DoS tool I used is run on Windows platform.

cheers
Feng Xian

            [email protected]
#1 lore raw
Quoted 7 lines · On Friday 01 November 2002 9:46 am, fxian_2003 wrote:

Hi!
To defend DoS attack,iptables implement rate-limit function. Today I
used a DoS-type attack tool to syn-flood the targeted machine, the CPU load of the machine rised sharply to 90%. Then I add a iptables limit rule in which limit rate is 3/min, but the result was dissapointed for the load of CPU was still 90%. So I deduced that traffic limit function could't repel DoS attack effectively.

What happens if you have the rate limit rule in place *before* attacking the machine with your DoS tool (which I think is a more realistic test) ?

Antony.

Signature · 3 lines
Documentation is like sex:
when it's good, it's very very good;
when it's bad, it's still better than nothing.
#2 lore raw
In reply to fxian_2003

(please wrap your lines at 72 characters or less. thanks.)

Quoted 8 lines · On Fri, 1 Nov 2002, fxian_2003 wrote:

Hi!
To defend DoS attack,iptables implement rate-limit function. Today I
used a DoS-type attack tool to syn-flood the targeted machine, the CPU load of the machine rised sharply to 90%. Then I add a iptables limit rule in which limit rate is 3/min, but the result was dissapointed for the load of CPU was still 90%. So I deduced that traffic limit function could't repel DoS attack effectively. If somebody is interested in my experiment, I can mail him my hacker software.

but this doesn't prove anything, beyond that the load was similar. how do you know if the limiting you added to iptables was working or not?

you should add logging to see if the extra packets are actually getting rejected.

rday