Restrict RCON by IP
#8

The above solution works for the official rcon, which is in the zip with the server. However, this does not work for brute-force bot as SAMPBrute. The packets are not forged in the same way and the instance sought does not appear.

There is a match between the two types of packets: the character "x" at offset 53. This tells the server that it is a RCON command.

I would drop matching packets but I did not managed yet. I tried with the settings "--from 52" and "--to 52" to narrow the search at offset 53 (count from 0),
Код:
iptables -A INPUT -p udp --dport 7777 -i eth0 -m string --algo kmp --hex-string '|78|' --from 52 --to 52 -j DROP
but there is no match
Reply


Messages In This Thread
Restrict RCON by IP - by lesim2005 - 29.10.2013, 22:33
Re: Restrict RCON by IP - by iJumbo - 29.10.2013, 22:49
Re : Restrict RCON by IP - by Matnix - 29.10.2013, 22:56
Re: Restrict RCON by IP - by Vince - 29.10.2013, 23:15
Re: Re : Restrict RCON by IP - by Pottus - 29.10.2013, 23:18
Re : Restrict RCON by IP - by Matnix - 29.10.2013, 23:19
Re: Restrict RCON by IP - by lesim2005 - 31.10.2013, 19:34
Re: Restrict RCON by IP - by lesim2005 - 03.11.2013, 09:22
Re: Restrict RCON by IP - by Hamam - 03.11.2013, 09:29

Forum Jump:


Users browsing this thread: 1 Guest(s)