Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
Firewall and netfilter
v0.1.3iptables, 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.
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:e2fc202015e73e8bbc7c98898b3ff75cb56221dc5d5dd155fe3d90793698c190
sudo emisar pack install firewall \ --hash sha256:e2fc202015e73e8bbc7c98898b3ff75cb56221dc5d5dd155fe3d90793698c190 \ --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