Skip to content

p2p: Port asmap stuff from KMD upstream #124

@leto

Description

@leto

Currently it's on the dev branch. It's not a consensus change and it's an optional feature that defaults to OFF. Probably a good idea to put it in the upcoming 3.5.0 mandatory release.

It improves defenses against attacks where malicious nodes spawn up in different Class B IP address ranges, by tracking Autonomous System Numbers (ASNs).

This was originally done in BTC and ported to KMD by Decker:

GLEECBTC#366
bitcoin/bitcoin#16702
https://www.coindesk.com/latest-bitcoin-core-code-release-protects-against-nation-state-attacks

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions