[bittorrent] Best tool for sniffing BitTorrent messages?

Kirk True kirk at mustardgrain.com
Thu Aug 13 04:17:59 EDT 2009

Hi Harold,

Thank you so much. No, I didn't know I had to, and furthermore, the UI 
(Transmission) didn't have any options to do it. Fortunately I could 
change it in the configuration file.


Harold Feit wrote:
> Did you specifically disable encryption in the client preferences?
> Kirk True wrote:
>> Hi Harold,
>> Hmmm... I don't /think/ it's related to encryption as I'm running this
>> all on a local setup (clients, tracker, etc.). I created the Torrent and
>> specified no encryption and the various properties don't suggest
>> anything to that affect. I'll recreate with a plain text file to see if
>> I can spot the "watermark" when sniffing the data.
>> I'll look into the encryption stuff just to be sure.
>> Thanks!
>> Kirk
>> Harold Feit wrote:
>>> Trying to sniff while the two clients are running with encryption
>>> enabled is going to kidney-punch your efforts a fair bit. Whatever
>>> client you're basing your observations on NEEDS to have the encryption off.
>>> Kirk True wrote:
>>>> Hi all,
>>>> I'm looking at sniffing the requests that various BitTorrent clients 
>>>> make in order to improve my prototype client. I started off using 
>>>> Wireshark but I can't get it to reliably recognize BitTorrent messages. 
>>>> Interestingly the messages my prototype BitTorrent client generates are 
>>>> parseable in Wireshark while those interchanged between Transmission are 
>>>> not.
>>>> So, for Linux, Mac OS X, Windows, what is the best tool for sniffing the 
>>>> messages that the BitTorrent clients generate? I can use tcpdump, 
>>>> Wireshark, etc. to see the TCP traffic, but I'd like a tool that will 
>>>> "understand" the requests and display them as BitTorrent messages.
>>>> I've got to believe this is possible. I've done this 100 times over for 
>>>> HTTP, SMB, my own code, etc.
>>>> Ideas?
>>>> Thanks,
>>>> Kirk
>>>> _______________________________________________
>>>> BitTorrent mailing list
>>>> BitTorrent at lists.ibiblio.org
>>>> http://lists.ibiblio.org/mailman/listinfo/bittorrent

More information about the BitTorrent mailing list