bugzilla-daemon at bugzilla.mindrot.org
2019-Jul-01 11:09 UTC
[Bug 3027] New: The "Bad local forwarding specification" error only caused by socket filename longer than 103 characters
https://bugzilla.mindrot.org/show_bug.cgi?id=3027
Bug ID: 3027
Summary: The "Bad local forwarding specification" error
only
caused by socket filename longer than 103 characters
Product: Portable OpenSSH
Version: 7.9p1
Hardware: 68k
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: vpithart at lhota.hkfree.org
When using `ssh -L local_socket:remote_socket` according to manual,
when the `remote_socket` filename length is 104+ characters, the "Bad
local forwarding specification" error jumps out and SSH client does not
work.
Example 1 (fail):
$ ssh -nNT -L
/tmp/live:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/local/nagios/var/rw/live
root at example.com
Bad local forwarding specification
'/tmp/live:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/local/nagios/var/rw/live'
Example 2 (works):
$ ssh -nNT -L
/tmp/l:/var/lib/docker/overlay2/1c59b2ed03064cf516958d01354b81fadfa7ab625fac6c13bffe8bc52a29f9cd/merged/usr/loc
root at example.com
(works as expected)
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jul-01 11:35 UTC
[Bug 3027] The "Bad local forwarding specification" error only caused by socket filename longer than 103 characters
https://bugzilla.mindrot.org/show_bug.cgi?id=3027
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
That's a limitation of AF_UNIX sockets unfortunately - that's how much
room is available in the kernel struct sockaddr_storage API and AFAIK
it's impossible for ssh to increase it.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jul-12 04:21 UTC
[Bug 3027] The "Bad local forwarding specification" error only caused by socket filename longer than 103 characters
https://bugzilla.mindrot.org/show_bug.cgi?id=3027
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:58 UTC
[Bug 3027] The "Bad local forwarding specification" error only caused by socket filename longer than 103 characters
https://bugzilla.mindrot.org/show_bug.cgi?id=3027
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.