Module security

Module security 

Source
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§

CachedGeoProvider
A simple in-memory caching wrapper for a GeoProvider
DiversityStats
Diversity statistics for monitoring
GeoInfo
Geo information
IPAnalysis
Analysis of an IPv6 address for diversity enforcement
IPDiversityConfig
Configuration for IP diversity enforcement at multiple subnet levels
IPDiversityEnforcer
IP diversity enforcement system
IPv6NodeID
IPv6-based node identity that binds node ID to actual network location
NodeReputation
Node reputation tracking for security-aware routing
ReputationManager
Reputation manager for tracking node behavior
StubGeoProvider
Stub provider returning no ASN/GeoIP info

Traits§

GeoProvider
GeoIP/ASN provider trait