[FAIL2BAN] use jail.d conf files #8

Open
opened 2019-03-21 15:26:05 +01:00 by gcolpart · 0 comments
Owner

Issue imported from forge.evolix.org on 2019-03-21 14:26:05

  • Project: ansible-roles
  • Issue: 2479
  • Tracker: Evolution
  • Status: Nouveau
  • Author: Gregory C.
  • Category:
  • Started at: 2018-08-23 00:00:00
  • Done ratio: 0
  • Created at: 2018-08-23 10:45:47
  • Updated at: 2018-08-23 10:45:47

Fail2Ban can use conf files in /etc/fail2ban/jail.d/*.conf
We can use pattern evolinux-defaults/custom settings (please define it before in HowtoFail2Ban wiki).

Note : in Debian 9, sshd jail is enabled by default via /etc/fail2ban/jail.d/defaults-debian.conf file. We want sshd jail disabled by default, then we need override via /etc/fail2ban/jail.d/evolinux-defaults.conf and offer possibility to enable via Ansible var in etc/fail2ban/jail.d/evolinux-custom.conf

> **Issue imported from forge.evolix.org on 2019-03-21 14:26:05** > * Project: ansible-roles > * Issue: 2479 > * Tracker: Evolution > * Status: Nouveau > * Author: Gregory C. > * Category: > * Started at: 2018-08-23 00:00:00 > * Done ratio: 0 > * Created at: 2018-08-23 10:45:47 > * Updated at: 2018-08-23 10:45:47 Fail2Ban can use conf files in /etc/fail2ban/jail.d/\*.conf We can use pattern evolinux-defaults/custom settings (please define it before in HowtoFail2Ban wiki). Note : in Debian 9, sshd jail is enabled by default via /etc/fail2ban/jail.d/defaults-debian.conf file. We want sshd jail disabled by default, then we need override via /etc/fail2ban/jail.d/evolinux-defaults.conf and offer possibility to enable via Ansible var in etc/fail2ban/jail.d/evolinux-custom.conf
benpro added the
question
enhancement
labels 2019-08-14 10:15:58 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#8
No description provided.