https://bugs.llvm.org/show_bug.cgi?id=45669
Bug ID: 45669
Summary: I would like to control the remote communication port
Product: lldb
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: maxime.roussinbelan...@gmail.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org
Hello!
I would like to debug my target (which is at home), from my remote work
computer while being at home through a VPN.
>From home I connect to my workstation through the VPN and create an ssh tunnel
>
(ssh config: `RemoteForward localhost:1 TARGET_LAN_IP:1`).
But when I try to attach to the running application on the target it
dynamically allocates a port and tries to reach the server to that port.
Unfortunately, this is not possible because of the ssh tunnel. I can however do
: `platform connect connect://localhost:1`, but I cannot go into debugging.
SSH tunnelling doesn't support, as far as I know, ranges of RemoteForward
ports.
Is there a way to control the port that is dynamically allocated? I found a
"similar" issue of 4 years ago: (I'm not inside a container, but the idea is
the same)
http://lists.llvm.org/pipermail/lldb-dev/2016-June/010616.html
I'm wondering if the situation is still the same and the port cannot be set
manually?
--
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev