feat(profiles): general update.
This commit is contained in:
parent
3ff8e3847d
commit
558cb68f23
27 changed files with 155 additions and 150 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue