Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qbittorrent will not reannounce proxy IP to the tracker when the proxy is turned on #20777

Open
wenwenwenzq opened this issue Apr 30, 2024 · 0 comments

Comments

@wenwenwenzq
Copy link

qBittorrent & operating system versions

qBittorrent: 5.0.0 beta1
Qt: 6.6.2
Libtorrent: 1.2.19.0
Boost: 1.84.0
OpenSSL: 3.2.1
zlib: 1.3.1

What is the problem?

This issue was opened a few days ago,#20767 that time, I did not provide logs, which made it difficult for anyone to solve the problem.

Now I have found the problem. qbitorrent5.0.0beta1 can see the address and port monitored by the tracker. It is found that the monitored address is 0.0.0.0:port, which is not the proxy IP:port I want.

This is a bug. When the proxy is enabled, the proxy IP:port should be listened to first, but the port of the network interface should be listened to.

I had already turned on the proxy that comes with qbittorrent at that time. And you can see that the default external IP monitored in the log is the local IP, not the proxy IP.

Steps to reproduce

20240430193228

20240430193256

Additional context

See reproudce.

Log(s) & preferences file(s)

(N) 2024-04-30T19:26:17 - qBittorrent v5.0.0beta1 started. Process ID: 14228
(N) 2024-04-30T19:26:17 - Using config directory: C:\Users\Administrator\AppData\Roaming\qBittorrent
(N) 2024-04-30T19:26:17 - Trying to listen on the following list of IP addresses: "0.0.0.0:19630,[::]:19630"
(I) 2024-04-30T19:26:17 - Peer ID: "-qB5000-"
(I) 2024-04-30T19:26:17 - HTTP User-Agent: "qBittorrent/5.0.0beta1"
(I) 2024-04-30T19:26:17 - Distributed Hash Table (DHT) support: ON
(I) 2024-04-30T19:26:17 - Local Peer Discovery support: ON
(I) 2024-04-30T19:26:17 - Peer Exchange (PeX) support: ON
(I) 2024-04-30T19:26:17 - Anonymous mode: OFF
(I) 2024-04-30T19:26:17 - Encryption support: ON
(I) 2024-04-30T19:26:17 - UPnP/NAT-PMP support: ON
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "26.26.26.1". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "26.26.26.1". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.118.1". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.118.1". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.73.1". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.73.1". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.1.10". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "192.168.1.10". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "127.0.0.1". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::2810:60e3:bfce:157c%21". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::2810:60e3:bfce:157c%21". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::17c0:f2c0:1d64:c125%10". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::17c0:f2c0:1d64:c125%10". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::f9ee:7e57:13c1:5cb5%5". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "fe80::f9ee:7e57:13c1:5cb5%5". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "::1". Port: "TCP/19630"
(I) 2024-04-30T19:26:17 - Successfully listening on IP. IP: "::1". Port: "UDP/19630"
(I) 2024-04-30T19:26:17 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Mon Apr 1 08:25:20 2024.
(I) 2024-04-30T19:26:17 - Detected external IP. IP: "120.231.198.116"
(N) 2024-04-30T19:26:40 - Options saved.
(I) 2024-04-30T19:26:40 - Successfully listening on IP. IP: "0.0.0.0". Port: "UDP/19630"
(N) 2024-04-30T19:26:52 - Options saved.
(N) 2024-04-30T19:26:52 - Trying to listen on the following list of IP addresses: "0.0.0.0:64100,[::]:64100"
(I) 2024-04-30T19:27:02 - Successfully listening on IP. IP: "0.0.0.0". Port: "UDP/64100"
(N) 2024-04-30T19:27:37 - Added new torrent. Torrent: "WePE_64_V2.3.exe"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant