Procházet zdrojové kódy

Copy the freeswitch-acl.conf filter into the fail2ban filter.d directory.

FusionPBX před 4 roky
rodič
revize
113700a741
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      debian/resources/fail2ban.sh

+ 2 - 1
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