项目作者: Haehnchen

项目描述 :
Simple BitTorrent Tracker / Proxy
高级语言: PHP
项目地址: git://github.com/Haehnchen/bittorrent-tracker.git
创建时间: 2017-04-15T14:08:15Z
项目社区:https://github.com/Haehnchen/bittorrent-tracker

开源协议:MIT License

下载


Simple BitTorrent Tracker

Routes

  1. -------------------------------------------------- -------- -------- ------ -----------------------------------
  2. Name Method Scheme Host Path
  3. -------------------------------------------------- -------- -------- ------ -----------------------------------
  4. espend_bit_torrent_tracker_announce GET ANY ANY /announce
  5. espend_bit_torrent_tracker_proxy_rewrite_torrent GET|POST ANY ANY /proxy/rewrite-torrent
  6. espend_bit_torrent_tracker_proxy_announce GET ANY ANY /proxy/announce
  7. -------------------------------------------------- -------- -------- ------ -----------------------------------

Rewrite

/proxy/rewrite-torrent rewrite torrent to use internal announce url. origin url is base64 encoded as origin query string

  1. Before:
  2. http://torrent.ubuntu.com:6969/announce
  3. After:
  4. /proxy/announce?origin=aHR0cDovL3RvcnJlbnQudWJ1bnR1LmNvbTo2OTY5L2Fubm91bmNl