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

            Bug ID: 3285
           Summary: Wrong documentation on -D The bind_address
           Product: Portable OpenSSH
           Version: 8.5p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]

The man page says this:
The bind_address of “localhost” indicates that the listening port be
bound for local use only, while an empty address or ‘*’ indicates that
the port should be available from all interfaces.

However each of the following commands results in a different interface
binding
./ssh -D 1337 -vvvv -C -N  [email protected]
tcp   LISTEN    0      128                                            
127.0.0.1:1337                0.0.0.0:*     
users:(("ssh",pid=75605,fd=5)) uid:1000 ino:336020 sk:474 <->  


./ssh -D *:1337 -vvvv -C -N  [email protected]
tcp   LISTEN    0      128                                             
 0.0.0.0:1337                0.0.0.0:*     
users:(("ssh",pid=74357,fd=4)) uid:1000 ino:320497 sk:464 <-> 

So many the documentation should be different? or the code?
Many thanks

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to