Ban System: Dealing with Dynamic IPs
#1

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
Reply
#2

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://sampwiki.blast.hk/wiki/Gpci
Reply
#3

And why exactly did you think it was a good idea to share your players IP address?
Reply
#4

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 ?
Reply
#5

Quote:
Originally Posted by Juvanii
View Post
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.
Reply
#6

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 , any explaination would be appreciated
Reply
#7

Quote:
Originally Posted by Juvanii
View Post
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 , any explaination would be appreciated
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.
Reply
#8

Quote:
Originally Posted by Proxus
View Post
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.
Reply
#9

Quote:
Originally Posted by Juvanii
View Post
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.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)