-[IFwsI]-
You need an account to view all sections/topics

Join the forum, it's quick and easy

-[IFwsI]-
You need an account to view all sections/topics
-[IFwsI]-
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Stop most DoS / DDoS attacks.

3 posters

Go down

Stop most DoS / DDoS attacks. Empty Stop most DoS / DDoS attacks.

Post by EvaldasHack Fri May 22, 2015 8:02 pm

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.
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
Same sh*t with DDoS just attacks are launched from web.

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

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by Dimi Sat May 23, 2015 9:00 am

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
Dimi
Site user
Site user

Gender : Male Posts : 1740
Points : 2125
Join date : 2012-10-05
Age : 25
Location : Bucharest , Romania

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by _Yank Sat May 23, 2015 10:14 am

@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.
_Yank
_Yank
Site user
Site user

Gender : Male Posts : 394
Points : 654
Join date : 2012-06-01
Age : 24
Location : Under your bed

http://ares2d.tk

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by EvaldasHack Sat May 23, 2015 12:04 pm

CkelviN wrote:So, your talking about making the server only use 1 port ?
No, i want to force players to use port 36963~36970 not server. I even posted screenshot because some people misunderstand what i want.
Stop most DoS / DDoS attacks. 24f34ed58cbf2fad532edb7c5fd8df55127

EvaldasHack

Posts : 4
Points : 6
Join date : 2015-05-22

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by _Yank Sat May 23, 2015 12:24 pm

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".
_Yank
_Yank
Site user
Site user

Gender : Male Posts : 394
Points : 654
Join date : 2012-06-01
Age : 24
Location : Under your bed

http://ares2d.tk

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by EvaldasHack Sat May 23, 2015 12:40 pm

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.
You can whitelist usgn ip by writing this:
Code:
sudo iptables -A INPUT -p udp --dport YOUR_SERVER_PORT --source 85.214.102.60 -j ACCEPT

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".
If you saying that we cant change server port, then check file "cs2d/sys/server.cfg"
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

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by _Yank Sun May 24, 2015 7:30 pm

@Evaldas Nevermind, as long as usgn.de is whitelisted, no problem.
_Yank
_Yank
Site user
Site user

Gender : Male Posts : 394
Points : 654
Join date : 2012-06-01
Age : 24
Location : Under your bed

http://ares2d.tk

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by EvaldasHack Sun May 24, 2015 10:45 pm

http://unrealsoftware.de/forum_posts.php?post=389341

EvaldasHack

Posts : 4
Points : 6
Join date : 2015-05-22

Back to top Go down

Stop most DoS / DDoS attacks. Empty Re: Stop most DoS / DDoS attacks.

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum