From 1efeddf183d55004ba73e8c5755904a45f529dc4 Mon Sep 17 00:00:00 2001 From: ppom <> Date: Sat, 25 Mar 2023 18:17:19 +0100 Subject: [PATCH] Remove unused cdc. reaction.yml is for now the reference Waiting for a proper Readme --- cdc.md | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 cdc.md diff --git a/cdc.md b/cdc.md deleted file mode 100644 index b3cd9c4..0000000 --- a/cdc.md +++ /dev/null @@ -1,32 +0,0 @@ -# Serveur - -`reactiond ` - -Avec un défaut à `/etc/reaction/reactiond.conf` - -```yaml -definitions: - - &iptablesban iptables -I reaction 1 -s -j block - - &iptablesunban iptables -D reaction 1 -s -j block - -regexes: - ip: '(([0-9]{1,3}\.){3}[0-9]{1,3})|([0-9a-fA-F:]{2,90})' - -streams: - nextcloud: - cmd: journalctl -fu phpfpm-nextcloud.service - filters: - failed-login: - regex: - - '"message":"Login failed: .\+ (Remote IP: )"' - retry: 3 - retry-period: 1h - actions: - ban: - cmd: *iptablesban - unban: - cmd: *iptablesunban - after: 1h -``` - -reactionc: le client