Skip to content

Commit

Permalink
Update blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
c0re100 committed Sep 30, 2024
1 parent 96b80ed commit adda699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/bittorrent/peer_blacklist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit adda699

Please sign in to comment.