Mailing List Archive

[Bug 617] /etc/services disregarded
http://bugzilla.mindrot.org/show_bug.cgi?id=617

Summary: /etc/services disregarded
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: tiaan@netsys.co.za


I use RedHat 7.2 and the SSL version which ships with this.
SSHD seams to have an annoying feature/bug which does not honour
/etc/services. There is a program which periodically starts up on the server
and when running, listens on a port registered in /etc/servives. However,
when one ssh to the server, I have now witnessed sshd 'stealing' this port
and the application fails to start up as the port is already bound. Is there
a way of telling sshd to honour the reserved ports (man page seems not to
give any such clues). If not, I would say it would be a welcomed enhancement
if it could do this.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 617] /etc/services disregarded [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=617





------- Additional Comments From dtucker@zip.com.au 2003-07-14 20:33 -------
First, I assume you mean "the SSH version which ships". You're referring to
port forwarding?

If I'm following here you mean that sshd permits remote forwarding of otherwise
unbound ports below port 1024? That should only be possible if you're logging
is as root. The ssh man page says "Privileged ports can be forwarded only when
logging in as root on the remote machine."

Or do you mean something else?



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