Skip to content

Core Architecture Overview

SecBeat implements a distributed “smart edge, intelligent orchestrator” architecture that provides both high-performance traffic processing and centralized intelligence.

High-performance traffic processing engines at the edge:

  • Multiple operation modes
  • Real-time threat detection
  • Local decision-making
  • Horizontal scaling

Centralized control plane and intelligence:

  • Fleet management
  • AI-powered decisions
  • Resource optimization
  • Policy distribution

NATS-based real-time messaging:

  • Real-time messaging
  • RESTful APIs
  • Webhook integration
  • Metrics streaming
Internet Traffic → Mitigation Nodes → Backend Services
Orchestrator Node (Control & Intelligence)
  • 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
  • HTTPS termination with modern TLS support
  • Web Application Firewall with 100+ attack patterns
  • Request filtering and content inspection
  • Pattern-based threat detection
  • Linear regression CPU prediction
  • Resource trend analysis
  • Proactive capacity planning
  • Historical data modeling
  • Pattern-based threat detection
  • Automated scaling decisions
  • Self-healing nodes
  • Intelligent load balancing

SecBeat mitigation nodes support three primary operation modes, each optimized for specific security and performance requirements.

Use Case: High-performance reverse proxy

  • Ultra-low latency (<0.5ms)
  • Millions of connections/sec
  • Minimal CPU overhead
  • No root privileges required

Use Case: DDoS mitigation layer

  • SYN flood protection
  • Kernel-level packet filtering
  • Challenge-response validation
  • Requires CAP_NET_RAW

Use Case: Complete security suite

  • Full WAF capabilities
  • TLS termination
  • Content inspection
  • Advanced threat detection
  • Distributed architecture with no single points of failure
  • Automatic failover and recovery
  • Graceful degradation under load
  • Health monitoring and self-healing
  • Horizontal scaling of mitigation nodes
  • Predictive scaling based on ML models
  • Dynamic resource allocation
  • Cloud-agnostic deployment

SecBeat exposes comprehensive metrics via Prometheus:

secbeat_packets_processed_total
secbeat_attacks_blocked_total
secbeat_latency_seconds
secbeat_cpu_usage_percent
secbeat_memory_usage_bytes
  • UDP floods
  • ICMP floods
  • DNS amplification
  • NTP amplification
  • SYN floods
  • ACK floods
  • Fragment attacks
  • Slowloris
  • HTTP floods
  • Slow POST
  • Cache busting
  • API abuse
  • 100+ regex-based attack patterns
  • SQL injection prevention
  • XSS filtering
  • Command injection blocking
  • Path traversal detection
  • Pattern-based detection engine
MetricValue
Packets/Second2.5M+
Average Latency0.3ms
Concurrent Connections100K+
Uptime SLA99.99%
TCP Mode: 2.5M packets/sec, 0.2ms latency
SYN Mode: 1.8M packets/sec, 0.4ms latency
L7 Mode: 500K requests/sec, 1.2ms latency
Memory: 256MB base + 10KB per connection
CPU: 12% at 100K connections
Threads: Auto-scaled based on cores