From 113700a7418195524d7871d58ae2aee8e67a86f7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 3 Feb 2021 17:55:24 -0700 Subject: [PATCH] Copy the freeswitch-acl.conf filter into the fail2ban filter.d directory. --- debian/resources/fail2ban.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/resources/fail2ban.sh b/debian/resources/fail2ban.sh index e822578..87525ea 100755 --- a/debian/resources/fail2ban.sh +++ b/debian/resources/fail2ban.sh @@ -15,11 +15,12 @@ verbose "Installing Fail2ban" apt-get install -y fail2ban #move the filters +cp fail2ban/freeswitch.conf /etc/fail2ban/filter.d/freeswitch.conf +cp fail2ban/freeswitch-acl.conf /etc/fail2ban/filter.d/freeswitch-acl.conf cp fail2ban/sip-auth-failure.conf /etc/fail2ban/filter.d/sip-auth-failure.conf cp fail2ban/sip-auth-challenge.conf /etc/fail2ban/filter.d/sip-auth-challenge.conf cp fail2ban/auth-challenge-ip.conf /etc/fail2ban/filter.d/auth-challenge-ip.conf cp fail2ban/freeswitch-ip.conf /etc/fail2ban/filter.d/freeswitch-ip.conf -cp fail2ban/freeswitch.conf /etc/fail2ban/filter.d/freeswitch.conf cp fail2ban/fusionpbx.conf /etc/fail2ban/filter.d/fusionpbx.conf cp fail2ban/fusionpbx-mac.conf /etc/fail2ban/filter.d/fusionpbx-mac.conf cp fail2ban/fusionpbx-404.conf /etc/fail2ban/filter.d/fusionpbx-404.conf