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

[Merged by Bors] - Remove banned peers from DHT and track IPs #1656

Closed
wants to merge 7 commits into from

Conversation

AgeManning
Copy link
Member

Issue Addressed

#629

Proposed Changes

This removes banned peers from the DHT and informs discovery to block the node_id and the known source IP's associated with this node. It has the capabilities of un banning this peer after a period of time.

This also corrects the logic about banning specific IP addresses. We now use seen_ip addresses from libp2p rather than those sent to us via identify (which also include local addresses).

@AgeManning AgeManning added the A0 label Sep 23, 2020
@AgeManning
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Sep 25, 2020
## Issue Addressed

#629 

## Proposed Changes

This removes banned peers from the DHT and informs discovery to block the node_id and the known source IP's associated with this node. It has the capabilities of un banning this peer after a period of time. 

This also corrects the logic about banning specific IP addresses. We now use seen_ip addresses from libp2p rather than those sent to us via identify (which also include local addresses).
@bors bors bot changed the title Remove banned peers from DHT and track IPs [Merged by Bors] - Remove banned peers from DHT and track IPs Sep 25, 2020
@bors bors bot closed this Sep 25, 2020
@AgeManning AgeManning deleted the ban-handling branch November 16, 2020 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant