From f55160af3f25fff17d3af4dde50a606c2c78f79b Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 9 Nov 2024 23:50:46 +0000 Subject: Make NOTICE alerts about client (dis)connection and authentication events optional. New configuration options added: - alertconnect - alertauthfail - alertauthsuccess - alertunautheddisconnect - alertautheddisconnect --- structures.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'structures.h') diff --git a/structures.h b/structures.h index d070638..b2585bd 100644 --- a/structures.h +++ b/structures.h @@ -83,6 +83,11 @@ struct settings { int debugkeep; int background; // Whether or not we're running in the background (detached from the terminal as a daemon) int replaydates; // Whether or not to include datestamps when replaying the replay log + int alertconnect; + int alertauthfail; + int alertauthsuccess; + int alertunautheddisconnect; + int alertautheddisconnect; }; // Structure of a connected client, their socket/file descriptors, their authentication status, and their OpenSSL structures -- cgit v1.2.3