Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update peer_blacklist.hpp with variances on taipei-torrent #565

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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|Taipei-torrent))");
static const std::regex consume_filter(R"(((dt|hp|xm)/torrent|(T|t)aipei-(T|t)orrent( dev)?))");
Zylsjsp marked this conversation as resolved.
Show resolved Hide resolved

// 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