[Bug 1482] New: SOCKS4A support

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jul 5 08:16:19 EST 2008


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

           Summary: SOCKS4A support
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 5.0p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: dwmw2 at infradead.org
            Blocks: 1481


Created an attachment (id=1543)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1543)
patch

This provides SOCKS4A support, which allows a SOCKS4 client to provide
a
host name instead of an IP address. It indicates that it's doing so by
using a known-invalid IP address 0.0.0.x (where x != 0), and then
appending the NUL-terminated hostname to the connection request.

Although we check for the terminating NUL manually and the
'fatal(len %d > have %d)' should never happen, the condition for it (in
the existing processing of the username) seems to have been off-by-one;
not accounting for the terminating NUL. I've fixed that while I'm at
it.

-- 
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