Menu

#15 Connection terminated after 1GB data transfered

open
nobody
J2SSH (18)
5
2004-02-16
2004-02-16
Paul Tapper
No

Hi,

After tranferring approx 1GB of data over
a forwarded port my server (openssh 3.7.1)
terminates the connection to j2ssh with the
message "Disconnecting: Protocol error:
expected packet type 30, got 20"

This seems to be caused by the the function
TransportProcotolCommon.processMessage()
which tests but never resets byte counters.
After 1GB of data has been exchanged this
function attempts to initiate key reexchage
repeatedly rather than just once.

Patch to correct this attached.

Paul

Discussion

  • Paul Tapper

    Paul Tapper - 2004-02-16

    Key reexchange patch

     
  • Paul Tapper

    Paul Tapper - 2004-02-16
    • labels: --> J2SSH
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.