A question regarding IP filters

Other platforms, generic questions.
Post Reply
Tomaso

A question regarding IP filters

Post by Tomaso »

If you download the IP filter (in .DAT format) from emulefuture.de here:
http://ip-filter.emulefuture.de/
..then qBittorrent loads the filter with this message in the execution log:
"Successfully parsed the provided IP filter: 323593 rules were applied."

But if you download the IP filter (in .P2P format) from emule-security.org here:
http://emule-security.org/
..then qBittorrent loads the filter with this message in the execution log:
"Successfully parsed the provided IP filter: 0 rules were applied."

Is this a bug, or is the .P2P file provided at emule-security.org in an eMule-only compatible format?
Dayman

Re: A question regarding IP filters

Post by Dayman »

Read https://github.com/qbittorrent/qBittorr ... erthread.h

Both .dat and .p2p files you've provided look exactly the same (structure is the same).

In .p2p files data should be separated with ":" in .dat with "-"
Both files have "-" separators, which means the extension on .p2p file is wrong. And since qBt doesn't do any heuristics to determine file format (it just uses extension provided) it silently fails.
Tomaso

Re: A question regarding IP filters

Post by Tomaso »

Indeed..

Simply changing the extension from P2P to DAT fixed it!:
"Successfully parsed the provided IP filter: 229251 rules were applied."

LOL! Don't know why I didn't try this before :-[
Thanks, Dayman! :)
Post Reply