[Bug 192063] New: security/openssh-portable minor startup script bug comparing ListenAddress values
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 23 14:14:53 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192063
Bug ID: 192063
Summary: security/openssh-portable minor startup script bug
comparing ListenAddress values
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: daved at tamu.edu
When running openssh-portable as a second sshd process on a different IP
address, you get an errant error with the use of the startup script.
[: ListenAddress 172.18.42.76: bad number
Performing sanity check on openssh configuration.
Starting openssh.
The error is from the use of an integer test on a string value.
--- files/openssh.in.orig 2014-07-23 09:11:27.157943448 -0500
+++ files/openssh.in 2014-07-23 09:11:36.462895405 -0500
@@ -144,7 +144,7 @@
base_sshd_port=22
fi
- if [ "${self_port}" -ne "${base_sshd_port}" ]; then
+ if [ "${self_port}" = "${base_sshd_port}" ]; then
return 1
fi
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list