Summary: | KRDC can't resolve hostname over socks proxy | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Gabriel <gabriel.schanuel> |
Component: | RDP | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ctrlaltca |
Priority: | NOR | ||
Version First Reported In: | 25.04.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/krdc/-/commit/8e5167e04721863c336f59d0347af49ba9fec893 | Version Fixed In: | |
Sentry Crash Report: |
Description
Gabriel
2025-05-15 17:31:42 UTC
The proxy functionality in RDP connections is something provided directly by the FreeRDP library. Looking at their code it seems they transparently pass the hostname to the remote proxy (https://github.com/FreeRDP/FreeRDP/blob/master/libfreerdp/core/transport.c#L592), so probably something else is going on here. Can i ask you to provide a log running WLOG_LEVEL=DEBUG krdc Maybe it will contain some more information about what's going on A possibly relevant merge request was started @ https://invent.kde.org/network/krdc/-/merge_requests/184 Git commit 1f5619f7c87820a7d372817900ba190bbe00d57d by Fabio Bas. Committed on 16/05/2025 at 13:39. Pushed by ctrlaltca into branch 'master'. Fix parsing of user-supplied host:port preferences for proxy and gateway M +2 -2 rdp/rdpsession.cpp https://invent.kde.org/network/krdc/-/commit/1f5619f7c87820a7d372817900ba190bbe00d57d I've been able to test it locally and reproduce the problem, but it ended up being caused by another issue. In the preferences dialog we suggest to use the "host:port" format for the proxy, while in reality we needed a full "schema://host:port" string. This will be fixed in the next version of krdc. In the meanwhile just edit the "proxy hostname" setting adding "socks://" before the hostname and it should work fine. Git commit 8e5167e04721863c336f59d0347af49ba9fec893 by Fabio Bas. Committed on 16/05/2025 at 13:45. Pushed by ctrlaltca into branch 'release/25.04'. Fix parsing of user-supplied host:port preferences for proxy and gateway (cherry picked from commit 1f5619f7c87820a7d372817900ba190bbe00d57d) Co-authored-by: Fabio Bas <ctrlaltca@gmail.com> M +2 -2 rdp/rdpsession.cpp https://invent.kde.org/network/krdc/-/commit/8e5167e04721863c336f59d0347af49ba9fec893 |