Servers are getting attacked
#17

Quote:
Originally Posted by connork
View Post
First consider don't answer the packets with wrong UDP datagram for query mechanism, I mean the packets with wrong bytes for IP and port, the SA-MP Server responds to every 39-43 packet where is written "SAMP" and the opcode.
the port is confirmed to be random in the payload, part of the announcement when R2 came out.
(https://sampforum.blast.hk/showthread.php?tid=642085)

What do you mean by 39-43 here?
Four first bytes of the payload are signed with SAMP.

anyway,
I am trying to filter the packages but I have managed to block out the pings that happen when players try to establish a connetion ingame with almost empty packets.. The following screenshot shows internal package handling (7850) and external (port 7778).

Seems like the pings start with Port bytes here (+ something else which i am not sure what is for)

So I'll go ahead and adjust so the code only blocks packets that are containing "SAMP" so i don't catch all other sorts of packages which i can't find documentation on.

Also, I can rate-limit requests to not pass through my python UDP proxy faster than x ms per spoofed IP, lowering the amounts of requests by _alot_ towards the server. Even disabling certain OP-codes could help for a start.

If someone is good with python, and could contribute for the community, hit me up. I'll put it on Git when done under the WTFPL license.
Reply


Messages In This Thread
Servers are getting attacked - by Variable™ - 19.03.2019, 12:31
Re: Servers are getting attacked - by Logic_ - 19.03.2019, 12:54
Re: Servers are getting attacked - by MustangV10 - 19.03.2019, 13:08
Re: Servers are getting attacked - by Hazon - 19.03.2019, 13:50
Re: Servers are getting attacked - by NeXTGoD - 19.03.2019, 14:38
Re: Servers are getting attacked - by ColorHost-Kevin - 19.03.2019, 14:41
Re: Servers are getting attacked - by Variable™ - 19.03.2019, 16:51
Re: Servers are getting attacked - by nickdodd25 - 19.03.2019, 17:29
Re: Servers are getting attacked - by Kalcor - 20.03.2019, 09:59
Re: Servers are getting attacked - by denNorske - 20.03.2019, 10:59
Re: Servers are getting attacked - by connork - 21.03.2019, 01:53
Re: Servers are getting attacked - by Kalcor - 21.03.2019, 02:18
Re: Servers are getting attacked - by connork - 21.03.2019, 02:52
Re: Servers are getting attacked - by D1eSeL - 21.03.2019, 08:28
Re: Servers are getting attacked - by BigETI - 21.03.2019, 09:42
Re: Servers are getting attacked - by ConcernedCitizen - 21.03.2019, 15:35
Re: Servers are getting attacked - by denNorske - 21.03.2019, 16:21
Re: Servers are getting attacked - by Variable™ - 21.03.2019, 19:06
Re: Servers are getting attacked - by Romz - 23.03.2019, 08:50
Re: Servers are getting attacked - by t4dgcom - 23.03.2019, 14:37
Re: Servers are getting attacked - by Ubi - 23.03.2019, 23:39
Re: Servers are getting attacked - by nbx2000 - 24.03.2019, 05:36
Re: Servers are getting attacked - by Romz - 24.03.2019, 05:58
Re: Servers are getting attacked - by Ubi - 24.03.2019, 23:19
Re: Servers are getting attacked - by labiyebu - 25.03.2019, 09:41
Re: Servers are getting attacked - by t4dgcom - 25.03.2019, 11:47
[No subject] - by Doddinger - 25.03.2019, 16:28
Re: Servers are getting attacked - by Gettopro - 25.03.2019, 18:08
Re: Servers are getting attacked - by t4dgcom - 25.03.2019, 20:24
Re: Servers are getting attacked - by D1eSeL - 26.03.2019, 21:03
Re: Servers are getting attacked - by Redirect Left - 29.03.2019, 23:49
Re: Servers are getting attacked - by Whale - 30.03.2019, 06:01
Re: Servers are getting attacked - by Ubi - 31.03.2019, 00:49
Re: Servers are getting attacked - by denNorske - 31.03.2019, 06:40
Re: Servers are getting attacked - by Locky_ - 31.03.2019, 20:31
Re: Servers are getting attacked - by Leoric - 02.04.2019, 13:11
Re: Servers are getting attacked - by Mutemadiyen - 02.04.2019, 15:40
Re: Servers are getting attacked - by RogueDrifter - 02.04.2019, 15:56
Re: Servers are getting attacked - by Mutemadiyen - 02.04.2019, 16:24
Re: Servers are getting attacked - by Whale - 02.04.2019, 18:11
Re: Servers are getting attacked - by Mellnik - 02.04.2019, 19:44
Re: Servers are getting attacked - by Mark™ - 04.04.2019, 08:43
Re: Servers are getting attacked - by Showzs - 14.04.2019, 16:14
Re: Servers are getting attacked - by Kalcor - 14.04.2019, 18:16
Re: Servers are getting attacked - by Ubi - 14.04.2019, 18:49
Re: Servers are getting attacked - by xo - 14.04.2019, 20:06
Re: Servers are getting attacked - by Kshishtof - 14.04.2019, 20:28
Re: Servers are getting attacked - by D1eSeL - 14.04.2019, 20:51
Re: Servers are getting attacked - by Ubi - 14.04.2019, 21:59
Re: Servers are getting attacked - by Romz - 14.04.2019, 22:15
Re: Servers are getting attacked - by Kalcor - 14.04.2019, 22:25
Re: Servers are getting attacked - by xo - 14.04.2019, 22:48
Re: Servers are getting attacked - by Ubi - 14.04.2019, 23:23
Re: Servers are getting attacked - by Mobtiesgangsa - 14.04.2019, 23:54
Re: Servers are getting attacked - by RodrigoMSR - 15.04.2019, 02:03
Re: Servers are getting attacked - by Leoric - 15.04.2019, 09:53
Re: Servers are getting attacked - by ATomas - 15.04.2019, 10:08
Re: Servers are getting attacked - by MustangV10 - 15.04.2019, 10:08
Re: Servers are getting attacked - by Omega16 - 15.04.2019, 11:02
Re: Servers are getting attacked - by Kalcor - 15.04.2019, 14:21
Re: Servers are getting attacked - by Mobtiesgangsa - 16.04.2019, 02:28
Re: Servers are getting attacked - by Kalcor - 16.04.2019, 08:04
Re: Servers are getting attacked - by Mobtiesgangsa - 16.04.2019, 09:54
Re: Servers are getting attacked - by Kalcor - 16.04.2019, 10:02
Re: Servers are getting attacked - by Logic_ - 16.04.2019, 13:30
Re: Servers are getting attacked - by WestSide56 - 16.04.2019, 16:16
Re: Servers are getting attacked - by Romz - 16.04.2019, 19:13
Re: Servers are getting attacked - by Kalcor - 16.04.2019, 21:05
Re: Servers are getting attacked - by Locky_ - 17.04.2019, 09:43
Re: Servers are getting attacked - by Variable™ - 21.04.2019, 15:22
Re: Servers are getting attacked - by AdrianBZG - 26.09.2019, 17:19
Re: Servers are getting attacked - by Redirect Left - 06.11.2019, 13:58
Re: Servers are getting attacked - by Hazon - 06.11.2019, 14:39
Re: Servers are getting attacked - by nickdodd25 - 07.11.2019, 00:40
Re: Servers are getting attacked - by Smith. - 07.11.2019, 01:26

Forum Jump:


Users browsing this thread: 1 Guest(s)