[Bug 1804] New: ssh option -R 127.0.0.2:10443:<dest ip>:443 does not work

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Aug 7 18:27:05 EST 2010


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

           Summary: ssh option  -R 127.0.0.2:10443:<dest ip>:443 does not
                    work
           Product: Portable OpenSSH
           Version: 5.5p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: Walter.Pfannenmueller at siemens.com


Starting ssh with the option

-R 127.0.0.2:10443:<dest ip>:443 

results in opening listeners on the <dest ip> with listener ip
127.0.0.1, ::1  and not 127.0.0.2

Adding the following code to
channels.c after line 2660

        } else if (host) {
            addr = listen_addr;

results in having the sshd start the 127.0.0.2 listener.
Maybe there has to be some check against the
GatewayPorts option as well.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list