Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send server address in AsServerRequest #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cnr
Copy link

@cnr cnr commented Jul 24, 2018

This change is required for servers to correctly register themselves with Lilypad Connect when Lilypad is used in a docker swarm configuration, with an overlay network.

Swarm overlay networks don't support IP masquerading, so connections to Lilypad Connect look like they're coming from the overlay gateways instead of the individual server addresses within the network -- as such, we need to explicitly send our server's address when authenticating, instead of relying on the incoming connection's IP address

Explicitly sending the server address will only change the behavior of servers where server-ip is set in server.properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant