[PATCH] SO_KEEPALIVE for port forwards

Manoj Kasichainula manoj at collab.net
Mon Aug 27 17:41:22 EST 2001


On Fri, Aug 24, 2001 at 09:50:11AM +0200, Markus Friedl wrote:
> On Thu, Aug 23, 2001 at 05:48:08PM -0700, Manoj Kasichainula wrote:
> > --- openssh-2.9p2/channels.c.keepalivetunnel	Wed Jun 13 12:18:05 2001
> > +++ openssh-2.9p2/channels.c	Thu Aug 23 15:40:43 2001
> > @@ -61,6 +61,9 @@
> >  #include "canohost.h"
> >  #include "key.h"
> >  #include "authfd.h"
> > +#include "readconf.h"
> > +
> > +extern Options options;
> 
> not allowed in channels.c

Would it be acceptable to instead add a field to the Channel
structure? This field would be set by an additional argument to
channel_new(), and used in channel_post_port_listener.



More information about the openssh-unix-dev mailing list