Menu

#5 Non existent channel request will close all tunnels

open
5
2004-09-13
2004-08-26
Anonymous
No

Hi, I discovered that a request to a "Non existent
channel" will simply close the connection to a site.
Unfortunatelly I'm not so sure what "non existant
channel 1" really means, potentially it's a problem with
my firewall (on the remote machine). But when using
putty, the tunnel is working just fine. (So potentially
putty simply ignores that and does not close the
connection)

The problem below occured when I was checking my
mailaccount using a Mozilla Imap Client. The result was
that I could do exactly one task, "checking for new mail"
and the subsequent task "downloading headers"
produced this failure and closed the connection.
Unfortunatelly the Imap client hangs then, as the
connection between JST and Client does not seem to be
closed but simply is not responding.

Maybe you can provide a fix to make the tool more
stable under such a condition, as I really like to use it!

---- Log Entry:

13:57:31,643 [Transport protocol 18] ERROR
com.sshtools.j2ssh.transport.TransportProtocolCommon -
The Transport Protocol thread failed
java.io.IOException: Non existent channel 1 requested
at
com.sshtools.j2ssh.connection.ConnectionProtocol.getCh
annel(Unknown Source)
at
com.sshtools.j2ssh.connection.ConnectionProtocol.onMsg
ChannelData(Unknown Source)
at
com.sshtools.j2ssh.connection.ConnectionProtocol.onMes
sageReceived(Unknown Source)
at
com.sshtools.j2ssh.transport.SshMessageStore.addMessa
ge(Unknown Source)
at
com.sshtools.j2ssh.transport.TransportProtocolCommon.s
tartBinaryPacketProtocol(Unknown Source)
at
com.sshtools.j2ssh.transport.TransportProtocolCommon.r
un(Unknown Source)
at java.lang.Thread.run(Unknown Source)

---- Cyrus Version:

name : Cyrus IMAPD
version : v2.1.11 2002/12/04 14:53:12
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : Linux
os-version : 2.4.18-14
environment: Cyrus SASL 2.1.10
Sleepycat Software: Berkeley DB 4.0.14:
(November 18, 2001)
OpenSSL 0.9.6b [engine] 9 Jul 2001
CMU Sieve 2.2
TCP Wrappers
mmap = shared
lock = fcntl
nonblock = fcntl
auth = unix
idle = poll
mboxlist.db = db3
subs.db = flat
seen.db = flat
duplicate.db = db3-nosync
tls.db = db3-nosync

Discussion

  • Yanick Bélanger

    • assigned_to: nobody --> belangery
     
  • Yanick Bélanger

    Logged In: YES
    user_id=788581

    A couple of patches should be applied soon to the main
    librarie (J2SSH) of the application. These patches will
    probably correct this defect.

     

Log in to post a comment.