Selaa lähdekoodia

Create event_guard.rst

FusionPBX 3 vuotta sitten
vanhempi
commit
1c971a0ca8
1 muutettua tiedostoa jossa 34 lisäystä ja 0 poistoa
  1. 34 0
      source/status/event_guard.rst

+ 34 - 0
source/status/event_guard.rst

@@ -0,0 +1,34 @@
+########
+Event Guard
+########
+
+This is an optional service called event_guard and it was designed to protect your VoIP server. It watches registration events and blocks those that abuse it. It doesn't watch server logs. It currently supports iptables and pf firewalls. Netfilter firwall support will be added in the future.
+
+Install Instructions
+^^^^^^^^^^^^^^^^^^^^
+
+- Make sure to upgrade to the latest FusionPBX version
+- Update the database structure
+
+  - Advanced -> Upgrade -> Schema
+  
+- Update App Defaults
+
+  - Advanced -> Upgrade -> App Defaults
+  
+* Run the following commands to install as a service
+
+::
+
+ cp /var/www/fusionpbx/app/event_guard/resources/service/debian.service /etc/systemd/system/event_guard.service
+ systemctl enable event_guard
+ systemctl start event_guard
+ systemctl daemon-reload
+
+
+- or as a cron job
+
+ php /var/www/fusionpbx/app/event_guard/resources/service/event_guard.php >/dev/null 2>&1 &
+
+::
+