Commit Graph

35 Commits

Author SHA1 Message Date
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 4f2d0316c5
Add custom event_guard:unblock 2022-08-20 12:48:41 -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 82bb973ea7
Update the event_guard constructor. 2022-08-17 17:27:47 -06:00
FusionPBX 7e34f1f8f4
Add permission event_guard_log_unblock 2022-08-17 17:26:26 -06:00
FusionPBX 074628ca7a
Add method unblock to the event_guard class. 2022-08-17 00:27:08 -06:00
FusionPBX 2177091702
Use unblock instead of delete. 2022-08-17 00:25:53 -06:00
FusionPBX c2085c2320
Add button-unblock, label-unblocked, and label-pending 2022-08-17 00:23:54 -06:00
FusionPBX 9b06671810
Add ability to unblock addresses and use more descriptive variable names. 2022-08-17 00:06:52 -06:00
FusionPBX 3519353008
Hide a few columns for smaller screens. 2022-08-16 11:51:13 -06:00
Alex d9ed7a343f
Update devices.php (#6454)
* Update devices.php

* Update event_guard_logs.php
2022-08-16 11:27:17 -06:00
Alex 93c90c8969
Add a filter dropdown (#6453)
* Update event_guard_logs.php
2022-08-16 10:56:30 -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 a4ff0f1007
Format the date and time with the time zone. 2022-08-02 12:59:09 -06:00
FusionPBX 2c5c522186
Add a better way to detect if the iptables chain exists. 2022-08-02 12:34:03 -06:00
FusionPBX c12b03d31a
Disable the toggle. 2022-08-01 23:41:44 -06:00
FusionPBX 7f494e3baf
Add the user_agent field. 2022-08-01 23:38:03 -06:00
FusionPBX 79b5f70cdf
Add the user_agent field. 2022-08-01 23:37:18 -06:00
FusionPBX d384547adb
Add the user_agent field. 2022-08-01 23:36:47 -06:00
FusionPBX 0680a4d252
Add label and description for user_agent. 2022-08-01 23:36:05 -06:00
FusionPBX 054a33cf3e
Add the user_agent field. 2022-08-01 23:35:31 -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 5997aae095
Fix the search and add a link to arin.net 2022-07-29 15:59:21 -06:00
FusionPBX 95c358f8e4
Add database log for new blocked address. 2022-07-28 11:15:48 -06:00
FusionPBX 7897bd16aa
Update event_guard_logs.php 2022-07-28 09:34:16 -06:00
FusionPBX 02522b11f3
Create event_guard.php 2022-07-28 09:33:09 -06:00
FusionPBX 2b457c9dfb
Create root.php 2022-07-28 09:31:04 -06:00
FusionPBX 8779206311
Create event_guard_logs.php 2022-07-28 09:30:41 -06:00
FusionPBX 9c8840ed6a
Create event_guard_log_edit.php 2022-07-28 09:30:00 -06:00
FusionPBX 5dd4459acd
Create app_menu.php 2022-07-28 09:29:28 -06:00
FusionPBX 37f754336b
Create app_languages.php 2022-07-28 09:29:01 -06:00
FusionPBX 1f6a081471
Create app_config.php 2022-07-28 09:28:36 -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