Ticket #8877 (closed enhancement: fixed)
Opened 3 years ago
Last modified 3 years ago
Add unique token check to protocol handshake
| Reported by: | wagnerrp | 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
Change History
comment:2 Changed 3 years ago by cpinkham
- Status changed from assigned to closed
- Resolution set to fixed
(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.
comment:3 Changed 3 years ago by cpinkham
(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.
