A focused, terminal UI for scanning Fail2Ban jails and unbanning IPs.
- Two-panel TUI (jails on the left, banned IPs on the right)
- Remaining time shown next to banned IPs (when supported by fail2ban)
- Jail detail panel with bantime/findtime/maxretry
- Filter + sort for IP list
- Auto-refresh toggle
- Unban all with double confirmation
- Keyboard and mouse support
- Confirm prompt before unbanning
- Works directly with
fail2ban-client
sudo f2bscurl -fsSL https://raw.githubusercontent.com/hexajohnny/f2bs/main/install.sh | sudo shq: quitr: refresht: toggle auto-refresh/: filter IP list (type, thenenterto apply,escto cancel)x: clear filters: toggle sort (IP or time left)b: ban an IP in the selected jailtab: switch panelsenter: unban selected IPA: unban all in selected jail (double confirm)y/n: confirm/cancel unban- mouse click: select jail or IP, click Confirm/Cancel in modal
- Requires
fail2ban-clienton PATH. - Requires root privileges for unban operations. Run with
sudo f2bs.
f2bs is dual-licensed under MIT or Apache-2.0, matching the duviz project.
See LICENSE-MIT and LICENSE-APACHE in this folder.
