On Tue, May 02, 2017 at 12:35:22PM +0200, Markus Rosjat wrote:
> Hi Hiltjo,
>
> just to let you know seesion timeout did the try and works like a charm
On a related note: What constitutes "activity" on a relayed SSH
connection?
I'm also using relayd on a router to relay SSH connections to an
internal host, and it seems as if "relactl show sessions" will never say
that "idle" is anything other than the same as "age".
$ relayctl show sessions
session 0:447 192.168.1.4:63327 -> 10.0.0.10:22 RUNNING
age 01:13:47, idle 01:13:47, relay 1, pid 84257
Regards,
Kusalananda
>
> Regards
>
> Markus
>
> Am 28.04.2017 um 11:34 schrieb Hiltjo Posthuma:
> > On Thu, Apr 27, 2017 at 07:11:56PM +0200, Markus Rosjat wrote:
> > > Hi there,
> > >
> > > I was playing arround wit relayd just to get a feeling for it. So I
> > > started
> > > with relaying a ssh connection to a machine behind my gateway.
> > >
> > > But it seems there is some kind of config value I miss because after like
> > > 8
> > > minutes the open ssh connection gets suddenly closed. Running relayd in
> > > foreground shows a splice timeout.
> > >
> > > So question is, can I and if so where can I adjust the timeout value.
> > >
> > > SSH might be a bad example for relayd use but its the easiest starting
> > > point
> > > thought. Better to discover stuff befor a setup gets more complicated.
> > >
> > > Regards
> > >
> > > --
> > > Markus Rosjat fon: +49 351 8107223 mail: [email protected]
> > >
> > > G+H Webservice GbR Gorzolla, Herrmann
> > > Königsbrücker Str. 70, 01099 Dresden
> > >
> > > http://www.ghweb.de
> > > fon: +49 351 8107220 fax: +49 351 8107227
> > >
> > > Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before
> > > you
> > > print it, think about your responsibility and commitment to the
> > > ENVIRONMENT
> > >
> >
> > Hey,
> >
> > Have you tried "session timeout"?
> >
> > They can be used for relays and redirections.
> >
> > See the RELAYS and REDIRECTIONS section in relayd.conf(5).
> >
>
> --
> Markus Rosjat fon: +49 351 8107223 mail: [email protected]
>
> G+H Webservice GbR Gorzolla, Herrmann
> Königsbrücker Str. 70, 01099 Dresden
>
> http://www.ghweb.de
> fon: +49 351 8107220 fax: +49 351 8107227
>
> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you
> print it, think about your responsibility and commitment to the ENVIRONMENT
>