LemonOS icon indicating copy to clipboard operation
LemonOS copied to clipboard

TCP recieves invalid packets during longer transmissions

Open fido2020 opened this issue 3 years ago • 0 comments

During a longer TCP transmission (such as downloading a file with curl), after a while the packets will become invalid, with invalid checksum and sequence numbers as follows:

[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0x82ff, should be: 0x83ff) seq: 2589917952
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0x9bff, should be: 0x9cff) seq: 3799647232
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0x66ff, should be: 0x67ff) seq: 1256457472
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0xf4ff, should be: 0xf5ff) seq: 3800499712
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0xe5fe, should be: 0xe6fe) seq: 3404662272
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0xb6ff, should be: 0xb7ff) seq: 43584512
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0x98fe, should be: 0x99fe) seq: 184028672
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0xe7ff, should be: 0xe8ff) seq: 3664977152
[WARN]    [Network] [TCP] Dropping Packet (invalid checksum 0x8dfe, should be: 0x8efe) seq: 2462392832

To reproduce:

  • Make sure in Kernel/src/Debug.cpp, debugLevelNetwork is at least DebugLevelNormal
  • Run in terminal curl -O api.lemonos.org/Clearnight.jpg

The packets are completely valid when inspected in Wireshark.

fido2020 avatar Aug 06 '22 02:08 fido2020