This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Bug: Double handshake

Tags: None
(comma "," separated)
next_ghost
Registered Member
Posts
4
Karma
0
OS

Bug: Double handshake

Sat Aug 16, 2008 1:38 pm
KTorrent sends handshake message twice. Some clients (like BitTorrent) treat the second handshake message as invalid and immediately close connection.
George
Moderator
Posts
5421
Karma
1

Sat Aug 16, 2008 4:58 pm
Right, show me some evidence, because this is quite an extraordinary claim, and I just checked out a wireshark trace from a ktorrent session, and I see no double handshakes.
next_ghost
Registered Member
Posts
4
Karma
0
OS

Sat Aug 16, 2008 9:37 pm
My wifi router has burned out and while it was still trying to work, I had really bad transfer rate. Perhaps the delay triggered handshake retransmission and both packets got to my machine. I've found out about the burned out router an hour after posting this topic. I'm sorry to bother you. :oops:

There are some other reports of this problem on the Internet though:
Code: Select all
[5.0.7 2007-10-12 17:22:20] INFO    : message length exceeds max (323119476 > 8388608): '\x13BitTorren', count:0 ('81.203.35.221', 6881) ('KTorrent', '2.2.1.0')

from http://mandrivausers.org/lofiversion/index.php/t43733.html

BitTorrent spits this error message when it gets another handshake on already established connection ("\x13Bit" evaluates to message length of 323119476 because the message is not treated as handshake). Maybe you should increase the retransmission delay a bit.
George
Moderator
Posts
5421
Karma
1

Sun Aug 17, 2008 10:57 am
next_ghost wrote:My wifi router has burned out and while it was still trying to work, I had really bad transfer rate. Perhaps the delay triggered handshake retransmission and both packets got to my machine. I've found out about the burned out router an hour after posting this topic. I'm sorry to bother you. :oops:


The only retransmission of the handshake which can occur is through TCP (because of dropped packets), but both clients will not be aware of this (they don't get duplicate data)

There are some other reports of this problem on the Internet though:
Code: Select all
[5.0.7 2007-10-12 17:22:20] INFO    : message length exceeds max (323119476 > 8388608): '\x13BitTorren', count:0 ('81.203.35.221', 6881) ('KTorrent', '2.2.1.0')

from http://mandrivausers.org/lofiversion/index.php/t43733.html

BitTorrent spits this error message when it gets another handshake on already established connection ("\x13Bit" evaluates to message length of 323119476 because the message is not treated as handshake). Maybe you should increase the retransmission delay a bit.


Old versions, old bugs, whatever it was, it has long been fixed.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]