Commit Graph
15 Commits
Author SHA1 Message Date
FusionPBX 446f4615bf Bug fix use column instead of field
If updated in the last few days then you need should clear the file cache. Also disabled event_guard_log_allowed until there is a setting to enable or disable it.

Update the source code
cd /var/www/fusionpbx
rm /var/cache/fusionpbx/*
service event_guard restart
2022-09-18 17:53:03 -06:00
FusionPBX 410bab6d05 Allow access for addresses that have been unblocked 2022-09-15 17:34:38 -06:00
FusionPBX 1d55981cbb Add user_log_allowed function. 2022-09-15 17:00:57 -06:00
FusionPBX 4fce9a4565 Filter for specific Events 2022-09-15 16:01:47 -06:00
FusionPBX 2ca336e956 Wait until event socket is ready then connect to it.
If FreeSWITCH is not started yet then wait to connect to it then
2022-08-26 12:05:28 -06:00
FusionPBX 01b31dce1a Watch for event_guard:unblock and more debug info. 2022-08-20 12:47:24 -06:00
FusionPBX f8f09f9a31 Skip resolving IP addresses to improve performance. 2022-08-18 23:31:42 -06:00
FusionPBX 9b06671810 Add ability to unblock addresses and use more descriptive variable names. 2022-08-17 00:06:52 -06:00
FusionPBX 8a3af98f6b Multiple changes including reconnect to event socket if needed.
- IN function block replace array with event to prevent a naming conflict.
- Reconnect to event socket if the connection is lost.
- Use condition if is_array around each foreach.
- Unset the database connection
- Use event socket variables and close the session before the loop
2022-08-15 14:54:49 -06:00
FusionPBX 2c5c522186 Add a better way to detect if the iptables chain exists. 2022-08-02 12:34:03 -06:00
FusionPBX 7f494e3baf Add the user_agent field. 2022-08-01 23:38:03 -06:00
FusionPBX 73ded9bf60 Remove cache from switch.blocked.
Since the IP address is blocked don't need to cache it.
2022-08-01 19:37:59 -06:00
FusionPBX 95c358f8e4 Add database log for new blocked address. 2022-07-28 11:15:48 -06:00
FusionPBX 22a243ceb4 Update and rename app/switch/resources/service/debian-event_guard.service to app/event_guard/resources/service/debian.service
Move event guard to its own directory.
2022-07-28 08:38:16 -06:00
FusionPBX 9d2efbeccb Rename app/switch/resources/service/event_guard.php to app/event_guard/resources/service/event_guard.php
Move the event_guard service to its own directory name.
2022-07-28 08:35:16 -06:00