openssh vs. commercial ssh1 port forwarding

Jarno Huuskonen jhuuskon at messi.uku.fi
Tue Oct 17 02:49:32 EST 2000


Hi,

I have already mentioned this a few times before but here I go again:
Commercial ssh1 can send SSH_SMSG_FAILURE when client tries to do remote
portforwarding. Openssh only handles SSH_SMSG_SUCCESS and ends in 
protocol error if server sends FAILURE.

To 'correctly' handle FAILURE the code in channels.c (around line 1566) needs
minor modifications (instead of packet_read_expect use packet_read etc.). This
modification is in the (protocol2 -R support) patches I've sent to the list.

-Jarno

-- 
Jarno Huuskonen - System Administrator   |  Jarno.Huuskonen at uku.fi
University of Kuopio - Computer Centre   |  Work:   +358 17 162822
PO BOX 1627, 70211 Kuopio, Finland       |  Mobile: +358 40 5388169





More information about the openssh-unix-dev mailing list