Help ddos My Server NFO
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
Instead of selectively blocking traffic like a blacklist, selectively allow traffic like a whitelist. You only need to allow UDP packets on port 7777. Drop everything else. Assuming that localhost and SSH traffic is allowed by default, you only need two rules:

Rule #1: Allow UDP traffic on port 7777
Rule #2: Drop any traffic on any port
SA-MP traffic is not just on port 7777. Clients get an unique port assigned on connection, you cant efficiently connect multiple remote clients to the same port (without further effort). So if im not completely wrong, blocking everything but the server port would mean players can still query the server, and attempt to connect to it, but they couldnt ever join the server.
The server doesnt listen on ports that werent sent to a player anyways, so just blocking everything wont change a thing, the dDOS just needs to target a port that isnt blocked, they usually dont target any ports except the server port (7777) anyways afaik.

What youll need is a connection limiter script (bash) that automatically reacts to excessive traffic from a single client, and drops its packets then. This will reduce the effect of a dDOS, as the attack just spams the connection then, but does not block the server, as the packets never reach it. Depending on the server's performance and the connection speed this can completely nullify the effects of a common small-scale dDOS.
Reply


Messages In This Thread
Help ddos My Server NFO - by JessyChaos - 01.12.2014, 19:37
Re: Help ddos My Server NFO - by Vince - 01.12.2014, 20:03
Respuesta: Help ddos My Server NFO - by JessyChaos - 01.12.2014, 20:21
Re: Help ddos My Server NFO - by Khanz - 01.12.2014, 20:34
Re: Help ddos My Server NFO - by mati233 - 01.12.2014, 20:39
Respuesta: Help ddos My Server NFO - by JessyChaos - 01.12.2014, 20:42
Re: Help ddos My Server NFO - by SimplyFragHosting - 02.12.2014, 00:08
Re: Help ddos My Server NFO - by Mauzen - 02.12.2014, 00:27
Re: Help ddos My Server NFO - by Abagail - 02.12.2014, 01:04
Re: Help ddos My Server NFO - by MD5 - 02.12.2014, 02:51
Respuesta: Help ddos My Server NFO - by JessyChaos - 02.12.2014, 02:51
Re: Help ddos My Server NFO - by Mark_Weston - 02.12.2014, 03:59
Re: Help ddos My Server NFO - by Aldo. - 02.12.2014, 09:06
Re: Help ddos My Server NFO - by rymax99 - 02.12.2014, 09:32
Respuesta: Help ddos My Server NFO - by JessyChaos - 02.12.2014, 20:10
Respuesta: Help ddos My Server NFO - by jotajeda - 02.12.2014, 20:44
Re: Respuesta: Help ddos My Server NFO - by Aldo. - 03.12.2014, 06:25
Re: Help ddos My Server NFO - by Vince - 03.12.2014, 10:40
Respuesta: Help ddos My Server NFO - by JessyChaos - 03.12.2014, 17:48
Re: Help ddos My Server NFO - by Khanz - 03.12.2014, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)