Peer blacklist/whitelist
Just to get this on your radar, it would be nice to be able to blacklist and whitelist peers.
I sometimes notice Chinese IPs downloading some of my torrents at snail's pace (5-10 KB/s) but they never update their percentage completed and they never stop downloading.
Would be really nice to add the ability to blacklist peers by IP and/or client name.
I think this shouldn't be too hard to do via some regex's present in the config file. Will look into it.
I'm wondering if cidr notation would be more appropriate, so you can blacklist/whitelist networks and the most narrow matching netmask wins. This would be more efficient than using regex on ip addresses, especially for ipv6.
Example:
# Filters (order doesn't matter)
blacklist: 0.0.0.0/0
whitelist: 192.0.2.0/24
blacklist: 192.0.2.3/32
# Results
1.2.3.4: blacklisted
192.0.2.1: whitelisted
192.0.2.3: blacklisted
Yep, good point