c0re100 / qBittorrent-Enhanced-Edition

[Unofficial] qBittorrent Enhanced, based on qBittorrent
https://github.com/c0re100/qBittorrent-Enhanced-Edition
Other
18.35k stars 1.23k forks source link

Add filter to ban offline download servers of Xunlei, Baidu etc. #2

Closed KozakaiAya closed 6 years ago

KozakaiAya commented 6 years ago

Recently, I encountered several clients who announce themselves as 'libtorrent 1.1.x' or '1.0.x'. I was really curious about them because I have never seen such clients before. However, after comparing their IP to a known offline download server list, I found that most of them are from Xunlei. So I suggest that the clients who announce them as LTxxxx with Chinese IP should be banned in the enhanced version of qBittorrent.

c0re100 commented 6 years ago

Thanks for your information. The next enhanced version of qBittorrent will process this filter file on start-up. The filter file will be installed on the same path with qBittorrent, it can be replaced yourself if the filter file update released.

KozakaiAya commented 6 years ago

Is it a little bit inappropriate to put the ipfilter.dat under /usr/bin or /usr/local/bin? Personally speaking, I feel that ~/.config/qBittorrent is more reasonable for this file.

Anyway, thank you for your effort.

c0re100 commented 6 years ago

Yes, qB will identify your OS first. Windows: parse ./ipfilter.dat Linux/Mac: parse ~/.config/qBittorrent/ipfilter.dat

kkwong7878 commented 6 years ago

師兄Good👍