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

Incorrect MTU size sent in open connection reply 1 #2

Closed
dktapps opened this issue Jan 29, 2017 · 0 comments
Closed

Incorrect MTU size sent in open connection reply 1 #2

dktapps opened this issue Jan 29, 2017 · 0 comments

Comments

@dktapps
Copy link
Member

dktapps commented Jan 29, 2017

RakNet includes the size of the IP+UDP headers, RakLib does not. Since RakNet maxes out at 1492 bytes, I tested this with 2 vanilla clients, and then 1 client + PocketMine-MP server, on the same connection. The buffer size of OPEN_CONNECTION_REQUEST_1 was the same both times.

  • RakNet MTU size in OPEN_CONNECTION_REPLY_1: 1492 bytes
  • RakLib MTU size in OPEN_CONNECTION_REPLY_1: 1464 bytes

This information was obtained using Wireshark.

Unsure what issues this may cause.

dktapps added a commit that referenced this issue Feb 7, 2017
dktapps added a commit that referenced this issue Feb 9, 2017
dktapps added a commit that referenced this issue Aug 16, 2017
@HowToPeaZYT HowToPeaZYT mentioned this issue Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant