[Oxyd] [0.16.10] RCON responds only to first command in packet

This subforum contains all the issues which we already resolved.
Post Reply
Darkhogg
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Aug 14, 2015 1:47 pm
Contact:

[Oxyd] [0.16.10] RCON responds only to first command in packet

Post by Darkhogg »

I was seeing apparently random unresponded messages when sending RCON commands to the server, and after inspecting the connection with Wireshark it seems clear that if multiple messages are sent in a single TCP packet, only the first is ever responded.
This is unexpected, as TCP is a stream protocol and the concept of a packet is just an implementation detail that should never affect the protocols written on top (such as RCON), and more importantly clients don't have direct control over which things are put in which packets (I just send multiple commands separately, and the kernel decides to smush them together in a packet or not).

I've also tried to force a single RCON message to split between multiple TCP packets and Factorio complains that the input is corrupted, so this leads me to believe that Factorio is reading data from the TCP socket in such a way that it expects a single message to fit in a single packet, always, as if this was RCON over UDP.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] [0.16.10] RCON responds only to first command in packet

Post by Oxyd »

Thanks, will be fixed in 0.16.16.

Post Reply

Return to “Resolved Problems and Bugs”