Skip to content

Add prevent authentication proxy option#48

Open
TuxCoding wants to merge 2 commits intoLilyPad:masterfrom
TuxCoding:prevent-proxy
Open

Add prevent authentication proxy option#48
TuxCoding wants to merge 2 commits intoLilyPad:masterfrom
TuxCoding:prevent-proxy

Conversation

@TuxCoding
Copy link
Copy Markdown

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
Copy Markdown
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
@TuxCoding
Copy link
Copy Markdown
Author

@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?

@TuxCoding
Copy link
Copy Markdown
Author

Should I squash the commits?

@coelho
Copy link
Copy Markdown
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