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

[WIP] Use asmap #70

Closed
wants to merge 9 commits into from
Closed

Conversation

wakiyamap
Copy link
Contributor

@wakiyamap wakiyamap commented Feb 27, 2020

See https://erebus-attack.comp.nus.edu.sg/
This commit is one of the countermeasures.

Please don't merge yet.

naumenkogs and others added 9 commits February 9, 2020 12:40
If ASN bucketing is used, return a corresponding AS
used in bucketing for a given peer.
Instead of using /16 netgroups to bucket nodes in Addrman for connection
diversification, ASN, which better represents an actor in terms
of network-layer infrastructure, is used.
For testing, asmap.raw is used. It represents a minimal
asmap needed for testing purposes.
The scripts for creating a compact IP->ASN mapping are here:
https://github.com/sipa/asmap

Co-authored-by: Pieter Wuille <pieter.wuille@gmail.com>
@wakiyamap
Copy link
Contributor Author

I'll make another pull request later.

@wakiyamap wakiyamap closed this Jun 2, 2020
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.

3 participants