AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   DoS Attack Fixer for CSS v2 (https://forums.alliedmods.net/showthread.php?t=87794)

zhelev81 03-16-2009 14:05

DoS Attack Fixer for CSS v2
 
I know that here is not the place to ask but maybe some of you already tryed to load this plugin on linux.

I get seg fault anytime i try to load it.

If someone knows how exactly this should be done,to help lil bit.

BrutalGoerge 03-16-2009 14:17

Re: DoS Attack Fixer for CSS v2
 
for linux, just use this iptables rule.
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP

--dport <whatever ports you're using for your servers>

looking at your sig.. these 2 should work
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP
iptables -A INPUT -p udp --dport 27016 -m length --length 28 -j DROP

zhelev81 03-16-2009 14:47

Re: DoS Attack Fixer for CSS v2
 
I did not get anything of this :)

can u explane me in more simple way ?

DontWannaName 03-16-2009 16:42

Re: DoS Attack Fixer for CSS v2
 
Ya in english haha

devicenull 03-16-2009 16:48

Re: DoS Attack Fixer for CSS v2
 
It's fairly simple.. if you have a linux based server, just run those two commands as root, and there's no need for a plugin. They will cause iptables (the firewall), to drop any attack packets before they reach the game server.

No plugin needed.

zhelev81 03-16-2009 17:01

Re: DoS Attack Fixer for CSS v2
 
So I need to run this everytime linux is restarted or only once ?

BrutalGoerge 03-16-2009 18:20

Re: DoS Attack Fixer for CSS v2
 
there is a way to save it, but i just stick in in my crontab @reboot =\
http://www.faqs.org/docs/iptables/iptables-save.html

devicenull 03-16-2009 19:27

Re: DoS Attack Fixer for CSS v2
 
Quote:

Originally Posted by zhelev81 (Post 782164)
So I need to run this everytime linux is restarted or only once ?

How often are you rebooting your linux box? Hell my dektop has an uptime of over a month

zhelev81 03-16-2009 20:01

Re: DoS Attack Fixer for CSS v2
 
3-4 months once ,but i don't want to forget :)

zhelev81 03-18-2009 16:55

Re: DoS Attack Fixer for CSS v2
 
Quote:

Originally Posted by BrutalGoerge (Post 782033)
for linux, just use this iptables rule.
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP

--dport <whatever ports you're using for your servers>

looking at your sig.. these 2 should work
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP
iptables -A INPUT -p udp --dport 27016 -m length --length 28 -j DROP


thanks ,it works but can you explane if this will protect me from if someone wants to crash me server?I think this is only for the flood to be stoped ?

Tnx once again


All times are GMT -4. The time now is 20:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.