-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: redir
Version: 2.1-2.1
Severity: wishlist

I am frequently using ssh with "-L" or "-R" for port forwarding. The general
setup here includes NAT routers. I have seen problems with connection stability.
Apparently, when no data was transmitted for some time, the NAT router would
forget about the connection, essentially killing it.

I now regularly use ssh options such as

- -o ServerAliveInterval=20 -o ServerAliveCountMax=7

Those helped me out. They cause ssh to regularly transmit "no data" packets
when the connection would otherwise be idle. In this way, the NAT state of the
connection is kept alive.

I have now set up a connection for my users using redir.

There are reports about connection instabilities. The situation is not easy to
debug, but we may be running into the same kind of problem that I have seen with
ssh.

I suggest that redir is augmented with options similar to the ssh ones.

I understand that it is more difficult for redir to implement this feature than
it was for ssh, as there is a ssh protocol, while redir is forced to speak plain
TCP/IP. But I remember that it is possible, at the TCP/IP level, to send
packets that contain no data, but ask the receiver to acknowledge the pacpacket.
If that recollection is correct, implementing the feature should be possible.

I would like the proposed options to differentiate: It should be possible to
keep the client connection open, the server connection, or both. So two options.
Each option gives the number of seconds of idleness after which a no-data packet
is sent.

As is true in the ssh case, after some number of packets have not been ack'ed,
both parts of the redired connection should shut down. Those numbers should be
configurable, again separately for client and server. So two more options, four
in all.

Regards, and thank you for providing fine software

Andreas Krüger

- --
Dr. Andreas Krüger, [EMAIL PROTECTED]
GPG/PGP Fingerprint 8063 4A9B 362D 4220 A546  14C1 EA19 AADC FD44 5EB7
DV-RATIO Nordwest GmbH, Tel.: +49 211 577 996-0, Fax:  +49 211 559 1617
Leostraße 31, 40545 Düsseldorf, Germany


- -- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages redir depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libwrap0                    7.6.dbs-8    Wietse Venema's TCP wrappers libra

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDzfgT6hmq3P1EXrcRAmtTAJ9+NNYd3762YHk43K6A4KdoY9mcPwCfV8PJ
A6bPRgpY/860hQ7XVRT1Itk=
=ITyV
-----END PGP SIGNATURE-----

Reply via email to