mzztin / AntiVPN

Simple plugin to prevent VPN's from your server
Apache License 2.0
5 stars 1 forks source link

player with anonymizer can join the server #2

Open teracube opened 4 years ago

teracube commented 4 years ago

this player is op on the server his vpn is not detected player can join the game

ip = 151.80.10.10 http://check.getipintel.net/check.php?ip=151.80.10.10 result = -6 http://getipintel.net/free-proxy-vpn-tor-ip-lookup/#web Score : 1

2020-05-18 [17:29:02] [Server thread/INFO]: Ralfi77[/151.80.10.10:59989] logged in with entity id 10 at (world, 181.5025, 68.7659, 389.7672)
2020-05-18 [17:29:04] [Server thread/INFO]: [16:29:04] Ralfi77 joined the game.
mzztin commented 4 years ago

First of all people with op have the permission antivpn.bypass https://github.com/mzztin/AntiVPN/blob/master/src/Martin/AntiVPN/AntiVPN.php#L43 And when I check the API the IP-address is 151.80.10.10 says is invalid.

teracube commented 4 years ago

second test with non op player ip 20XX.XX.100.5 home ip player join the game ip 151.80.10.10 VPN ip player joint the game too

latest PMMP build latest AntiVPN build server is hosted

2020-05-18 [19:07:38] [Server thread/INFO]: Loading pocketmine.yml...
2020-05-18 [19:07:38] [Server thread/INFO]: Loading server properties...
2020-05-18 [19:07:38] [Server thread/INFO]: Selected English (eng) as the base language
2020-05-18 [19:07:38] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.14.60
2020-05-18 [19:07:38] [Server thread/INFO]: Starting remote control listener
2020-05-18 [19:07:38] [Server thread/INFO]: RCON running on 0.0.0.0:19140
2020-05-18 [19:07:38] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live.
2020-05-18 [19:07:38] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties.
2020-05-18 [19:07:38] [Server thread/INFO]: Opening server on 0.0.0.0:19140
2020-05-18 [19:07:38] [Server thread/INFO]: This server is running PocketMine-MP version 3.12.2
2020-05-18 [19:07:38] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
2020-05-18 [19:07:38] [Server thread/INFO]: Loading resource packs...
2020-05-18 [19:07:38] [Server thread/INFO]: Loading AntiVPN v1.0.0
2020-05-18 [19:07:39] [Server thread/INFO]: Enabling AntiVPN v1.0.0
2020-05-18 [19:07:39] [Server thread/NOTICE]: [AntiVPN] AntiVPN registered!
2020-05-18 [19:18:04] [Server thread/NOTICE]: Player data not found for "HariCover72", creating new profile
2020-05-18 [19:18:04] [Server thread/INFO]: HariCover72[/20XX.XX.100.5:57819] logged in with entity id 2 at (world, 256, 76, 256)
2020-05-18 [19:18:07] [Server thread/INFO]: [18:18:07] HariCover72 joined the game for the first time.
2020-05-18 [19:18:20] [Server thread/INFO]: HariCover72[/20XX.XX.100.5:57819] logged out due to timeout
2020-05-18 [19:18:37] [Server thread/INFO]: HariCover72[/151.80.10.10:52969] logged in with entity id 3 at (world, 256.3, 76, 256)
2020-05-18 [19:18:40] [Server thread/INFO]: [18:18:40] HariCover72 joined the game.