Opened 3 years ago
Closed 3 years ago
Last modified 3 years ago
Add unique token check to protocol handshake
|Reported by:||wagnerrp||Owned by:||cpinkham|
|Component:||MythTV - General||Version:||Master Head|
This patch adds a randomly generated token to the MYTH_PROTO_VERSION call. The purpose of this is to provide a unique token for each protocol version to check against, to ensure the client actually speaks the proper protocol, and isn't simply responding with the version handed out by a previous connection. The current string is just a randomly generated 8-digit hex string.
This was motivated by a recent discussion in the mailing list where the 'libcmyth' library was touted as a well maintained interface for accessing MythTV, while it has not actually been updated since protocol version 44.
Change History (6)
Changed 3 years ago by wagnerrp
comment:1 Changed 3 years ago by robertm
- Status changed from new to assigned
comment:2 Changed 3 years ago by cpinkham
- Resolution set to fixed
- Status changed from assigned to closed