Expand description
Security and cryptography Security module
This module provides cryptographic functionality and Sybil protection for the P2P network. It implements IPv6-based node ID generation and IP diversity enforcement to prevent large-scale Sybil attacks while maintaining network openness.
Structs§
- Cached
GeoProvider - A simple in-memory caching wrapper for a GeoProvider
- Diversity
Stats - Diversity statistics for monitoring
- GeoInfo
- Geo information
- IPAnalysis
- Analysis of an IPv6 address for diversity enforcement
- IPDiversity
Config - Configuration for IP diversity enforcement at multiple subnet levels
- IPDiversity
Enforcer - IP diversity enforcement system
- IPv6
NodeID - IPv6-based node identity that binds node ID to actual network location
- Node
Reputation - Node reputation tracking for security-aware routing
- Reputation
Manager - Reputation manager for tracking node behavior
- Stub
GeoProvider - Stub provider returning no ASN/GeoIP info
Traits§
- GeoProvider
- GeoIP/ASN provider trait