Skip to content

terminate clients connecting from the wrong MC server #42

@Gjum

Description

@Gjum

MC server should already be sent in the Handshake, double check it's correct and never accidentally the previously joined server.

The server should continue to accept all MC servers by default (so it's up to the client to only fill in the Sync Server for the correct MC server(s)).
In addition, an environment variable should be able to be set, to reject all MC server addresses that don't match it.

Optionally, the comparison could be done by resolved IP address instead of comparing the hostname (there could be different hostnames for the same IP/MC server).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions