BGPulse

DDoS detection, mitigation and RTBH platform for service providers.

ALPHA Infrastructure & Ops · 11 features · Go daemon · PHP / CI4 panel · MariaDB · BGP / FlowSpec

overview

BGPulse is a single-tenant DDoS platform: traffic feeds flow into a Go daemon that detects attacks, runs them through a finite-state machine, and executes mitigations — BGP /32 and /128 blackholes, FlowSpec, scripts, nftables or webhooks.

Panel and daemon are separate: the CI4 panel holds the spec, attacks, metrics and releases; enrolled nodes report in. One-command Debian install starts everything in safe shadow mode.

features

  • ▸Detection — inbound volumetric + outbound abuse; floods, amplification, per-host/prefix/group; adaptive baselines with cold-start protection
  • ▸Attack signatures — named flood shapes (syn/udp/tcp/icmp/frag/amp_reflect/ack/fin/rst) with dominance ratios; require_sig mode alerts on attacks, not noise
  • ▸Feeds — sFlow, IPFIX (incl. VPP flowprobe), NetFlow v5/v9/v10, afpacket/TPACKET_V3, GRE/ERSPAN/VXLAN decap, SNMP; IPv4 + IPv6
  • ▸Mitigation executors — BGP RTBH (/32+/128, per-peer communities RFC 7999), FlowSpec from fingerprints, script (vpp-drop), nftables, EAPI/ACL, webhooks
  • ▸Embedded BGP speaker — native Go UPDATE codec + FSM, AS4, large communities, route-refresh, Adj-RIB-Out replay; GoBGP for MD5/passive peers; RPKI-RTR validation; announce/withdraw only, never kernel FIB
  • ▸Safety model — shadow mode default, whitelists, approval mode, learning windows, maintenance suppression, quiet-period unban, escalation profiles, scope-overflow guard
  • ▸Multi-node corroboration — N daemons reporting the same victim → corroborated attack
  • ▸Panel — dashboard + onboarding checklist, nodes/enrol/tasks/self-update, attacks (pcap upload/download, CSV), groups, action profiles, peers, whitelist, roles, API keys, TOTP 2FA, audit log, SMTP alerts/digests
  • ▸Metrics — Prometheus endpoint, native InfluxDB writer, MariaDB rollups → panel graphs, Grafana dashboards
  • ▸Ops — bgpulse CLI (status/traffic/attacks/ban/whitelist/doctor/watch), signed release self-update with rollback, graceful shutdown withdraws announces, systemd watchdog, offline spool
  • ▸Billing webhooks — signed attack events (detected/withdrawn/corroborated) for WHMCS, Blesta, XodoPanel

screenshots

Dashboard — live attacks, mitigations, peers and rates
Dashboard — live attacks, mitigations, peers and rates
Attacks — detected incidents with kind, confidence and status
Attacks — detected incidents with kind, confidence and status
Attack detail — fingerprint, mitigation actions and pcap evidence
Attack detail — fingerprint, mitigation actions and pcap evidence
Traffic — live per-group and per-host rates
Traffic — live per-group and per-host rates
Top talkers — biggest sources and destinations right now
Top talkers — biggest sources and destinations right now
BGP peer — session state, advertised and received prefixes
BGP peer — session state, advertised and received prefixes
Daemon nodes — enrolment, versions and health
Daemon nodes — enrolment, versions and health
Mitigations — active blackholes, FlowSpec and script actions
Mitigations — active blackholes, FlowSpec and script actions

stack

Go daemon PHP / CI4 panel MariaDB BGP / FlowSpec VPP nftables

get started

quickstart
$ sudo deploy/install-debian.sh --quickstart
$ bgpulse doctor && bgpulse status
▊