Update blacklist

This commit is contained in:
c0re100 2024-09-30 13:37:07 +08:00
parent 96b80ed51d
commit adda699efb
No known key found for this signature in database
GPG Key ID: 7C3B3004FE745AAF

View File

@ -16,7 +16,7 @@ bool is_bad_peer(const lt::peer_info& info)
{
static const std::regex id_filter("-(XL|SD|XF|QD|BN|DL|TS|DT|HP)(\\d+)-");
static const std::regex ua_filter(R"((\d+.\d+.\d+.\d+|cacao_torrent))");
static const std::regex consume_filter(R"(((dt|hp|xm)/torrent|Gopeed dev|(Taipei-torrent( dev)?)))", std::regex_constants::icase);
static const std::regex consume_filter(R"(((dt|hp|xm)/torrent|Gopeed dev|Rain 0.0.0|(Taipei-torrent( dev)?)))", std::regex_constants::icase);
// TODO: trafficConsume by thank243(senis) but it's hard to determine GT0003 is legitimate client or not...
// Anyway, block dt/torrent and Taipei-torrent with specific case first.