[Request] Add option to exclude Swarm Merging source from being banned in Peer Blocking
I'm currently downloading a number of very large torrents (100GB+), many of which have multiple duplicate files.
The swarm merging is genuinely useful in catching these file, however with there being many files (100,000+) files in some torrent its inevitability leading to a lot of failed attempts to merge files of the same size.
Very quickly these lead to the swarm merge source getting banned from attempting to merge any more files and entries such as:-
"SwarmMerge-xfer from VQAAZ2CARRAEUQKN7BNB9IVX6UTMNH3/4297[7961/37/16384] has sent bad data: occurrences = 1" in the IPCONFIG IP log.
I could just turn off Peer Blocking completely but I still want to block genuine bad peers, or alternately increase the parameters to ridiculous level but neither is a real option.
Pressing Unban All works to unban the Swarm Merge source (until it gets banned again less than 2 minutes later) but also unbans "genuine" bad peers too.
All I'm asking is for the possibility of an option to not include Swam Merge sources that "send" bad data.
ie A "Don't ban Swarm Merge source even if they send bad data" just like the "Don't ban LAN peers.." option in Options/IP Filters/Peer Blocking.
Thanks
Swarm merge uses a fake IP address ("SwarmMerge-xfer from VQAAZ2CARRAEUQKN7BNB9IVX6UTMNH3/4297[7961/37/16384]" in your example above) - is this exact address getting banned? It shouldn't prevent other swarm merge operations from working, just a very specific block write.
It seems to block all merges from the address not just known "bad" ones. If I "unban all" then all pending merges will resume within minutes if not seconds. Then BBT inevitably detects some "bad" merges again and blocks the source again. The complete blocking seems to occur after about 10 to 15 entries are in the banned list from the same source (even though there are still at this point dozens of untried potential merges from the same source).
In the pieces view I end up with dozens of "active" pieces with a speed of 0 from the blocked address not doing anything at all that never disappear (unless I restart).
But what address is banned? "SwarmMerge-xfer" ? or "SwarmMerge-xfer from VQAAZ2CARRAEUQKN7BNB9IVX6UTMNH3/4297[7961/37/16384]" ?
You should get a number of "sent bad data" followed by a "banned" or something...
Its not that specific address "VQAAZ2...", it happens with any torrent.
The whole "source" torrent seems to get banned/blocked from potentially merging anything to any other torrent even when potential merges exist. There are no other messages in the IP Filters other than the :-
"SwarmMerge-xfer from ... has sent bad data: occurrences = 1"
I get no "... is blocked/banned" or similar messages but BBT definitely stops all future merge attempt from that torrent to any other, especially when it get to ~10 to 15 of the "bad data" entries in the IP Filters.
When I press "Unban All" button BBT will soon after resume checking potential merges, so its "clearing" a ban/flag somewhere I guess. Only to get set again after more failed ("bad data") merges again.
I can't see how hitting "unban all" might restart things if no actual ban has occurred. If you go to View->Log Views->Swarm Merge and uncheck the "pause logging" is there anything logged when you then hit "unban all" ?
Sorry for not getting back sooner.. There was nothing that occurred in that log when unbanning. :( Anyway, I've downloaded most of the large torrents that seemed to suffer from what ever was causing this strange behaviour, so I'm not seeing it atm with current torrents (that have much fewer potential merges).
Now that I know the behaviour wasn't intended I'll get back to you if I see the same behaviour on similar large torrents I will (probably) be downloading soon if I see it happening again and the logs show anything.
Thank you, for looking into this.
ok, thanks! I'll close for now, please re-open if needed