Bug 8388 - Web Access doesn't work with reverse proxy changing port
Summary: Web Access doesn't work with reverse proxy changing port
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 01:10 CEST by Aaron Sowry
Modified: 2024-07-30 13:15 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Aaron Sowry cendio 2024-07-18 01:10:18 CEST
When connecting to Thinlinc, users will be redirected to https://</webaccess/login_page>:</webaccess/listen_port>. However, sometimes the correct port is not the one which webaccess is listening on; for example, if there is a web proxy between the client and the ThinLinc server.

To support these types of setups, it should be possible to specify a different port for the login page.
Comment 2 Pierre Ossman cendio 2024-07-25 16:00:35 CEST
If each agent needs its own port, then this sounds like a possible duplicate of bug 3003.

If it's just to maintain a symmetry across all machines in the cluster, then we could look at how the native client behaves. It assumes that the same port is used for all machines. So if port 1234 is used for the master, then port 1234 is also used for the agents.

Implementing this for Web Access isn't straightforward, though. The port handling is done in the server, which is not aware of which port (or host) the browser used.
Comment 3 Pierre Ossman cendio 2024-07-25 16:03:02 CEST
As a workaround, perhaps the proxys have some way of remapping the redirection response before passing it back to the browser?

Note You need to log in before you can comment on or make changes to this bug.