Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add workaround for BandwidthChecker issue #478
The current implementation will ban peers if they violate bandwidth limits 4 times over the course of 6 hours. Each violation resets the TTL to 6 hours. If there are no violations over a time span of 6 hours, their count of violations is reset.
This workaround does slightly reduce the resiliency of the Mesh network in the face of spamming attacks, but the impact is minimal and it is much better than having no bandwidth limits in place at all.
I slightly altered the existing