JonnyJD / peertracker

latest known svn revision of the trigunflame peertracker, which is a lightweight PHP/SQL BitTorrent Tracker
GNU General Public License v3.0
121 stars 44 forks source link

Incorrect IP if used in LAN #6

Open dustwolf opened 6 years ago

dustwolf commented 6 years ago

If the tracker is on the same IP / LAN as the seeder, then announce records the incorrect IP address.

I see here the internal IP of my router and no seeding can take place.

Miriup commented 1 year ago

For the record: If the tracker runs in your local LAN, this is exactly what would be supposed to happen. If you want to have your public IP communicated to the tracker, then you you need a NAT aware bittorrent client that can detect NAT and report the public IP to the tracker.

dustwolf commented 1 year ago

I haven't inspected the code, but reading up on this issue from 2018, it would seem the tracker records the connecting IP rather than any submitted IP. The bittorrent client isn't aware of my internat router IP to send it to the tracker.