[Bug 2601] New: StreamLocalBindUnlink not working
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Thu Jul 21 23:29:03 AEST 2016
https://bugzilla.mindrot.org/show_bug.cgi?id=2601
Bug ID: 2601
Summary: StreamLocalBindUnlink not working
Product: Portable OpenSSH
Version: 7.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: harald at redhat.com
StreamLocalBindUnlink is advertised as an option for the client
program.
Following the codepath, it ends up as an option for the server program.
Server process receives in serverloop.c:1409
"streamlocal-forward at openssh.com"
receives fwd.listen_path
calls channel_setup_remote_fwd_listener(&fwd, NULL, &options.fwd_opts)
channels.c:
channel_setup_local_fwd_listener ->
channel_setup_fwd_listener_streamlocal
channel_setup_fwd_listener_streamlocal(int type, struct Forward *fwd,
struct ForwardOptions *fwd_opts)
calls unix_listener(fwd->listen_path, SSH_LISTEN_BACKLOG,
fwd_opts->streamlocal_bind_unlink)
fwd_opts->streamlocal_bind_unlink is set in servconf.c and thus a
server option.
To fix this, not only the fwd.listen_path would have to be transmitted,
but also the bind_unlink flag, which would probably need a new type of
message, like "streamlocal-forward-unbind at openssh.com"
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list