shadow-network-sim 0.1.0

Network simulation with adversary models, censorship simulation, and statistical analysis
Documentation

Network Simulation

Adversary modelling, censorship simulation, correlation attacks, and statistical traffic analysis:

  • Adversary Models: Passive observer, active attacker, global observer, compromised relays
  • Censorship Simulation: IP/port blocking, DPI, throttling, TCP reset
  • Correlation Analysis: Timing & size correlation between traffic flows
  • Statistical Analysis: Entropy, chi-squared, pattern detection, timing regularity
use shadow_network_sim::{CensorshipSimulator, CorrelationAnalyzer, StatisticalAnalyzer};
let censor = CensorshipSimulator::with_standard_rules();
let analyzer = CorrelationAnalyzer::new();
let stats = StatisticalAnalyzer::new();