Is it possible to detect same player without depends on IP?

User avatar
Posts: 295
Joined: Wed Nov 16, 2016 22:55
Location: Shah Alam, Selangor, Malaysia
GitHub: MuhdNurHidayat
IRC: muhdnurhidayat
In-game: muhdnurhidayat

Is it possible to detect same player without depends on IP?

by muhdnurhidayat » Sat Apr 29, 2017 05:15

I'm asking this because some servers depends on IP address checking to determine if it is the same player. Some even restricts to some numbers of players for certain IP address. Even the banning also applied to IP address (though I know there's some username-based banning but the IP-banning is sometimes used together with it).

I want to know if there's a way to detect a player (or at least detect the device that player plays on) so no one should uses multiple user account on certain server. On static IP, this could solve the problems on other players gets banned or kicked when another player on same IP is banned or kicked, though this issue would be hard for those who actually shares the same device among different person to play in different account. On dynamic IP, this would also solve issue when a player could just join after being banned by restarting modem/router/mobile data.

Long version
This is because it is common for certain places to share same internet connection and thus having same external IP address for everyone using the connection (though they will have different internal IP address), especially here where it's not uncommon to see 10 people or more uses the same wireless (HSDPA/LTE) connection because of unavailability of wired connection or unability to get them legally and the godly extreme expensive wireless connection price. Sometimes there will be a device which could further share the existing wireless connection to bridge for 50 people uses same internet connection.

I mean this is not uncommon here
Code: Select all
                     |----more users who connected directly to hotspot
                     |----user (connected directly to hotspot)
                     |----user (connected directly to hotspot)
----------------     |                                       |----user
| Main hotspot |     |                                       |----user
| receiving    | ----|-----------Wireless reshare device ----|----user
| HSDPA/LTE]   |     |                                       |----user
----------------     |                                       |----user
                     |-----------Wireless reshare device ----|----user
                     |                                       |----user
                     |----more similar Wireless reshare device
Wireless reshare device is the device which connects to one WiFi and use it to broadcast another WiFi to act as bridge to connect more users

Even though not all of them are playing Minetest, there is chance that one day many people will be playing Minetest on this same connection.

Another issue is some country uses dynamic IP by default and static IP is only available for corporate or higher-paying customers. This means when the player is banned by IP, just restart the modem or mobile data and you could continue playing with a new IP address.

In my country, we even get different IP during the "quota shifting" at 1AM & 7AM (Celcom) or some other times (other ISPs) where we would almost usually gets disconnected from servers when it shifts from/to different quota systems (the quota used on these times are different from main quota and is usually cheaper with higher quota value, which is why most students here stayed up late night (1-7AM)).
[ Full signature ] - UTC+8 here, contributing to Minetest Wiki. I'm muhdnurhidayat in IFS (mod), HOMETOWN & others. / Twitter / MT Offtopic ✂️- - - - - -

You just read my profile, right?
Because these few texts of signature only appear on profile page as the texts are cut in signature. xD

User avatar
Posts: 5835
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

User avatar
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: Is it possible to detect same player without depends on

by ExeterDad » Sat Apr 29, 2017 13:52

I wish the engine would grab the mac address of players and associate it with a login. This info could be used in the firewall or possibly fail2ban. So if you discover a "bad egg" you can block the device no matter what player account or proxy they use. Of course macs can be spoofed. But that would still cull out a bunch of the trash :)

Posts: 816
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: Is it possible to detect same player without depends on

by Byakuren » Tue May 02, 2017 02:05

I am pretty sure that MAC addresses are not sent to the server, unless the server is on the same local network. If you make the client send the MAC address it could be defeated by just modifying the client, or downloading someone else's modified client.
Every time a mod API is left undocumented, a koala dies.

User avatar
Posts: 2177
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Is it possible to detect same player without depends on

by Linuxdirk » Tue May 02, 2017 06:07

ExeterDad wrote:I wish the engine would grab the mac address of players and associate it with a login.

I'm glad it doesn't.

The MAC address is neither unique (even if can be seen as unique and in reality it doesn't really matter) nor an unchangeable fixed value.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests