Page 11 of 11 FirstFirst ... 891011
Results 101 to 108 of 108

Thread: Start your own public tracker

  1. #101
    rvt's Avatar Poster BT Rep: +1
    Join Date
    Aug 2007
    Posts
    368
    If you want a very easy, completely public tracker with nothing but announce:

    announce.php
    Code:
    <?php 
    if(strlen($hash=bin2hex(stripslashes($_GET['info_hash'])))!==40 || strlen($pid=stripslashes($_GET['peer_id']))!==20 || ($port=0+$_GET['port'])<=0 || $port>65535) die('d14:failure reason5:oops1e'); 
    if(!($f=@fopen($hash,'ab+')) || (filesize($hash)!==0 && (!flock($f,LOCK_SH) || false===($peers=@unserialize(@file_get_contents($hash)))))) die('d14:failure reason5:oops2e'); 
    if($_GET['event']==='stopped') unset($peers[$_SERVER['REMOTE_ADDR']]); 
    else $peers[$_SERVER['REMOTE_ADDR']]='7:peer_id20:'.$pid.'4:porti'.$port.'e'; 
    if(flock($f,LOCK_EX)) { @rewind($f); @ftruncate($f,0); @fputs($f,serialize($peers)); @fclose($f); } 
    $ret='d8:intervali1800e12:min intervali1800e5:peersl'; 
    foreach($peers as $x=>$y) $ret.='d2:ip'.strlen($x).':'.$x.$y.'e'; 
    print($ret.'ee'); 
    ?>
    


    Absolutely no support in there for NAT, ratios or scrape, but it works and should be fast as hell

    If you want a full blown site, you'll need to wait a couple of months or grab tbdev.

  2. BitTorrent   -   #102
    J-dye's Avatar BANNED BT Rep: +1
    Join Date
    Dec 2007
    Location
    Lickey End
    Posts
    1,336

  3. BitTorrent   -   #103
    lysine's Avatar 49311 BT Rep: +1
    Join Date
    Sep 2006
    Location
    unknown
    Posts
    569
    is there anywhere to download this from? links in this thread are dead, and there's no files on the website.

  4. BitTorrent   -   #104
    BANNED
    Join Date
    Mar 2008
    Location
    Here
    Posts
    119
    I might look into this for myself too.

  5. BitTorrent   -   #105
    hehe

  6. BitTorrent   -   #106
    Quote Originally Posted by moda View Post
    hehe
    That was quite the addition, thank you very much for contributing!
    ______________________________________________

  7. BitTorrent   -   #107
    Quote Originally Posted by rvt View Post
    If you want a very easy, completely public tracker with nothing but announce:

    Absolutely no support in there for NAT, ratios or scrape, but it works and should be fast as hell

    If you want a full blown site, you'll need to wait a couple of months or grab tbdev.
    And how is the progress going? Any new updates, release?

  8. BitTorrent   -   #108
    hek
    Guest
    Hi.


    is there any news about that? nothing on the website and just the announce.php on the forum... or would it be possible to have access to the old code somehow?

    thx!

Page 11 of 11 FirstFirst ... 891011

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •