Stop most DoS / DDoS attacks.
3 posters
Page 1 of 1
Stop most DoS / DDoS attacks.
Hey guys,
I have simple plan how to Block most DoS and DDoS attacks in CS2D.
First we need to contact with other nice projects like DmG / IRAN TOWN / and others.
We should spread in forums message, that we all need to force ports on 36963~36970.
Because attacks from "UDP Unicorn, LOIC, HOIC, Any other shitty GUI witch can launch DoS attack" Is sending packets with random source ports. Thats why we need to block every f**king port and leave only 36963 with simple commands:
WAITING FOR OPINIONS.
I have simple plan how to Block most DoS and DDoS attacks in CS2D.
First we need to contact with other nice projects like DmG / IRAN TOWN / and others.
We should spread in forums message, that we all need to force ports on 36963~36970.
- Photo for dummies, how to change port:
Because attacks from "UDP Unicorn, LOIC, HOIC, Any other shitty GUI witch can launch DoS attack" Is sending packets with random source ports. Thats why we need to block every f**king port and leave only 36963 with simple commands:
- Code:
#First we whitelist our selfs, becaus we dont want to block our vps server
sudo iptables -A INPUT --source YOUR_IP -j ACCEPT
sudo iptables -P INPUT DROP
sudo iptables -A INPUT -p udp --sport 36963:36970 -j ACCEPT
sudo iptables -A INPUT -p udp --sport 36963:36970 -m length --length 1200:65535 -j DROP
sudo iptables -A INPUT -p udp --sport 36963:36970 -m length --length 28 -j DROP
sudo iptables -A INPUT -p udp --sport 36963:36970 -m length --length 1024 -j DROP
WAITING FOR OPINIONS.
Last edited by EvaldasHack on Sat May 23, 2015 12:22 pm; edited 2 times in total
EvaldasHack- Posts : 4
Points : 6
Join date : 2015-05-22
Re: Stop most DoS / DDoS attacks.
Are you a hacker who try to determinate us to do something bad to be easily for you to get our servers down and forum too?
Dimi- Site user
- Gender : Posts : 1740
Points : 2125
Join date : 2012-10-05
Age : 25
Location : Bucharest , Romania
Re: Stop most DoS / DDoS attacks.
@Dimi: Probably not.
@Evaldas: So, your talking about making the server only use 1 port ? Because there's a way to do that, a little parameter that can be given within the launch of the dedicated executable. I just can't remember it... One second.
@Evaldas: So, your talking about making the server only use 1 port ? Because there's a way to do that, a little parameter that can be given within the launch of the dedicated executable. I just can't remember it... One second.
Re: Stop most DoS / DDoS attacks.
No, i want to force players to use port 36963~36970 not server. I even posted screenshot because some people misunderstand what i want.CkelviN wrote:So, your talking about making the server only use 1 port ?
EvaldasHack- Posts : 4
Points : 6
Join date : 2015-05-22
Re: Stop most DoS / DDoS attacks.
Oh I see. But server would need to use the same port for everything anyway as it uses a random port to check the version and stuff.
Anyway, it seems that the parameter I talked about doesn't exist. The only way to make the server always use the same port is the same way you do on the client (Local port setting).
You can do it opening more.cfg on the sys folder with a text editor and adding the line "localport 36963".
Anyway, it seems that the parameter I talked about doesn't exist. The only way to make the server always use the same port is the same way you do on the client (Local port setting).
You can do it opening more.cfg on the sys folder with a text editor and adding the line "localport 36963".
Re: Stop most DoS / DDoS attacks.
You can whitelist usgn ip by writing this:CkelviN wrote:Oh I see. But server would need to use the same port for everything anyway as it uses a random port to check the version and stuff.
- Code:
sudo iptables -A INPUT -p udp --dport YOUR_SERVER_PORT --source 85.214.102.60 -j ACCEPT
If you saying that we cant change server port, then check file "cs2d/sys/server.cfg"CkelviN wrote:Anyway, it seems that the parameter I talked about doesn't exist. The only way to make the server always use the same port is the same way you do on the client (Local port setting).
You can do it opening more.cfg on the sys folder with a text editor and adding the line "localport 36963".
P.s we need to change client ports witch are located in "cs2d/sys/config.cfg" line 51
EvaldasHack- Posts : 4
Points : 6
Join date : 2015-05-22
Re: Stop most DoS / DDoS attacks.
http://unrealsoftware.de/forum_posts.php?post=389341
EvaldasHack- Posts : 4
Points : 6
Join date : 2015-05-22
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|