You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Packet (de)serialization errors (particularly trailing data errors) are a sign of version mismatches and only result in log messages on the proxy. This feature should have 3 modes of operation:
Disabled: Keep the current behavior of logging the error and skipping the packet.
Warn: Log the error and send a chat message to the client. Must not cause spam on subsequent errors. To be discussed: Should the technical details be included? Likely yes.
Kick: Log the error and kick the client with an error message.
The proxy-side log messages should also be improved to include hints at a potential version mismatch.
The mode switch can either be a string or a pair of booleans (the latter is more robust to parse).
The message could be similar to "Proxy (de)serialization error in your connection. Potential version mismatch. Please ensure that your client is on Minetest . [Technical details: ]" for client-side errors and "Proxy (de)serialization error in upstream connection. Please contact the server administrator [and give them the following technical information: mt error]" for server-side errors. This should be favored over a simple "unexpected data" or "serialization version mismatch" error.
This feature could help with detecting incompatible development builds of Minetest which currently can't be detected properly due to a bad upstream versioning policy.
The text was updated successfully, but these errors were encountered:
This is mostly fixed by 1481566. Its implementation is not configurable and kicks clients whose maximum protocol version exceeds the proxy protocol version. Minetest would normally downgrade such connections, but the updated packets would still be sent by the client in some cases, thus still breaking compatibility with the proxy. The log message also describes a version mismatch though it doesn't explain which version ranges are considered valid. A log FAQ may be a better solution though since other messages cause confusion too (such as (de)serialization errors).
Packet (de)serialization errors (particularly trailing data errors) are a sign of version mismatches and only result in log messages on the proxy. This feature should have 3 modes of operation:
The proxy-side log messages should also be improved to include hints at a potential version mismatch.
The mode switch can either be a string or a pair of booleans (the latter is more robust to parse).
The message could be similar to "Proxy (de)serialization error in your connection. Potential version mismatch. Please ensure that your client is on Minetest . [Technical details: ]" for client-side errors and "Proxy (de)serialization error in upstream connection. Please contact the server administrator [and give them the following technical information: mt error]" for server-side errors. This should be favored over a simple "unexpected data" or "serialization version mismatch" error.
This feature could help with detecting incompatible development builds of Minetest which currently can't be detected properly due to a bad upstream versioning policy.
The text was updated successfully, but these errors were encountered: