HELPPP DDOS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELPPP DDOS (
/showthread.php?tid=554919)
---// -
Mijata - 05.01.2015
---//
Re: HELPPP DDOS -
Jake187 - 05.01.2015
How is that a DDoS ? That's a ban evader likely switching his IP or you're not banning his IP on samp.ban and has nothing to do with DDoS.
Re: HELPPP DDOS -
Mijata - 05.01.2015
he comes with different ips every time
Re: HELPPP DDOS -
Ke_NiReM - 05.01.2015
lol, God car is cheat, not DDOS, want him not enter in ur srv, banip this him , Example : my Ip: 126.19.250.09 , ban my IP , and after do like this : 126.19.*.* .
Re: HELPPP DDOS -
Mijata - 05.01.2015
i will try
Respuesta: Re: HELPPP DDOS -
JuanStone - 05.01.2015
Quote:
Originally Posted by Ke_NiReM
lol, God.. 126.19.*.* .
|
The player with prohibition could connect using a proxy/vpn, i assure you that if you use the following code will have to prohibit only once the player.

.
pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#include <a_samp>
#include <lookup>
#include <foreach>
#include <YSI\y_timers>
task ban_proxy[50]()
{
foreach(Player, i)
{
if(IsPlayerConnected(i))
{
if(IsProxyUser(i))
{
new string[72], name[24];
GetPlayerName(i, name, 24);
format(string, sizeof(string), "** %s has been baneed the server. reason: proxy", name);
SendClientMessageToAll(-1, string);
BanEx(i, "Player use proxy to connect");
}
}
}
return true;
}
#endif
AW: HELPPP DDOS -
Mellnik - 05.01.2015
And you think you get faster help by typing in caps?
Re: HELPPP DDOS -
Jake187 - 05.01.2015
Quote:
Originally Posted by Mijata
he comes with different ips every time
|
Than ban his IP or set up a registration system and require people to go through a IP check before allowed to actually move or play on the server and if anybody moves or does anything have it auto-kick them?
Check their IP through a site like
http://whatismyipaddress.com/ip-lookup it has a proxy checker and gives you DNS info and location info and ISP info, search the ISP make sure it's not a hosting company and it's a actual home internet provider.
If someone is on your server with a VPN or proxy 99% of the time it's for bad reasons.
Re: HELPPP DDOS -
Lawbringer - 05.01.2015
Try setting up a quick filterscript that scans for common CIDR ranges for proxies and also scans for proxy users periodically.
To counter GodOfCars, you can set up a conditional cancellation of OnUnoccupiedVehicleUpdate if the vehicle's position has changed by more than say... 10-15 units while unmanned. This will cause the vehicle to sync only on the hacker's screen and on nobody else's - which means your server doesn't get messed up.