security_iptables_check
iptables firewall audit — Audit an iptables-save ruleset offline (text=, optional ipv6= with ip6tables-save). Finds default-allow INPUT/FORWARD policies, catch-all ACCEPT rules, unreachable rules after a catch-all, databases/Redis/Docker API/etcd/kubelet/RDP/SMB/VNC and 35+ risky ports open to the internet, SSH without rate limiting, all-port accepts, missing loopback / ESTABLISHED rules, no logging, ICMP fully blocked, Docker-published ports bypassing INPUT and IPv6 left open while IPv4 is locked down. Follows user chains (ufw etc.). Returns PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score and grade, exposed ports, findings with fixes and a hardened example ruleset. Example: /v1/security/iptables-check?text=-A INPUT -p tcp --dport 6379 -j ACCEPT (send full iptables-save output, one rule per line) Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_iptables_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | -A INPUT -p tcp --dport 6379 -j ACCEPT |