Core Architecture Overview
Platform Architecture
Section titled “Platform Architecture”SecBeat implements a distributed “smart edge, intelligent orchestrator” architecture that provides both high-performance traffic processing and centralized intelligence.
System Components
Section titled “System Components”Mitigation Nodes
Section titled “Mitigation Nodes”High-performance traffic processing engines at the edge:
- Multiple operation modes
- Real-time threat detection
- Local decision-making
- Horizontal scaling
Orchestrator Node
Section titled “Orchestrator Node”Centralized control plane and intelligence:
- Fleet management
- AI-powered decisions
- Resource optimization
- Policy distribution
Communication Layer
Section titled “Communication Layer”NATS-based real-time messaging:
- Real-time messaging
- RESTful APIs
- Webhook integration
- Metrics streaming
Data Flow
Section titled “Data Flow”Internet Traffic → Mitigation Nodes → Backend Services ↕ Orchestrator Node (Control & Intelligence)Core Capabilities
Section titled “Core Capabilities”Multi-Layer Protection
Section titled “Multi-Layer Protection”Layer 4 (Network/Transport)
Section titled “Layer 4 (Network/Transport)”- TCP/UDP proxy with sub-millisecond latency
- SYN flood protection using kernel-level packet processing
- Connection rate limiting and state tracking
- Network-level DDoS mitigation
Layer 7 (Application)
Section titled “Layer 7 (Application)”- HTTPS termination with modern TLS support
- Web Application Firewall with 100+ attack patterns
- Request filtering and content inspection
- Pattern-based threat detection
ML-Powered Resource Management
Section titled “ML-Powered Resource Management”Predictive Scaling
Section titled “Predictive Scaling”- Linear regression CPU prediction
- Resource trend analysis
- Proactive capacity planning
- Historical data modeling
Autonomous Response
Section titled “Autonomous Response”- Pattern-based threat detection
- Automated scaling decisions
- Self-healing nodes
- Intelligent load balancing
Operation Modes
Section titled “Operation Modes”SecBeat mitigation nodes support three primary operation modes, each optimized for specific security and performance requirements.
TCP Mode
Section titled “TCP Mode”Use Case: High-performance reverse proxy
- Ultra-low latency (<0.5ms)
- Millions of connections/sec
- Minimal CPU overhead
- No root privileges required
SYN Mode (Beta)
Section titled “SYN Mode (Beta)”Use Case: DDoS mitigation layer
- SYN flood protection
- Kernel-level packet filtering
- Challenge-response validation
- Requires CAP_NET_RAW
L7 Mode
Section titled “L7 Mode”Use Case: Complete security suite
- Full WAF capabilities
- TLS termination
- Content inspection
- Advanced threat detection
Platform Features
Section titled “Platform Features”High Availability
Section titled “High Availability”- Distributed architecture with no single points of failure
- Automatic failover and recovery
- Graceful degradation under load
- Health monitoring and self-healing
Scalability
Section titled “Scalability”- Horizontal scaling of mitigation nodes
- Predictive scaling based on ML models
- Dynamic resource allocation
- Cloud-agnostic deployment
Observability
Section titled “Observability”SecBeat exposes comprehensive metrics via Prometheus:
secbeat_packets_processed_totalsecbeat_attacks_blocked_totalsecbeat_latency_secondssecbeat_cpu_usage_percentsecbeat_memory_usage_bytesSecurity Features
Section titled “Security Features”DDoS Protection
Section titled “DDoS Protection”Volumetric Attacks
Section titled “Volumetric Attacks”- UDP floods
- ICMP floods
- DNS amplification
- NTP amplification
Protocol Attacks
Section titled “Protocol Attacks”- SYN floods
- ACK floods
- Fragment attacks
- Slowloris
Application Attacks
Section titled “Application Attacks”- HTTP floods
- Slow POST
- Cache busting
- API abuse
WAF Capabilities
Section titled “WAF Capabilities”- 100+ regex-based attack patterns
- SQL injection prevention
- XSS filtering
- Command injection blocking
- Path traversal detection
- Pattern-based detection engine
Performance Characteristics
Section titled “Performance Characteristics”Key Metrics
Section titled “Key Metrics”| Metric | Value |
|---|---|
| Packets/Second | 2.5M+ |
| Average Latency | 0.3ms |
| Concurrent Connections | 100K+ |
| Uptime SLA | 99.99% |
Benchmarks
Section titled “Benchmarks”TCP Mode: 2.5M packets/sec, 0.2ms latencySYN Mode: 1.8M packets/sec, 0.4ms latencyL7 Mode: 500K requests/sec, 1.2ms latency
Memory: 256MB base + 10KB per connectionCPU: 12% at 100K connectionsThreads: Auto-scaled based on coresNext Steps
Section titled “Next Steps”- SYN Flood Mitigation - Deep dive into SYN protection
- Observability - Monitoring and metrics
- XDP Programs - Kernel-level packet processing