lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
622 stars 66 forks source link

Netcode: allow multiple server addresses and disable host ip check when unsecure #102

Closed lucaspoffo closed 11 months ago

lucaspoffo commented 11 months ago

Alternative solution for #78 and #101

We now allow multiple server addresses in the server. We skip the host check when we are using unsecure connections.

This should allow more flexibility and easier testing while keeping the security. Wildcard is probably something we should not support since the host check would not be secure, but with multiple server addresses we achieve similar results.

We also moved the authentication configuration to the renetcode crate.