https://bugzilla.mindrot.org/show_bug.cgi?id=1804

--- Comment #4 from walter.pfannenmuel...@siemens.com  ---
I'm not sure.
Just reading the ssh man pages for -R


     -R [bind_address:]port:host:hostport
....
             Specifying a remote bind_address will only succeed if the
             server's GatewayPorts option is enabled (see
sshd_config(5)).

tells me, my specified bind_address will only succeed, if
GatewayPorts is enabled.

But this means all Port forwarding will result in global listeners
on the target machine. This is not, what I want.

Therefore a suggestion for a solution might be:

GatewayPorts no:

Allow and use 
bind_address only if it is a localhost (e.g. 127.*) address.

GatewayPorts yes:
just use bind_address.

But you probably should change the man pages as well, then.

Please tell me, if I'm totally wrong.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to