[Bug 457] New: SSHD doesn't start when using invalid port numbers

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Dec 17 11:15:01 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=457

           Summary: SSHD doesn't start when using invalid port numbers
           Product: Portable OpenSSH
           Version: 3.5p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: granularr at 7ucid.com


When using invalid port numbers, SSHD doesn't want to start up. Imagine you made
a typo and sshd_config lists

port=601337

# /usr/sbin/sshd start 
/etc/ssh/sshd_config line 9: Badly formatted port number.  

If I start a piece of software, the software must assume that I want to use it.
If SSHD encounters an invalid value, it should handle the error (maybe by
binding to port 22 and logging the error). It should not just exit - software
should be error-tolerant and this isn't.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list