Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
Firewall and netfilter
v0.1.6iptables, nftables, conntrack, and traffic-control inspection plus narrow operator actions for incident response (block IP, unblock IP, flush chain). Rule edits are not persisted across iptables service reload — use IaC for permanent rules.
iptables
Install
emisar pack install
validates the pack and verifies its content hash before copying it into /etc/emisar/packs.
The --hash
below pins the
install to the exact bytes on this page — a tampered copy is rejected. After
install, reload the runner; it re-reads the catalog and advertises every action.
content hash: sha256:438f96c9711cc49487224cec7ba9210b38a9b9a5e7b849c72528f3507a02b6cb
sudo emisar pack install firewall \ --hash sha256:438f96c9711cc49487224cec7ba9210b38a9b9a5e7b849c72528f3507a02b6cb \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 11 total
View on GitHub-
conntrack count
-
conntrack -L (capped)
-
ip rule show
-
iptables -I INPUT -s <ip> -j DROP
-
iptables -L -nv (filter table)
-
iptables -F <chain>
-
iptables -L -nv (mangle table)
-
iptables -L -nv (nat table)
-
iptables -D INPUT -s <ip> -j DROP
-
nft list ruleset
-
tc -s qdisc show