Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-02-2009, 05:56 AM   #1
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 16
Question Modify Ktorrent tracker identification

Hello all,

Just want to know if there is a possibility to change client identification sent to the tracker, e.g. instead of Ktorrent send something as Azureus (the same way you can trick a browser identification to a server).

I'm using ktorrent 3.2.2 but it seems this is not allowed on some torrent trackers and I just don't want to run multiple clients because they want so.

I saw ktorrent can use some scripting, but unfortunately I didn't find anything in the API regarding the tracker data sent at the announcing moment.

Thanks for any ideas!

Last edited by xcristi; 11-02-2009 at 10:40 AM. Reason: found solution
Old 11-02-2009, 10:40 AM   #2
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 16
Unable to find a quick solution to this, I was forced to grab the sources (thanks opensource), modify them and run the "hacked" ktorrent. It simply works now.

Posted the full solution here.
Old 11-02-2009, 12:33 PM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,063

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
A nice example of the elegance of open source.

It's irritating that some software checks for "compatible" clients in such a stupid way Eg sometimes having to have FFox lie and identify itself as IE for it to work with banking sites.

Thanks for posting the link to your patch. I think you should submit it to the developers.
Old 11-03-2009, 08:08 AM   #4
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 16
Thanks tredegar.

Well, this solution was the quickest for me but not the most elegant I think (maybe a Settings based solution will work better for enduser - putting the identification in ktorrentrc file).

I don't know too much cpp, but I'll try to make a plugin for ktorrent and then submit to the developers.


fake, identification, ktorrent, tracker

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Identification belkins Linux - Hardware 2 05-24-2005 03:31 PM
identification of USB 1.1 or 2.0 on my PC jaggus Linux - Hardware 0 09-15-2004 04:47 AM
Chipset Identification Drake88 Linux - Hardware 1 04-28-2004 02:29 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 07:18 AM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 04:34 AM

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration