Want to know if you know any good method to help on DDoS attacks.
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
firewall Linux
15 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
Want to know if you know any good method to help on DDoS attacks.
But linux Firewall is iptables.
![thread](img/i_forum.png)
![cs2d](img/icons/cs2d.png)
![user](img/i_friend.png)
1
iptables -A OUTPUT -p tcp -m length --length 0:28 -j DROP
1
iptables -A OUTPUT -p udp -m length --length 0:28 -j DROP
1
iptables -A FORWARD -p tcp -m length --length 0:28 -j DROP
1
iptables -A FORWARD -p udp -m length --length 0:28 -j DROP
![user](img/i_friend.png)
http://www.cs2d.com/security.php
It is very easy for attackers to kill your server if you aren't using this rule.
The other rules you posted are pointless. Especially the TCP rules. CS2D servers don't use TCP and the TCP header also doesn't have a size of 28 bytes so the 0:28 size range is simply wrong. The UDP output/forward rules seem okay but they are probably not necessary.
![user](img/i_friend.png)
@
![user](img/i_friend.png)
Thank'm already using these and other rules such as this to allow ping.
1
iptables -A INPUT -d IP Address -p icmp -j ACCEPT
This rule and good
it is the dalay time between the moment when you send the UDP packet and the moment when you receive it .
aka Round-trip delay time
![user](img/i_friend.png)
But it helps right friend?
Wishes everyone a happy 2015!
1
iptables -A INPUT -p tcp --syn -m limit --limit 1/s --limit-burst 8 -j DROP
I tried to use the rule that the @
![user](img/i_friend.png)
![∗](img/star.gif)
I think this rule and good
![IMG:https://img4.hostingpics.net/thumbs/mini_513484ScreenShot123114at1252AM.png](https://img4.hostingpics.net/thumbs/mini_513484ScreenShot123114at1252AM.png)
that's what is happening in pratic:
Time1 - cs2d client : hey server here?
Time2 - cs2d client : what's your name?
Time3 - cs2d server : yes
Time4 - cs2d server : my name is blabla
latence = Time3 - Time1
![user](img/i_friend.png)
![user](img/i_friend.png)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)