Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 29th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default A simple Gnutella tracker + fileserver (in Python)

Hi,

For a long time I wanted to create a Gnutella tracker which serves as centralized alt-loc resource, but I only now have the coding skills to do so


-> ArneBab / gnutella_tracker / overview - bitbucket.org

"A simple file-tracker for Gnutella You can put files into the 'files' folder which then are made available via magnet links with alternate locations. Also it implements the x-alt protocol to learn about more alternate locations."

If you just want to test how it works, the magnet on the following page should allow you to download a test picture, as long as I keep the server running (not quite sure how long that will be...):

- http://edrikor.dyndns.org:8000/

To get the source, you can either use Mercurial

Code:
hg clone https://bitbucket.org/ArneBab/gnutella_tracker/
or just get the current snapshot:
-> http://bitbucket.org/ArneBab/gnutell...er/get/tip.zip

Just start it with

Code:
python gnutella_tracker.py
You can then access the server at http://127.0.0.1:8000
Please tell me if/how well it works for you!

Best wishes,
Arne

PS: The reason for creating this centralized fileserver is to have a first source of data, similar to what BitTorrent trackers provide. Also Communities can form around fileservers (it's easy to disable the serving of files and replace it with just storing the metadata).

PPS: This tracker is currently only tested with Phex. I don't yet know if/how well it works with other programs. If the magnet-download works, please tell me!
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #2 (permalink)  
Old November 1st, 2009
OldDeath's Avatar
Shareaza Dragon
 
Join Date: April 1st, 2008
Location: Earth
Posts: 266
OldDeath is flying high
Default

Cool, have you checked Freebase by chance? This should be very similar (and also working for gnutella clients, BTW). It also offers the possibility to show a little picture in forum posts containing magnet links showing a counter of the file downloads etc.

mfg,
Old
__________________

Shareaza forums - after a new attac back on old theme - Shareaza homepage

<table align="center"><td>F**K THE MPAA!
F**K THE RIAA!
P2P WILL NEVER DIE!
LONG LIVE THE HYDRA!!!

(Quoted from torrentfreak.com)
</td><td><a href="http://crawler.trillinux.org"><img align="right" style="border:0" src="http://crawler.trillinux.org/img/netsize.png" alt="Network size"></a></td></table>
Reply With Quote
  #3 (permalink)  
Old November 2nd, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Quote:
Originally Posted by OldDeath View Post
Cool, have you checked Freebase by chance?
Jupp, I know (and like) freebase, but I wanted to create a hybrid filehosting and Gnutella-connecting server - and I wanted to write it in Python

I'm not yet sure, though, if the alt-loc exchange works as it should (needs testing). What works nicely is updating the magnet link with up to 16 xs-sources of downloaders, so you always have first sources.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #4 (permalink)  
Old November 2nd, 2009
OldDeath's Avatar
Shareaza Dragon
 
Join Date: April 1st, 2008
Location: Earth
Posts: 266
OldDeath is flying high
Default

You might want to create a sync between both systems...? Like this, in case a Magnet link has freebase.be as "magnet tracker" included, users of your tracker can also profit from it - and vis versa.
__________________

Shareaza forums - after a new attac back on old theme - Shareaza homepage

<table align="center"><td>F**K THE MPAA!
F**K THE RIAA!
P2P WILL NEVER DIE!
LONG LIVE THE HYDRA!!!

(Quoted from torrentfreak.com)
</td><td><a href="http://crawler.trillinux.org"><img align="right" style="border:0" src="http://crawler.trillinux.org/img/netsize.png" alt="Network size"></a></td></table>
Reply With Quote
  #5 (permalink)  
Old November 2nd, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Quote:
Originally Posted by OldDeath View Post
You might want to create a sync between both systems...? Like this, in case a Magnet link has freebase.be as "magnet tracker" included, users of your tracker can also profit from it - and vis versa.
That shouldn't be too hard, yes.

Do you know the freebase dev? (I didn't have contact for years)

Would it be OK for him, if I'd add freebase as default xs? It could create some load on his server...
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #6 (permalink)  
Old November 2nd, 2009
OldDeath's Avatar
Shareaza Dragon
 
Join Date: April 1st, 2008
Location: Earth
Posts: 266
OldDeath is flying high
Default

Freebase is maintained by jonne. He can be normally found on the #Shareaza or the #Shareaza-dev channel on P2PChat (IRC), so it should be relatively easy to find and contact him
__________________

Shareaza forums - after a new attac back on old theme - Shareaza homepage

<table align="center"><td>F**K THE MPAA!
F**K THE RIAA!
P2P WILL NEVER DIE!
LONG LIVE THE HYDRA!!!

(Quoted from torrentfreak.com)
</td><td><a href="http://crawler.trillinux.org"><img align="right" style="border:0" src="http://crawler.trillinux.org/img/netsize.png" alt="Network size"></a></td></table>
Reply With Quote
  #7 (permalink)  
Old November 2nd, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

I'll get in contact if I should get to work more on my small server. Since we already have freebase-enabled magnet links in Phex, implementing it isn't that hard to do - but I first want to get his OK.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #8 (permalink)  
Old September 27th, 2010
Devotee
 
Join Date: December 21st, 2009
Posts: 29
hustnn is flying high
Default

I really don't know what function does the tracker server own? How do other Gnutella clients know your server
Reply With Quote
  #9 (permalink)  
Old September 27th, 2010
OldDeath's Avatar
Shareaza Dragon
 
Join Date: April 1st, 2008
Location: Earth
Posts: 266
OldDeath is flying high
Default

The tracker url is included in a magnet link. Users who click on that link will get the IPs of others who clicked it, so they do know sources to download the linked to file from.
__________________

Shareaza forums - after a new attac back on old theme - Shareaza homepage

<table align="center"><td>F**K THE MPAA!
F**K THE RIAA!
P2P WILL NEVER DIE!
LONG LIVE THE HYDRA!!!

(Quoted from torrentfreak.com)
</td><td><a href="http://crawler.trillinux.org"><img align="right" style="border:0" src="http://crawler.trillinux.org/img/netsize.png" alt="Network size"></a></td></table>
Reply With Quote
  #10 (permalink)  
Old September 28th, 2010
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

It’s about providing first sources and static sources to plain magnet links. A kind of kickstart tracker
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
Reply


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/general-gnutella-development-discussion/93955-simple-gnutella-tracker-fileserver-python.html
Posted By For Type Date
Thread A simple Gnutella tracker + fileserver (in Python) | Gnutella Forums | BoardReader This thread Refback September 5th, 2011 02:13 AM
Thread [Help] Creating a simple gnutella search client | Gnutella Forums | BoardReader This thread Refback July 22nd, 2011 07:25 PM


All times are GMT -7. The time now is 08:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.