https://github.com/haehnchen/bittorrent-tracker
Simple BitTorrent Tracker / Proxy
https://github.com/haehnchen/bittorrent-tracker
bittorrent bundle php symfony symfony-bundle torrent tracker
Last synced: 7 months ago
JSON representation
Simple BitTorrent Tracker / Proxy
- Host: GitHub
- URL: https://github.com/haehnchen/bittorrent-tracker
- Owner: Haehnchen
- License: mit
- Created: 2017-04-15T14:08:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T14:19:15.000Z (over 8 years ago)
- Last Synced: 2025-04-08T14:45:57.826Z (7 months ago)
- Topics: bittorrent, bundle, php, symfony, symfony-bundle, torrent, tracker
- Language: PHP
- Size: 44.9 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple BitTorrent Tracker
## Routes
```
-------------------------------------------------- -------- -------- ------ -----------------------------------
Name Method Scheme Host Path
-------------------------------------------------- -------- -------- ------ -----------------------------------
espend_bit_torrent_tracker_announce GET ANY ANY /announce
espend_bit_torrent_tracker_proxy_rewrite_torrent GET|POST ANY ANY /proxy/rewrite-torrent
espend_bit_torrent_tracker_proxy_announce GET ANY ANY /proxy/announce
-------------------------------------------------- -------- -------- ------ -----------------------------------
```
## Rewrite
`/proxy/rewrite-torrent` rewrite torrent to use internal announce url. origin url is base64 encoded as `origin` query string
```
Before:
http://torrent.ubuntu.com:6969/announce
After:
/proxy/announce?origin=aHR0cDovL3RvcnJlbnQudWJ1bnR1LmNvbTo2OTY5L2Fubm91bmNl
```