Hydra installieren
brute Force auf den Rechner
- hydra -S -v -l xinux -P bad-passwords -s 993 -f 10.88.201.21 imap
sshd in fail2ban aktivieren
- sed -ie "/^\[dovecot\]/aenabled = true" jail.local
fail2ban neustarten
- systemctl restart fail2ban
Status checken
- fail2ban-client status dovecot
Status for the jail: dovecot
|- Filter
| |- Currently failed: 0
| |- Total failed: 45
| `- File list: /var/log/mail.log
`- Actions
|- Currently banned: 0
|- Total banned: 1
`- Banned IP list:
Alles unbannen
- fail2ban-client unban --all