Network interface bind not respected for tracker announces #6198

Open
Tadsz opened this Issue Jan 4, 2017 · 0 comments

Projects

None yet

3 participants

@Tadsz
Tadsz commented Jan 4, 2017 edited

qBittorrent: 3.3.7
Qt: 5.7.0
libtorrent: 1.0.10.0
boost: 1.61.0
OS version: W10 Pro

I did not see a fix for this problem in the changelog for upcoming versions

When bound to a specific network interface (VPN), some trackers are still announced over the default network interface causing another IP to bleed to the tracker. Not all trackers continue to work but a lot keep working (did not find a difference for http/https)

Steps to reproduce:

  • Bind qBittorrent to a disconnected interface (VPN, but disconnected) and restart qBittorrent for changes to take effect. This should mean no network traffic to trackers and therefore announces must fail.

  • Add a list of torrents with various trackers as it's only a fraction of trackers that announce outside of the bound interface.

  • Check which trackers report a working announcement and check with those trackers to see what IP is reported.

When a firewall rule is made to block qBittorrent and that rule applied only to the not-bound interface while the bound interface (VPN) is disconnected, then all trackers fail. If the bound interface is connected then all trackers succeed. The firewall log still shows a lot of connections through the not-bound interface.

@ngosang ngosang added the Network label Jan 11, 2017
@evsh evsh added the Security issue label Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment