Commit Graph

6 Commits

Author SHA1 Message Date
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 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