Re: Patch: open port forwards from slave

This is a discussion on Re: Patch: open port forwards from slave within the OpenSSH Development forums, part of the Networking and Network Related category; On Oct 30, 5:57 am, Martin Forssen <maf@appgate.com> wrote: > So I patched openssh to ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-07-2007
Hamish Allan
 
Posts: n/a
Default Re: Patch: open port forwards from slave

On Oct 30, 5:57 am, Martin Forssen <maf@appgate.com> wrote:

> So I patched openssh to make it possible to add port forwards via a slave process.


Hi Martin,

Thank you very much -- I've recently been meaning to write something
like this myself (but then my firstborn arrived!)

I was also wondering about making it "fully transparent", i.e., when
the slave exits it would send a message to the master to remove the
forwarding -- that is to say, the behaviour a user sees is the same
whether or not they're using a ControlMaster. For this, "ssh -NL ..."
would not exit straight away as per your patch, but block waiting for
interrupts (although it wouldn't actually be fully transparent,
because if the slave were SIGKILLed the forwarding would remain. Also
it would maybe be kind of weird if a slave "ssh -fNL" left a blocking
process).

I would also find it useful to have a behaviour like your patch in
which the slave adding the forwarding returns immediately, but I
wonder if this might best be served using "-O" control messages as per
Torsten's original patch, with commands for removing and listing
forwardings too.

Finally, I was thinking it might be nice if commands passed using "-O"
and commands typed at the ~C "ssh>" prompt were the same commands.

Do you have any opinion on interface best practice in this respect?
Damien, did you have any thoughts on removing or listing forwardings
in your planned approach?

Best wishes,
Hamish
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0