CVSROOT: /cvs Module name: src Changes by: mar...@cvs.openbsd.org 2017/09/21 13:16:53
Modified files: usr.bin/ssh : channels.c channels.h readconf.c ssh.1 ssh.c ssh_config.5 Log message: Add 'reverse' dynamic forwarding which combines dynamic forwarding (-D) with remote forwarding (-R) where the remote-forwarded port expects SOCKS-requests. The SSH server code is unchanged and the parsing happens at the SSH clients side. Thus the full SOCKS-request is sent over the forwarded channel and the client parses c->output. Parsing happens in channel_before_prepare_select(), _before_ the select bitmask is computed in the pre[] handlers, but after network input processing in the post[] handlers. help and ok djm@