Support optional ip parameter in announce query string #532
coldwinds
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is the ip parameter could be supported as an option?
see here https://wiki.theory.org/BitTorrent_Tracker_Protocol
http://some.tracker.com:999/announce ?info_hash=12345678901234567890 &peer_id=ABCDEFGHIJKLMNOPQRST &ip=255.255.255.255 &port=6881 &downloaded=1234 &left=98765 &event=stopped
Which will give a chance to reverse proxy to pass peer's ip by rewrite peer's query and add/overwrite an ip parameter to it.
Opentracker's Makefile also have a build option for this:
https://erdgeist.org/arts/software/opentracker/
By default opentracker will only allow the connecting endpoint's IP address to be announced. Bittorrent standard allows clients to provide an IP address in its query string. You can make opentracker use this IP address by enabling -DWANT_IP_FROM_QUERY_STRING.
It was previously posted in this issue #163 (comment) , and @josecelano have some good ideas on it.
Beta Was this translation helpful? Give feedback.
All reactions