summaryrefslogtreecommitdiff
path: root/hosts/rod/scripts/fail2ban-unban-ip
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-12 22:26:02 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-12 22:36:49 -0500
commit53a0a5473f45d37027af9663638adbf56667e4ca (patch)
tree05c6c39678a9005f95c00e0fdf31193657bd4d3d /hosts/rod/scripts/fail2ban-unban-ip
downloaddotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.tar.gz
dotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.tar.bz2
dotfiles-53a0a5473f45d37027af9663638adbf56667e4ca.zip
Hopefully no leaks
Diffstat (limited to 'hosts/rod/scripts/fail2ban-unban-ip')
-rwxr-xr-xhosts/rod/scripts/fail2ban-unban-ip3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/rod/scripts/fail2ban-unban-ip b/hosts/rod/scripts/fail2ban-unban-ip
new file mode 100755
index 0000000..6ca4842
--- /dev/null
+++ b/hosts/rod/scripts/fail2ban-unban-ip
@@ -0,0 +1,3 @@
+#! /usr/bin/env sh
+# Get jail names, sudo fail2ban-client status
+fail2ban-client set $1 unbanip $2