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 Tue, 30 Oct 2007, maf@appgate.com wrote: > We run ssh from a program and needed to add ...


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

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

On Tue, 30 Oct 2007, maf@appgate.com wrote:

> We run ssh from a program and needed to add port-forwards dynamically.
> The ~C method turns out to be very cumbersome to use since it reads from
> /dev/tty. But then I came to think of the master/slave functionality
> (which we already used) which seemed a perfect place for this
> functionality. Unfortunately it turned out not to be possible to set up
> new port forwards in a slave.
>
> So I patched openssh to make it possible to add port forwards via a
> slave process. This is done by creating a new command which can be sent
> over the control connection (SSHMUX_COMMAND_FORWARD). The patch against
> openssh current can be downloaded (13K) from:
>
> http://www.appgate.com/downloads/maf...-current.patch
>
> I would be happy if other people found it useful and if it could make it
> into the official distribution.


Hi,

Thanks for this, it seems to implement the approach that I'd planned but
haven't had time to do myself. I'll try to get it in for the 4.8 release.

To make sure it doesn't get lost, could you please attach this patch to
the bug at:

https://bugzilla.mindrot.org/show_bug.cgi?id=993

Before you submit it, it would be best if you could review it in light of
the style guide[1] - I noticed that it uses spaces instead of tabs and
doesn't do indenting quite the same way as the existing code.

Thanks,
Damien

[1] http://www.openbsd.org/cgi-bin/man.c...tyle&sektion=9

_______________________________________________
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
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

vB 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 07:05 PM.


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