浏览代码

Create event_guard.rst

FusionPBX 2 年之前
父节点
当前提交
1c971a0ca8
共有 1 个文件被更改,包括 34 次插入0 次删除
  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 &
+
+::
+