Forcing privileged ports with ssh -R

Markus Friedl markus at
Wed Nov 13 06:20:29 EST 2002

On Tue, Nov 12, 2002 at 07:47:17PM +0100, Robert Dahlem wrote:
> So my idea is to implement it in a way that 
> client_request_forwarded_tcpip() in clientloop.c checks originator_port 
> for being in the priveleged range and - if yes - uses a privileged port 
> to connect.

yes, that would make sense, but only if privileged ports make sense.

however, client_request_forwarded_tcpip is only for -R style
and only for protocol version 2.

(but i think you should use real authentication instead of
privileged ports....)

More information about the openssh-unix-dev mailing list