NETWORK POLICY / DPI / XDP
Visual Network Policy Editor & Debugger
Build ordered rules, import common formats, find overlaps, and inspect which traffic is actually allowed or blocked. Everything runs locally in the browser.
EDITOR AND ANALYSIS
Build a policy and inspect its effective behavior immediately
The current version supports a practical L3/L4 subset: IPv4 CIDR, TCP/UDP, exact ports and port ranges, ordered first-match evaluation, and allow, drop, reject, forward, and mirror actions.
Ordered rules
Drag rows, change priority, and watch the policy map, warnings, and test-packet behavior update.
| # | Enabled | Name | Source | Destination | Protocol | Source port | Destination port | Action | Target | Actions |
|---|
Changes since loading
After a scenario or file is loaded, the editor keeps that version as the comparison point and shows representative packets whose behavior has changed. This is a practical check, not a formal proof of equivalence.
Import an existing policy
Auto-detection supports editor project JSON, KernelSoft XDP rules, CSV, iptables-save, a basic nftables subset, simplified <nftables> XML, and Suricata/Snort L3/L4 rule headers. The editor reports any variables or unsupported options that it simplifies or omits.
Export and compatibility
Choose a target format. The output updates after every edit, and the compatibility panel explains which semantics the target format can preserve.
Target compatibility
Policy map and packet trace
The map is derived from enabled rules. Running a packet highlights the rules evaluated, the matching source-to-destination path, and the resulting action.
Evaluation log
Each step shows the packet value, every enabled rule condition, and the result of the check.
Source → destination policy map
A consolidated view of allowed, blocked, and redirected flows between sources and destinations.
Policy findings
Checks are deterministic for the supported L3/L4 subset.
FORMATS AND BOUNDARIES
One visual model for several policy formats
Flow policy
nftables, iptables, and KernelSoft XDP rules use ordered L3/L4 matches and actions. The editor preserves rule priority and makes first-match semantics explicit.
Inspection policy
Suricata and Snort rules may include payload conditions, flow state, PCRE expressions, and application-layer buffers. The current version imports only the L3/L4 rule header and clearly marks the remaining semantics as non-portable.
Capability-aware export
Generating text does not make an export correct. The compatibility panel shows which actions, ranges, and protocols the target format cannot preserve.
rules = ( ... ); configuration syntax: IPv4, required TCP/UDP, wildcard or exact ports, and pass, drop, forward, and split actions. For forward and split, the action destination is preserved in dst_ip and dst_port. An ANY protocol rule is expanded into separate TCP and UDP rules. Port ranges, IPv6, reject, and payload conditions are flagged as incompatible.