Closed daniel-lerch closed 4 years ago
I don't think that VSL is not affected, as the only piece of code to ever send packet 0x0A
is in the AddContact activity, which was not open at the time of the disconnect, yet the server read a 0x0A
packet.
It seems to appear when two clients change channel actions at the same time
This should have been fixed with the introduction of TLS and rewrite of the network stack
Describe the bug Sometimes some clients get kicked by the server because of sending random packet contents that violate protocol rules.
Expected behavior The client should not send packets that violate protocol rules.
Server logs
Additional context This bug is most likely a race condition and could be connected with channel actions as it only appears in this context with no other packets involved. One very interesting fact is, that VSL is no affected because the packets pass the integrity check. There might be multiple threads writing on the same VSL
PacketBuffer
.