initial commit
This commit is contained in:
commit
04e85a78ea
22
cdc.md
Normal file
22
cdc.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Serveur
|
||||||
|
|
||||||
|
`reactiond <FILEPATH>`
|
||||||
|
|
||||||
|
Avec un défaut à `/etc/reaction/reactiond.conf`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
actions:
|
||||||
|
iptables:
|
||||||
|
|
||||||
|
regexes:
|
||||||
|
IP: '(([0-9]{1,3}\.){3}[0-9]{1,3})|([0-9a-fA-F:]{2,90})'
|
||||||
|
streams:
|
||||||
|
nextcloud:
|
||||||
|
command: journalctl -fu phpfpm-nextcloud.service
|
||||||
|
actions:
|
||||||
|
- regex: '"message":"Login failed: .\+ (Remote IP: \(?<IP>[0-9a-fA-F.:]\+\))"'
|
||||||
|
# Can also be a list
|
||||||
|
do: iptables -I f2b-nextcloud 1 -s <ip> -j <blocktype>
|
||||||
|
```
|
||||||
|
|
||||||
|
reactionc: le client
|
Loading…
Reference in New Issue
Block a user