Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#8877 closed enhancement (fixed)
Add unique token check to protocol handshake
Reported by: | Raymond Wagner | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (6)
Changed 14 years ago by
Attachment: | mythproto_vercheck.patch added |
---|
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 14 years ago by
(In [26281]) Add unique token check to protocol handshake in addition to the MythTV protocol version. Clients will now be required to pass in a unique token specific to that protocol version when connecting to the backend.
NOTE: This does bump the protocol version, so update the core of MythTV as well as MythWeb and the python and perl bindings.
References #8877.
(In [26280]) dd unique token check to protocol handshake in addition to the MythTV protocol version. Clients will now be required to pass in a unique token specific to that protocol version when connecting to the backend.
NOTE: This does bump the protocol version, so update the core of MythTV as well as MythWeb and the python and perl bindings.
Closes #8877 using patch by Raymond Wagner.