diff options
author | Luke Bratch <luke@bratch.co.uk> | 2024-11-09 23:50:46 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2024-11-09 23:50:46 +0000 |
commit | f55160af3f25fff17d3af4dde50a606c2c78f79b (patch) | |
tree | bc0eb6a581a33d3b81d5b1cf1becf40418c8e9ed /structures.h | |
parent | 59addf47eca6a0be54e3b07c4ed2b156a8431376 (diff) |
Make NOTICE alerts about client (dis)connection and authentication events optional.
New configuration options added:
- alertconnect
- alertauthfail
- alertauthsuccess
- alertunautheddisconnect
- alertautheddisconnect
Diffstat (limited to 'structures.h')
-rw-r--r-- | structures.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |