SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Server Support (https://forum.sa-mp.com/forumdisplay.php?f=19)
-   -   Ban System: Dealing with Dynamic IPs (https://forum.sa-mp.com/showthread.php?t=676097)

Juvanii 29/05/2020 06:46 PM

Ban System: Dealing with Dynamic IPs
 
Hello SA-MP

How do you deal with dynamic IPs that is provided by player's ISP ?

For example a player yesterday's IP address is 85.54.6.70 and today is 74.92.44.8

How to deal in ban system in this situation ?

Thank you :)

SharpenBlade 29/05/2020 07:12 PM

Re: Ban System: Dealing with Dynamic IPs
 
You could ban player serial(gpci). There could be some glitches, like two players with the same gpci, but it could work for you.
https://wiki.sa-mp.com/wiki/Gpci

cuber 29/05/2020 11:46 PM

Re: Ban System: Dealing with Dynamic IPs
 
And why exactly did you think it was a good idea to share your players IP address?

Juvanii 31/07/2020 08:50 AM

Re: Ban System: Dealing with Dynamic IPs
 
Bump, i need more replies on this and how to use this GPCI thing !

What if both players living in the same hood, does GPCI returns the same for them ?

rt-2 31/07/2020 05:21 PM

Re: Ban System: Dealing with Dynamic IPs
 
Quote:

Originally Posted by Juvanii (Post 4157128)
Bump, i need more replies on this and how to use this GPCI thing !

What if both players living in the same hood, does GPCI returns the same for them ?

The GPCI is a result of multiple factor, on the wiki it says "hash derived from information about your San Andreas installation path", but I think you also would need to have the same 'computer name' and maybe other stuff for it to be the same. Like explained on the wiki, you should not ban only from that usually, unless your dealing with a special case, otherwise some random people might be banned for no reason if you rely on it too much.

Juvanii 03/08/2020 01:44 PM

Re: Ban System: Dealing with Dynamic IPs
 
Quote:

Fetch the CI of a user, this is linked to their SAMP/GTA on their computer.
What CI stands for ? and how couldn't GPCI be unique ? what path does it exactly hash ?
Is it the path where GTA installed ? or the path where SA-MP folder lives ?

if it deals with where sa-mp folder lives, this would be unique unless two players have the same username in C:/Users

I'm a lil bit confused :confused:, any explaination would be appreciated :D

Proxus 03/08/2020 02:24 PM

Re: Ban System: Dealing with Dynamic IPs
 
Quote:

Originally Posted by Juvanii (Post 4157506)
What CI stands for ? and how couldn't GPCI be unique ? what path does it exactly hash ?
Is it the path where GTA installed ? or the path where SA-MP folder lives ?

if it deals with where sa-mp folder lives, this would be unique unless two players have the same username in C:/Users

I'm a lil bit confused :confused:, any explaination would be appreciated :D

GPCI won't always be unique because people may have the same copy of GTA (if they've shared it) or if they have a cracked version of GTA.

Juvanii 03/08/2020 02:35 PM

Re: Ban System: Dealing with Dynamic IPs
 
Quote:

Originally Posted by Proxus (Post 4157509)
GPCI won't always be unique because people may have the same copy of GTA (if they've shared it) or if they have a cracked version of GTA.

So it doesn't only hash the user path ?
C:\Users\username\Documents\GTA San Andreas User Files\SAMP

How can i deal with bans then ? range bans won't work, sometimes the ISP provides a completely different start of IP than the previous one.

Proxus 03/08/2020 03:11 PM

Re: Ban System: Dealing with Dynamic IPs
 
Quote:

Originally Posted by Juvanii (Post 4157512)
So it doesn't only hash the user path ?
C:\Users\username\Documents\GTA San Andreas User Files\SAMP

How can i deal with bans then ? range bans won't work, sometimes the ISP provides a completely different start of IP than the previous one.

Ban evading will always be an issue because of IP changes (incl. VPNs). The way we manage it is through human intervention. Admins can view the GPCI of the player and see if it was likely they evaded or not. If you have a way of searching for bans as well, you can log their IP at the time and if an admin banned them for ban evading before, they may being doing it again because even though the IP has changed, it may not have changed at the time of previous bans.

rt-2 03/08/2020 03:51 PM

Re: Ban System: Dealing with Dynamic IPs
 
If this guy switches IP 5 times a day for a month, now you have 150 IPs banned for 1 guy, someone else that never cheated could be ban if he receives one of those IPs...

I really suggest you flush those regularly.
Personally I only kick.


All times are GMT. The time now is 07:47 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.