LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-02-2009, 04:56 AM   #1
xcristi
Member
 
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 09:40 AM. Reason: found solution
 
Old 11-02-2009, 09:40 AM   #2
xcristi
Member
 
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, 11:33 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 07:08 AM   #4
xcristi
Member
 
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.
 
  


Reply

Tags
fake, identification, ktorrent, tracker



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 02:31 PM
identification of USB 1.1 or 2.0 on my PC jaggus Linux - Hardware 0 09-15-2004 03:47 AM
Chipset Identification Drake88 Linux - Hardware 1 04-28-2004 01:29 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 06:18 AM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

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