Skip to content

Common Commands

Kookiejarz edited this page Nov 13, 2026 · 2 revisions

Common commands

Updated November 12, 2026 for v26.11.12a.

# Show the active backend and its health
sudo axdp backend

# List ports allowed by the current policy
sudo axdp ports

# Inspect runtime ownership and grant decisions without changing the firewall
sudo xdp-port-sync --mode audit --explain

# Show packet counters
sudo axdp stats

# Open the live terminal interface
sudo axdp tui

All persistent policy changes go through axdp; BPF maps and the managed nftables table are derived runtime state. Use sudo axdp deny SERVICE PROTO/PORT to remove a grant and sudo axdp disable to detach the managed data plane while continuing service discovery in audit mode.

A quick check of service-aware synchronization:

sudo axdp ports
python3 -m http.server 8080 &
sudo xdp-port-sync --mode observe --explain
kill %1

Port 8080 is reported as an unapproved endpoint unless its process is mapped by a matching subject grant. See Configuration reference for the policy format and First run for the approval workflow.

Use axdp --help from your installed version for its complete command list.

Clone this wiki locally