Open yangm97 opened 7 years ago
It won't be able to censor commands unless it adds support for Glowstone. It uses a different logging interface than what Glowstone uses. The IP problem is strange, though. Also, you may want to censor your IP :).
My IP is dynamic, so it has probably changed itself a number of times already but thanks :)
I will give a shout to AuthMe devs regarding the logging interface then.
I was not able to reproduce the problem that authme uses the bungeecord ip.
Have you set proxy-support
to true?
Yes. As you can see, the forwarded IP can be seen on GlowStone logs.
I’m afraid this might be somehow related to the way networking works in docker swarm. I’ve seen some issues on their side too, but as soon as I changed the port mapping mode to “host”, both bungee and glowstone started seeing the player IP (see this comment).
This is my (stripped down) server. Removed most plugins and config so you can deploy only the relevant parts (lobby(glowstone), bungeecord and database).
Build with: docker-compose build
and deploy with docker stack deploy -c docker-compose.yml whateverstackname
. Bungeecord will be listening on the default minecraft port. I recommend testing with an external client, but I think you can replicate the issue from localhost too.
@yangm97 are you able to reproduce with the latest build?
In latest build,I can't even use Authme on glowstone. Thu Jul 01 11:58:29 UTC 2021:https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/ https://paste.ubuntu.com/p/dFYFzTNdQb/
@VaiTon good question. Has anyone tried to use the reproduction docker stack with the latest build?
In latest build,I can't even use Authme on glowstone. Thu Jul 01 11:58:29 UTC 2021:https://ci.codemc.io/job/AuthMe/job/AuthMeReloaded/ https://paste.ubuntu.com/p/dFYFzTNdQb/
That's related to this: #914
I haven't used the Docker container yet, but I can test this out soon.
Looking at the logs, both Bungeecord and Glowstone are receiving the correct player IP:
But looking at the AuthMe database, you can see that AuthMe has, somehow, received the Bungeecord IP from Glowstone and is using that instead of the player IP:
Another issue with AuthMe is that it’s not censoring commands with passwords (like /register and /login). AuthMe works perfectly fine otherwise.