feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-07 17:57:57 +00:00
parent 3ff8e3847d
commit 558cb68f23
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
27 changed files with 155 additions and 150 deletions

View file

@ -10,8 +10,14 @@ include <tunables/global>
profile fail2ban-server @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/openssl>
include <abstractions/python>
capability dac_read_search,
capability net_admin,
network netlink raw,
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
@ -27,8 +33,8 @@ profile fail2ban-server @{exec_path} flags=(attach_disconnected) {
/var/log/auth.log r,
/var/log/fail2ban.log w,
@{run}/fail2ban/fail2ban.pid w,
@{run}/fail2ban/fail2ban.sock w,
@{run}/fail2ban/fail2ban.pid rw,
@{run}/fail2ban/fail2ban.sock rw,
@{run}/resolvconf/resolv.conf r,
owner @{PROC}/@{pid}/fd/ r,