[bittorrent] modyfying announce URL in the binary torrent

Harold Feit - Depthstrike.com administrator dwknight at depthstrike.com
Fri Nov 11 15:40:05 EST 2005


I have the option of writing a php-based torrent editor to re-do the
announce url or sending you a copy of my vb.net announce url replacer.

Either way, you still need to specify a public IP on the seed. 

-----Original Message-----
From: bittorrent-bounces at lists.ibiblio.org
[mailto:bittorrent-bounces at lists.ibiblio.org] On Behalf Of etienne deleflie
Sent: Friday, November 11, 2005 4:16 PM
To: bittorrent at lists.ibiblio.org
Subject: Re: [bittorrent] modyfying announce URL in the binary torrent

Harold,

that would work .... except I dont have a domain name allocated to my 
server's IP ... external users use the external IP address of my tracker 
when they make the torrent.

can you see a solution given this restriction?

Etienne

>Utilities to edit a torrent's announce url aren't uncommon, however I find
>the option of setting an IP to Name mapping of a trackers internal IP to
its
>domain name using a hosts file (%windir%\system32\drivers\etc\hosts on
>windows 2000/xp/2003, /etc/hosts on linux) is most effective in making sure
>a seed who is using the same connection as the tracker can connect to the
>swarm. Using the client's ability to specify an IP can be used to specify
>the public IP of the client to the tracker so that inbound connections are
>still possible.
>
>The announce url itself doesn't really affect how the tracker and peers
>identify the torrent, it just affects where the peers go looking for their
>batches of other peers. 
>
>-----Original Message-----
>From: bittorrent-bounces at lists.ibiblio.org
>[mailto:bittorrent-bounces at lists.ibiblio.org] On Behalf Of etienne deleflie
>Sent: Friday, November 11, 2005 3:47 PM
>To: bittorrent at lists.ibiblio.org
>Subject: [bittorrent] modyfying announce URL in the binary torrent
>
>All,
>
>has anyone heard of a system where once a torrent is submitted to a web 
>site, it is copied and the announce URL is modified to point to 
>'localhost' so that a client on the same machine as the tracker can then 
>seed it?
>
>Would it work if the seeder torrent is different (has dif anounce URL) 
>to torrent that users download and launch?
>
>Is their a small utility out there that can modify the announce URL 
>(given that the torrent format is binary?)
>
>Etienne
>
>  
>
>>Hi Mitch,
>>
>>Thanks for posting the pointer ....... I eventually kind-of-solved my 
>>problem by using a free public tracker, which so far has been quite 
>>reliable.  I'm using http://www.bittorrent-support.com/. Just means I 
>>cant have stats about my how many people have downloaded the torrents 
>>(or maybe I can?).
>>
>>I'm not sure that your solution helps me though. Because in my use case 
>>scenario, someone on the internet posts a torrent to my web site ..... 
>>then I want my server to download it automatically.... so that it can 
>>permanently seed it.  The torrent that they posted uses the announce URL 
>>of my tracker (i.e. uses the static IP allocated to my server by my ISP)
>>
>>I dont have the means to get their torrent, read it, change the announce 
>>URL (to use localhost instead of the outside IP) and seed it. At least I 
>>dont think that is easily possible.  ... please enlighten me if it is.
>>
>>Etienne
>>
>> 
>>
>>    
>>
>>>Greetings Etienne,
>>>
>>>I read about your problem with seeding from the same machine that your
>>>tracker was located on:
>>>http://lists.ibiblio.org/pipermail/bittorrent/2005-October/001645.html
>>>
>>>I had the very same problem.  But I realized after reading the thread of
>>>messages  that I needed to recreate my .torrent file.
>>>
>>>My first .torrent file (which didn't work) was created this way:
>>>btmakemetafile http://my.full.url:6969/announce /path/to/my/hugefile.iso
>>>
>>>The solution was to create my .torrent file using "localhost" rather
>>>than my full URL:
>>>btmakemetafile http://localhost:6969/announce /path/to/my/hugefile.iso
>>>
>>>Now, my local seed client is able to respond properly to external
>>>bittorrent clients!
>>>
>>>I hope this helps.  Thanks for posting your question in the first
>>>place.  If you hadn't, I wouldn't have figured out how to solve my
>>>      
>>>
>problem.
>  
>
>>>Thanks.
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>BitTorrent mailing list
>>BitTorrent at lists.ibiblio.org
>>http://lists.ibiblio.org/mailman/listinfo/bittorrent
>>
>>
>> 
>>
>>    
>>
>
>_______________________________________________
>BitTorrent mailing list
>BitTorrent at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/bittorrent
>
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>BitTorrent mailing list
>BitTorrent at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/bittorrent
>  
>


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date: 11/10/2005
 
  

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/166 - Release Date: 11/10/2005
 





More information about the BitTorrent mailing list