Open MPeti1 opened 4 years ago
@arvidn ping, could any of this be coming from libtorrent?
What do the queries look like?
The only thing that comes to mind is that libtorrent used to have a feature to resolve countries of peer IPs using zz.countries.nerd.dk
. This feature was deprecated in libtorrent 1.1 at the end of 2015 and deleted from libtorrent in 2016.
which version of libtorrent are you using?
which version of libtorrent are you using?
If @MPeti1 is using official version from official sources:
libtorrent-rasterbar | 1.2.6+gita9968916ca |
---|
@MPeti1 Do the excessive PTR Requests/Queries still occur if you uncheck Resolve peer countries
under qBittorrent section in options -> advanced? (I know you said Resolve peer host names
is unchecked already)
The only thing that comes to mind is that libtorrent used to have a feature to resolve countries of peer IPs using zz.countries.nerd.dk. This feature was deprecated in libtorrent 1.1 at the end of 2015 and deleted from libtorrent in 2016.
@FranciscoPombal If unchecking Resolve peer countries
fixes/reduces the PTR Requests/Queries, should this option be removed from qBittorrent...since it's a deprecated feature? (Although GeoIP
is used now, I believe?)
@xavier2k6
@FranciscoPombal If unchecking
Resolve peer countries
fixes/reduces the PTR Requests/Queries, should this option be removed from qBittorrent...since it's a deprecated feature? (AlthoughGeoIP
is used now, I believe?)
I was under the impression that those options had nothing to do with libtorrent, which is confirmed by:
This feature was deprecated in libtorrent 1.1 at the end of 2015 and deleted from libtorrent in 2016.
since 1.2.6+gita9968916ca
is much more recent than that.
yes, it had been removed for the 1.2 release.
What do the queries look like?
The only thing that comes to mind is that libtorrent used to have a feature to resolve countries of peer IPs using
zz.countries.nerd.dk
. This feature was deprecated in libtorrent 1.1 at the end of 2015 and deleted from libtorrent in 2016.which version of libtorrent are you using?
They look like these. I haven't seen such a request in the last 100 ones, so I restarted qb in hopes that it reproduces these.
The version of qb I'm using (4.2.5 64 bit) is using libtorrent 1.2.6.0
Please note that on the picture both the long client names and the short ones belong to my PC. It seems like I was only able to disable the v4 DHCP server on my ISP router (I use an other one), and this is probably because of that. It's still under investigation
If @MPeti1 is using official version from official sources: libtorrent-rasterbar 1.2.6+gita9968916ca Yes, I'm using the official version
@MPeti1 Do the excessive PTR Requests/Queries still occur if you uncheck Resolve peer countries under qBittorrent section in options -> advanced? (I know you said Resolve peer host names is unchecked already)
I have that unchecked already. I did it to see if it would affect the PTR requests a few months ago, but it doesn't seems to affect them
Closing this as this was reported on a very old version. If you can still reproduce it with latest version please comment to re-open the thread or create a new thread.
Unfortunately, this issue still exist and can be reproduced on v4.6.7 with both "Resolve peer countries" and "Resolve peer host names" unchecked.
qBittorrent: v4.6.7 OS: Windows 10 22H2
Same with version 5.0.0.
I have around 1,500 seeding torrents, and I am getting 1,000 PTR requests flooding into the DNS server per minute
I dont currently experience this with 5.0.0 on windows, with only having "resolve peer countries" checked out of the 2. Probably its only the other one that would cause this.
Honestly this feels like with the fastresume files. The storage location is saved at 2 or 3 distinct locations in that weird binary file, and when moving a torrent it has a chance (and when moving multiple torrents then it will have a few such torents) that it will be in a half moved state that is unfixable without special tools, because only part of those were updated with the new path.
@MPeti1 Thank you for the information! Would you mind elaborating more about fastresume files? How is this fastresume file related to the PTR flood?
How is this fastresume file related to the PTR flood?
👍
qBittorrent version and Operating System
qBittorrent: v4.2.5 OS: Windows 10 1903
What is the problem
qBittorrent makes a lot of PTR queries (probably about peers), about 20-24 in every minute.
What is the expected behavior
Since "resolve peer hostnames" is turned off in the advanced settings, I would expect it to not make any PTR queries
Steps to reproduce
I don't have any information on this, but what I can tell is that I have 184 seeding torrents, and 1 peer connections at the moment. Also, I could provide the configuration files if needed.
Extra info(if any)
It's not started happening yesterday, it's been going on for a long time, it was just hard to find what is doing this. I run a Pi-hole (a recursive DNS server, it's purpose is mostly filtering requests and also logging to see any unusual activity), and this is where I see the queries. If I quit qBittorrent there will be much less PTR queries coming from my PC, if at all, this is why I think that they are made by qBittorrent