Kr1S-D / UltimateAntibotRecoded

Just another antibot plugin =)
34 stars 6 forks source link

Too many nicks from 172.18.0.1 #31

Closed pixkk closed 1 year ago

pixkk commented 1 year ago

Hello. I'm use UAB on bungeecord. Server working on pterodactyl.io, which use docker with local address 172.18.0.1.

When some users run mcstorm from personal computer, Bots enter the server as ordinary players (that is, under the internal address of the docker). As a result, the antibot blocks this address and no one else can enter the server.

FallenCrystal commented 1 year ago

why does it come in to an address like that? ask your hosting provider. uab uses bungeecord's interface to get addresses and doesnt modify anything in the network. if uab recognition is incorrect. it will also prove that bungeecord recognizes an incorrect address. if ur host uses haproxy to relay your connection. try to set 'proxy_protocol' to 'true' and try again.

pixkk commented 1 year ago

The bangicord server is located in a docker container which has a local ip address of 172.18.0.1. Does this count as a proxy protocol?

FallenCrystal commented 1 year ago

ask your host staff/administrator. and it stands to reason that docker should also relay addresses for remote connections.

pixkk commented 1 year ago

I don't have an administrator. I personally rent a server. And if I had an admin, he would send me here, since the problem occurs in the plugin.

I am writing again - NOT all users get to the 172.18.0.1 address.

FallenCrystal commented 1 year ago

do u mean "not all users access the server as the 172.18.0.1 address. but attacker's bot not"? and after the blacklist "172.18.0.1". all players will be blocked? if yes. u should open the issue in the repository of bungeecord or waterfall (depending on the fork you use). and not here.

and.. mcstorm is dead. they do not currently have a public src. so they could be other stressors. if ur players are able to access the server normally and have the correct address. it is not possible to block the private address and prevent the connection. considering i dont fully understand ur server side and machine situation. i dont comment too much on this. uab uses the bungeecord method and the proxy information is parsed before PreLoginEvent. if u really encounter such trouble. check ur bungeecord(/fork) pls.

edit: ah, i understand something. pterodactyl.io is not a host? a program that runs and manages instances in docker. but if thats really the case. i suggest you check your docker.