kill_states
Flush pf state-table entries to clear tracked firewall connections, optionally filtering by source IP. Preview with dry-run before applying.
Instructions
[WRITE][risk=medium] Flush pf state-table entries (optionally one source IP).
Drops tracked connections; they re-establish on the next packet. This includes THIS tool's own connection state, so the call may appear to fail even though the flush ran — that is a lost response, not a lockout, and a blind retry is the wrong reaction. Access is not lost: the permitting rule is untouched. Pass dry_run=True to preview.
Args: filter_ip: Optional source IP to scope the flush to (blank = all states). dry_run: If True, preview without flushing. target: Firewall target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| filter_ip | No |