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

Add prevent authentication proxy option #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

games647
Copy link

A couple of months ago, Mojang introduced a new parameter IP for their session servers. It prevents player connections if someone uses an authentication proxy, but still wants to connect directly to the Spigot server. So it doesn't prevent proxy connections in general.

This doesn't prevent proxy connections in general, but it verifies that
the same IP that is used for connecting to the Minecraft server is also
used for authenticating against the Mojang servers.
@coelho
Copy link
Member

coelho commented Sep 2, 2017

@games647 Is this a huge issue? I honestly hate "Invalid session" errors in my client and I feel like this'll just cause more of them. Maybe make it optional?

@coelho coelho closed this Sep 2, 2017
@coelho coelho reopened this Sep 2, 2017
@games647
Copy link
Author

games647 commented Sep 2, 2017

@games647 Is this a huge issue?

Not really, but some users maybe want this in order to protect from McLeaks users.

I honestly hate "Invalid session" errors in my client and I feel like this'll just cause more of them.

I don't know the effect on this, because Mojang will only verify additionally if the IP that is connecting to the server is the same as the IP connecting to Mojang.

Maybe make it optional?

Yes, then the admin could decide about the above things. Should I add a config options with default false?

@games647
Copy link
Author

games647 commented Sep 2, 2017

Should I squash the commits?

@coelho
Copy link
Member

coelho commented Sep 2, 2017

@games647 Looks good will merge later

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.

2 participants