Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CII server to match wcUrl, tsUrl, teUrl with interface client connects on #14

Closed
matt-hammond-001 opened this issue Nov 8, 2017 · 0 comments

Comments

@matt-hammond-001
Copy link
Contributor

At the moment the tsUrl, wcUrl and teUrl reported by a CII Server are set by the application using pydvbcss and they are the same for all clients that connect.

However, if the CII Server is bound to 0.0.0.0 then clients could connect via multiple different interfaces, each with different IP addresses. For example, a client connecting to local loopback (eg. 127.0.0.1) vs a client connecting via the LAN (e.g. 192.168.1.26). To work, each ought to receive a value for wcUrl and tsUrl where the hostname/IP address matches the one they used when they connected.

Add an ability for CIIServer to transparently rewrite the wcUrl and tsUrl on a per client connection basis to match the IP address of the local interface on which the client connected.

This should be an optional extension. Existing behaviour should be preserved to maintain backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant