Incoming
0 Mbps
0 pps
Dropped
0 Mbps
0 pps β’ 0%
Drop ratio
0%
0 dropped total
Blocked IPs
0
0 whitelisted
Total blocks
0
since start
CPU usage
0%
0 cores
Memory
0%
0 / 0 MB
π₯οΈ System β Live CPU per Core CPU 0% Β· RAM 0%
Loadingβ¦
π Traffic β Total vs Clean vs Dropped
β Total 0
β Clean 0
β Dropped 0
π‘οΈ Mitigation Breakdown how much is blocked, by source (live)
π Attack Sources β Live top attack sources by country / network (ASN) β based on dropped traffic
Populated only when the GeoIP DB (GeoLite2 ASN+Country) is loaded. Bars update live and animate (longer bar = more attack).
π΄ Top attacker COUNTRIES
β
π°οΈ Top attacker ASN / Networks
β
𧬠Per-Protocol Filtering pps ⒠Mbps ⒠drop% (how much is filtered)
Each protocol's live rate, drop pps and % filtered. Legitimate established/return traffic passes before flow-match, so these numbers reflect only unsolicited/attack traffic.
π― Under Attack β Live no active attack
| Target (victim) IP | Max Impact | Importance | Vector / Misuse types | Live | Peak | Filtered (peak) | Sources | Start time | Duration | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| No active attack π | ||||||||||
π Attack History (enterprise) 0
ποΈ Saved Report Archive 0 β¬οΈ Download all (zip)
Every ended attack is auto-saved as a standalone HTML report, organised by date (on the firewall box under reports/YYYY-MM-DD/). Open or download any past report below.
π¬ IP Flow Analyzer what is hitting an IP β live pps/Mbps, protocol, drop%, source country/ASN
Enter an IP and click Analyze β a live breakdown (updates every 1s) will appear.
π Traffic per Destination IP TotalΒ·CleanΒ·Dropped (Mbps)
β Totalβ Cleanβ Dropped
π°οΈ Traffic per ASN TotalΒ·CleanΒ·Dropped (Mbps)
β Totalβ Cleanβ Dropped
π Traffic Flow β by Source IP Source IP β Destination (hover = Mb/s)
π°οΈ Traffic Flow β by ASN Source ASN β Destination (hover = Mb/s)
π Top Flows (src β dst) β Live total β sort:
| Source | Destination:port | Proto | Live PPS | Mbps | Packets | Data | Dropped |
|---|
π§© Per-Service Protection live traffic grouped by destination port β proves per-service isolation
Live traffic per destination port and how much is being filtered. When one port is under attack, the other ports stay CLEAN (OVH/Cloudflare-style isolation).
| Port | Service | Proto | Live PPS | Mbps | Dropped | Drop% | Status |
|---|
π°οΈ ASN Live Flow live traffic per network (ASN) β pps Β· Mbps Β· drop%
Live traffic per network / provider, and how much is being filtered. (Requires the GeoLite2 ASN DB.)
| ASN / Network | Live PPS | Clean PPS | Drop PPS | Mbps | Drop% |
|---|
π Top Source IPs by packets
| Source IP | Geo/ASN | Packets | Data | Dropped |
|---|
π Top Countries / ASN
β
β
β Blocked IPs 0
These are source (attacker) IPs. Empty dst = blocked toward all your protected IPs. With a dst = blocked only toward that destination (allowed elsewhere). Reason Manual/CIDR block = added by you; other reasons = auto-ban.
| Source IP | Dst scope | Reason | Filtered | pps | Mbps | Expires |
|---|
β Whitelist 0
| IP |
|---|
π« Source Prefix Block (CIDR) 0
Empty dst = block the source prefix everywhere. With one or more dst = block each source only toward those destinations (allowed elsewhere). Up to 8 destinations per source prefix.
| Source prefix | Dst scope | Filtered | pps | Mbps |
|---|
π GEO / ASN Rules 0 IPs
One unified rule list. Each rule = a country or ASN, an action, and a scope (global or a single destination prefix). Rules are independent (per-rule).
Block = deny this country/ASN (globally or toward one destination). Allow (exempt) = always pass this country/ASN, even if another rule would block it (global). Allow-only = within the scope, allow only the listed country/ASN and block everything else. Allow rules are evaluated above Allow-only, which is above Block.
| Match | Value | Action | Scope | Filtered | pps | Mbps |
|---|
π§± Protocol Ban 0 rules
Drop an entire protocol (or all protocols) toward a destination IP/prefix, or globally. A dst-side policy β applies to all non-whitelisted sources.
| Scope | Protocol | Filtered pkts | Filtered |
|---|
π Port Policy (L4 ACL) 0 rules
Enterprise port firewall (Cloudflare Magic-Firewall style). Port ban: drop a TCP/UDP destination port (or range) from any source toward any destination or one IP/prefix β applies to every packet, existing sessions included. Allow-only: when enabled (globally or for a destination), only the listed ports accept new inbound connections (TCP SYN / UDP service traffic); established sessions, replies to the server's own outbound TCP connections, ICMP and whitelisted sources are never affected. Asymmetric-routing caveat: UDP replies to the server's own outbound requests that arrive on a port < 32768 cannot be recognised as replies (no handshake, egress not seen) β DHCP 68, NTP 123, IKE 500/4500 are pre-allowed; add any other such ports before enabling. Prefer per-destination scopes; this box's own IPs are exempt automatically.
β Port ban
| Proto | Port | Scope | Filtered | pps | Mbps |
|---|
β
Allow-only ports (default-deny for new inbound)
𧬠Payload Signature Filter β
Drops known-bad payload patterns on the first packet (drop-only β legit replies/returns are never affected; a PASS is never decided from payload). A pattern is the first bytes of the payload, in hex.
| Name | Proto | Hex | Dst scope | Filtered | pps | Mbps |
|---|
Tip: take the first 4-8 bytes of your attack's payload β the bytes that repeat in every flood packet β and enter them as hex, choosing the matching protocol (UDP / ICMP / TCP / Any). For ICMP, the match is on the payload after the 8-byte ICMP header. An empty Dst scope = the rule applies to every destination; enter a dst IP/prefix and it drops only packets headed there (per-rule). The Filtered / pps / Mbps columns show how much each rule dropped. Capture your own attack's bytes for the safest match β avoid patterns that could appear in legit traffic. NTP/DNS/SSDP/memcached amplification is already auto-blocked.
π« Custom Payload / Source Ban IP or prefix
Ban/unban a source IP or whole prefix that is sending a bad payload (globally, or only toward one destination).
(This is the same Source Prefix Block shown on the Blocklists tab β placed here for convenience in the payload context.)
π Log Filter
Live updates as the firewall blocks/unblocks.
π GEO/ASN Blocked IPs β Live 0
Source IPs currently dropped by country/ASN bans (auto-managed).
| Source IP | Country | ASN / Org |
|---|
ποΈ GEO/ASN Ban Archive 0 β¬οΈ download
Every GEO/ASN IP ban & unban with timestamp and dst-scope β persisted file archive (survives restart).
| Time | Action | Source IP | Country / ASN | Dst scope |
|---|
π§± Block Add/Remove History
| Time | Action | Type | Value | Scope |
|---|
π― Top Attackers β Live 0
Source IPs currently being dropped the most (attack traffic). Live pps + drop %.
| Attacker IP | Target:port | Attack Type | Live PPS | Dropped | Drop% |
|---|
π Event Log (attack blocks) newest first Β· live (in-memory)
| Time | Attack Type | Event | Attacker (src:port) | Target (dst:port) | Proto |
|---|
ποΈ Persisted Event Log file Β· last 7 days
Loaded from file (firewall_events.log) β data persists across restarts. Auto-rotates at 5MB (.1 backup) and auto-deletes entries older than 7 days.
| Time | Event |
|---|
π¦ Bandwidth Queue β per Prefix XDP token-bucket (Mbps cap)
Dest = allocate/cap a customer/victim prefix at N Mbps (drops above it). Source = throttle incoming from a network/ASN prefix to N Mbps. A limit applies only where set (real traffic stays safe).
| Dir | Prefix | Limit | Live used | Live dropped | Dropped total | |
|---|---|---|---|---|---|---|
| No bandwidth limits set. Add one above. | ||||||
π‘οΈ Service Ports (RDP/SSH/web/game safe) generous + flood-capped
Legitimate RDP/SSH/game passes on service ports; a flood gets capped at the destination level.
π IP Stats Lookup
Enter an IP and click Check.
π Security β Login & API access
Dashboard uses a login session (HttpOnly cookie, 12 h sliding). Automation / cluster dashboards use the API key via header X-API-Key (or Authorization: Bearer). Full reference: /docs.
Rotating the key immediately invalidates the old one everywhere. Credentials file: build/firewall.auth (0600). Lost everything? on the server: ./ebpf_firewall_cli RESET_AUTH
β Manual Block / Whitelist
β
Prefix / dst-scoped whitelist β trust a whole range (CIDR) or trust a source only toward a specific destination. Whitelisted traffic is always passed (never filtered).
βοΈ Config
Edit the config file and click "Reload config" to apply live. GeoIP DB status is shown in the warning bar above.
πΎ Config Export / Import manual bans/rules
All manual block/whitelist/CIDR/GEO/ASN/service/bw rules persist automatically across restarts. Use this to back up (export) or restore on another box (import).
π Attack Alerts off
Real-time notification to Discord or any webhook when an attack is detected (and when it clears). Requires curl on the server (usually present).
The webhook URL is masked after saving (for security). To change it, enter the full URL again. This persists across restarts.
βΉοΈ How to set up alerts
Discord: your server β Channel Settings β Integrations β Webhooks β New Webhook β Copy URL β paste it here.
Generic webhook: any endpoint that accepts a JSON POST β the payload contains {event,title,message,fw} .
Use the Test button to send a sample alert and verify.
Generic webhook: any endpoint that accepts a JSON POST β the payload contains {event,title,message,fw} .
Use the Test button to send a sample alert and verify.
π― Attack floor
A destination counts as under attack (Under Attack list, saved report, attack syslog/ELK events, alerts) only once its filtered rate reaches either floor. Below it is noise (scanners, 9-pps "floods", mDNS) and stays out of the operator view. Mitigation itself is unaffected.
π GeoIP Database (MaxMind GeoLite2)
The GEO/ASN engine classifies traffic from GeoLite2-Country + GeoLite2-ASN. Enter your free MaxMind account id + license key once; the firewall downloads the latest databases, installs them atomically and reloads the kernel tables without a restart.
π₯ Users & Roles
viewer = read everything (dashboard, reports, metrics) Β· operator = viewer + change rules, blocks, thresholds Β· admin = operator + users, keys, export/GeoIP settings, import. Each user has its own password and API key; the generated password is shown once.
| User | Role | API key | Created |
|---|
π€ Log Export β syslog / Logstash / Elasticsearch off
Stream every mitigation event (block, GEO/ASN ban, port policy), rule add/remove audit and attack start/end records to your central log platform β SIEM via syslog (RFC 5424 or JSON over UDP/TCP), the ELK stack via Logstash (TCP json_lines) or directly into Elasticsearch (_bulk, daily indices). Records are ECS-style JSON. "Send history" replays the existing event + GEO ban logs so old data lands in the same place.
Logstash: input { tcp { port => 5044 codec => json_lines } }
Include: