Feb_06_2024-Dev

This commit is contained in:
Ned Wright
2024-02-06 16:41:40 +00:00
parent 9f8535c0f7
commit 623951a2f0
59 changed files with 2207 additions and 1168 deletions

View File

@@ -15,6 +15,7 @@ target_link_libraries(cp-nano-http-transaction-handler
pcre2-posix
yajl_s
hiredis
maxminddb
-lshmem_ipc
-lnginx_attachment_util
@@ -38,6 +39,8 @@ target_link_libraries(cp-nano-http-transaction-handler
ips
keywords
l7_access_control
geo_location
http_geo_filter
-Wl,--end-group
)

View File

@@ -21,6 +21,8 @@
#include "waap.h"
#include "ips_comp.h"
#include "keyword_comp.h"
#include "http_geo_filter.h"
#include "geo_location.h"
int
main(int argc, char **argv)
@@ -34,7 +36,9 @@ main(int argc, char **argv)
RateLimit,
WaapComponent,
IPSComp,
KeywordComp
KeywordComp,
GeoLocation,
HttpGeoFilter
> comps;
comps.registerGlobalValue<bool>("Is Rest primary routine", true);

View File

@@ -1027,6 +1027,10 @@ run_status() # Initials - rs
for service in $all_services; do
print_single_service_status "$service"
done
if command -v getenforce &>/dev/null && [ "$(getenforce)" != "Disabled" ]; then
echo "SELinux has been detected, which could potentially disrupt the agent's normal operation."
fi
}
run_load_settings() # Initials - rls