@Power2All, @WarmBeer Here are some ideas to improve tracker usability which I have in mind. Would like to know if this is out of scope or it is possible to be added without hurting performance.
- Add prefix config option for mysql/sqlite table names to avoid duplication (eg. prefix_peers, prefix_torrents, prefix_keys)
- Add private key in peers api when tracker is in private mode.
- Add more methods for API so it can interact better with common torrent tracker scripts
3.1. GET /api/peers/:peer_id - Return all peers with selected peer_id and include info_hash + peers stats for easier data manipulation.
3.2. GET /api/peers/:ip - Return all peers with selected ip and include info_hash + peers stats for easier data manipulation.
3.3. GET /api/peers/:priv_key - Return all peers with selected priv_key and include info_hash + peers stats for easier data manipulation.
3.4. GET /api/key_status/:priv_key - Check if priv_key is used by multiple IP addresses and return number | false to check if someone is sharing key
- Separate
ip and port from peers or rename ip to be ip_addr = ip:port and include separate ip + port fields.
Those are current ideas to make private tracker more advanced and easier to use.
@Power2All, @WarmBeer Here are some ideas to improve tracker usability which I have in mind. Would like to know if this is out of scope or it is possible to be added without hurting performance.
3.1.
GET /api/peers/:peer_id- Return all peers with selectedpeer_idand include info_hash + peers stats for easier data manipulation.3.2.
GET /api/peers/:ip- Return all peers with selectedipand include info_hash + peers stats for easier data manipulation.3.3.
GET /api/peers/:priv_key- Return all peers with selectedpriv_keyand include info_hash + peers stats for easier data manipulation.3.4.
GET /api/key_status/:priv_key- Check ifpriv_keyis used by multiple IP addresses and returnnumber | falseto check if someone is sharing keyipandportfrom peers or renameipto beip_addr = ip:portand include separateip+portfields.Those are current ideas to make private tracker more advanced and easier to use.