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

Wendy Palm wendyp at cray.com
Wed Dec 18 03:24:02 EST 2002


i completely disagree with this.  i believe it IS handling the error exactly as
it should, by refusing to run.

i would rather find the error immediately and fix it than have the software try and
guess what i really meant.

wendy

bugzilla-daemon at mindrot.org wrote:

> 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.
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> 


-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154




More information about the openssh-unix-dev mailing list