I have extremely simple/naive implementation in python here you can compare against:
http://nemu.pointysoftware.net/cacti/scripts/rcon.py

I would recommend using one of the working implementations mentioned and compare the wireshark output to yours

- Neph

On 03/13/2011 11:21 AM, Brett Powell wrote:
The protocol listed on
http://developer.valvesoftware.com/wiki/Source_RCON_Protocol seems to be
a little bit outdated.

I am trying to replicate the protocol in a C# NET application (will run
along side srcds.exe to allow me to reroute my server's RCON for security).

When I reply to an Authorization request, I write the packet as

Packet Size (4 bytes - Doesn't Including itself)
Request ID (4 bytes)
Auth Response : Value is 2 (4 bytes)

then the two NULL terminated strings. I have tried both excluding and
including the Packet Size inside of the Packet Size (so I have tried
with the first value being 10 and 14) and neither works.

So is the RCON Protocol on the Wiki outdated or am I doing something wrong?


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to