Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/v4_6_x' into v4_6_x_me
Browse files Browse the repository at this point in the history
  • Loading branch information
orionmeetartemis committed Jul 20, 2024
2 parents 4cd7ed2 + 3fdf314 commit ab91999
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/torrent|hp/torrent|Taipei-torrent))");
static const std::regex consume_filter(R"(((dt|hp|xm)/torrent|(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 ab91999

Please sign in to comment.