Hi there, I'm developing ssh client in pure java and, recently, I'm trying to improve the port forwarding support on that stuff. However, it seems to me that sshd of OpenSSH has not supported 'cancel-tcpip-forward' request. http://www.ietf.org/internet-drafts/draft-ietf-secsh-connect-17.txt says that | A port forwarding can be cancelled with the following message. | Note that channel open requests may be received until a reply to | this message is received. | | byte SSH_MSG_GLOBAL_REQUEST | string "cancel-tcpip-forward" | boolean want reply | string address_to_bind (e.g. "127.0.0.1") | uint32 port number to bind Is there a plan to support that request? Without that, ssh clients can not cancel '-R' port forwardings dynamically. Thanks, -- ymnk
>Is there a plan to support that request? Without that, >ssh clients can not cancel '-R' port forwardings dynamically. > >Atsuhiko-- Back in the SSHv1 days, common ssh daemons couldn't declare remote port forwards after a shell was opened. I never checked what happened with SSHv2; it sounds like we allow on-demand opens but not closes...guys, what do you think? It's in the spec, and it's pretty clearly a useful feature... --Dan
our client does not support it, so our server does not, but you can send patches. On Wed, Aug 06, 2003 at 03:43:55PM +0900, Atsuhiko Yamanaka wrote:> Hi there, > > I'm developing ssh client in pure java and, recently, I'm trying > to improve the port forwarding support on that stuff. > > However, it seems to me that sshd of OpenSSH has not supported > 'cancel-tcpip-forward' request. > > http://www.ietf.org/internet-drafts/draft-ietf-secsh-connect-17.txt > says that > > | A port forwarding can be cancelled with the following message. > | Note that channel open requests may be received until a reply to > | this message is received. > | > | byte SSH_MSG_GLOBAL_REQUEST > | string "cancel-tcpip-forward" > | boolean want reply > | string address_to_bind (e.g. "127.0.0.1") > | uint32 port number to bind > > Is there a plan to support that request? Without that, > ssh clients can not cancel '-R' port forwardings dynamically. > > > Thanks, > -- > ymnk > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev