SSH Tunneling and TCP_NODELAY

From: Brian (briang@NOSPAM.OasisAdvancedEngineering.com)
Date: 10/30/02


From: Brian <briang@NOSPAM.OasisAdvancedEngineering.com>
Date: Wed, 30 Oct 2002 09:02:28 -0500

Hi all,

I am using SSH port forwarding on a linux sshd from the Cygwin ssh. Both
sides have version OpenSSH 3.4p1. There is no problem with my
tunneling, as I have been using many (about 10) port forwards (server
and local) for quite some time now.

A new application has been introduced to my mix that uses the network to
send control messages at about 30 times per second. These messages are
small (4-12 bytes), but sent at a frequent rate.

If port forwarding is NOT used, the control stream is working well.
BUT, if I send the control string through the SSH tunnel, it gets sent
as bursts... for example, the receiving application wukk get no data for
5 frames, and the 6th frame will get all 6 frames.

This makes for a jerky control of the software. My control program has
TCP_NODELAY set in it's ouput socket which is why it works properly. I
_thought_ that openssh starting at version 3.1 had TCP_NODELAY set on
it's forwarded ports (my debug outputs tell me so). None the less, the
bursting (which I believe is a cacheing at some point) still happens.

My question:

Is there something about the Cygwin version of SSH where TCP_NODELAY
doesnt work properly, or it is a stub function? Can anyone think of a
reason this is happening?

Thanks,
Brian



Relevant Pages

  • Re: SSH Tunneling and TCP_NODELAY
    ... :I am using SSH port forwarding on a linux sshd from the Cygwin ssh. ... :sides have version OpenSSH 3.4p1. ... :If port forwarding is NOT used, the control stream is working well. ...
    (comp.security.ssh)
  • Re: [fw-wiz] Firewal with SSH inspection? (was Re: Firewall bake-off?)
    ... > is ssh: port forwarding allows a lot of sins to be hidden from ... Are there ssh proxies that can address this? ... They even market an appliance called "shell control box", ...
    (Firewall-Wizards)
  • Re: Port Forwarding over Unreliable Connections
    ... >I make extensive use of ssh port forwarding to access machines behind ... >patiently wait a long time before finally snipping the connection. ... two separate TCP connections when you do port forwarding, ...
    (comp.security.ssh)
  • Re: SSH question
    ... control area. ... in /usr/local/etc/authorized_keys file and that enabled that user to ssh ... That way when bill ssh from host to hosta as jim, ...
    (SSH)
  • Re: [fw-wiz] cisco ssh rate limit
    ... Have you thought about using an access control list instead for the ssh ... I am not deeply familiar with the PIX yet but I know on Cisco ... I'm thinking functionality like this ...
    (Firewall-Wizards)