Detection, Mitigation & Response

Detect and mitigate DDoS attacks in under 1 second, respond automatically, and keep your users informed.

All features →
Docs
Documentation Quick Start API Reference Agent Setup Integrations 18
Learn
Free Tools 37 Free Certifications State of DDoS 2026 REPORT DDoS Protection Landscape Buyer's Guide PDF Hackathon Sponsorships DDoS Protection Facts
Company
About Us Become a Consultant 30% Partners White Label Managed Protection Contact Us System Status
Open Source
ftagent-lite MIT NetHawk MIT
Legal
Security Trust Center Terms & Privacy
Who Uses Flowtriq

From indie hosts to ISPs, see how teams like yours use Flowtriq to detect and stop DDoS attacks.

All use cases →

Docker & Container Deployment

Run ftagent as a container with Docker, Docker Compose, or Kubernetes. Official image: flowtriq/ftagent.

Docker Run

docker run -d --name ftagent --network host \ --cap-add NET_ADMIN --cap-add SYS_PTRACE \ -v /etc/ftagent:/etc/ftagent \ -v /var/lib/ftagent:/var/lib/ftagent \ --restart unless-stopped flowtriq/ftagent:latest
FlagRequiredWhy
--network hostYesAgent must see host-level traffic. Bridge networking hides real interfaces.
--cap-add NET_ADMINYesRaw socket access for packet capture.
--cap-add SYS_PTRACEYesRequired for tcpdump operations on some kernels.
-v /etc/ftagentYesConfig file mount.
-v /var/lib/ftagentYesPCAP storage, baseline state.

First-Time Setup

sudo mkdir -p /etc/ftagent /var/lib/ftagent sudo tee /etc/ftagent/config.json <<'EOF' {"api_key":"YOUR_API_KEY","node_uuid":"YOUR_NODE_UUID","pcap_mode":"tcpdump"} EOF sudo chmod 600 /etc/ftagent/config.json

Docker Compose

# docker-compose.yml version: "3.8" services: ftagent: image: flowtriq/ftagent:latest container_name: ftagent network_mode: host cap_add: - NET_ADMIN - SYS_PTRACE volumes: - /etc/ftagent:/etc/ftagent - /var/lib/ftagent:/var/lib/ftagent restart: unless-stopped

Kubernetes DaemonSet

apiVersion: apps/v1 kind: DaemonSet metadata: name: ftagent namespace: monitoring spec: selector: matchLabels: app: ftagent template: metadata: labels: app: ftagent spec: hostNetwork: true dnsPolicy: ClusterFirstWithHostNet containers: - name: ftagent image: flowtriq/ftagent:latest securityContext: capabilities: add: ["NET_ADMIN", "SYS_PTRACE"] volumeMounts: - name: config mountPath: /etc/ftagent readOnly: true - name: state mountPath: /var/lib/ftagent livenessProbe: httpGet: path: / port: 9100 initialDelaySeconds: 30 periodSeconds: 60 volumes: - name: config secret: secretName: ftagent-config - name: state hostPath: path: /var/lib/ftagent type: DirectoryOrCreate

Cloud-Init One-Liner

#!/bin/bash pip install ftagent --break-system-packages ftagent --api-key "$API_KEY" --node-uuid "$NODE_UUID" ftagent --install-service systemctl enable --now ftagent

Troubleshooting

  • No traffic detected: Verify --network host is set.
  • Permission denied: Verify --cap-add NET_ADMIN is present.
  • Health check failing: Endpoint is http://127.0.0.1:9100/. With host networking, it works from the host.
ESC