[bittorrent] Peers sending a handshake of 48 bytes

Joris Guisson joris.guisson at gmail.com
Wed Nov 9 14:51:13 EST 2005


So, the standard tracker is to lazy to generate 20 random bytes ...

I do get multiple of these, so some clients must be doing what Olaf says.

Crap, this is annoying ...

Joris,


On 11/9/05, Justin Cormack <justin at street-vision.com> wrote:
> On Wed, 2005-11-09 at 18:40 +0100, Joris Guisson wrote:
> > I have a weird problem, it appears that some clients only send a
> > handshake of 48 bytes, they just don't include a peer id. Which is
> > fine for me, I don't use the PeerID for much, but it's not exactly
> > according to the protocol.
> >
> > Does anybody know which client is doing this, and why it is doing this
> > ? Is this some extension to the protocol which I'm not aware of ?
>
> The standard tracker does this to check your IP is real. It cant be
> bothered to make a fake peer id so just sends the 48 bytes and waits.
>
> It makes for lots of messy code for short reads that is totally
> unnecessary especially if you are listening for multiple torrents
> so you need the beginning bit first.
>
> Justin
>
>
>



More information about the BitTorrent mailing list