mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Main Program (main.rs): - Command-line interface using clap with comprehensive options - eBPF program lifecycle management (load, configure, attach) - Integration with structured logging system - Graceful shutdown handling with log flushing Command-Line Options: - Interface selection for XDP attachment - Configuration file path for CIDR ranges - Packet action control (log-only vs drop) - Logging format selection (console/json/csv/jsonl) - Output file specification and buffer size tuning - Verbose logging for debugging eBPF Integration: - Automatic eBPF program loading and BTF initialization - CIDR range configuration via eBPF maps - Real-time event processing from ring buffers - XDP attachment with fallback to SKB mode Enhanced Features: - Structured event logging with flow correlation - Real-time statistics and periodic summaries - Signal handling for clean shutdown - Error handling with context preservation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
3 weeks ago | |
---|---|---|
.. | ||
config.rs | 3 weeks ago | |
event_handler.rs | 3 weeks ago | |
ip_utils.rs | 3 weeks ago | |
lib.rs | 3 weeks ago | |
logger.rs | 3 weeks ago | |
main.rs | 3 weeks ago | |
traffic_monitor.bpf.rs | 3 weeks ago |