mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-11 20:51:35 +01:00
Add AppArmor profile in extras/security/apparmor/unrealircd
See: https://www.unrealircd.org/docs/Using_AppArmor_with_UnrealIRCd
This commit is contained in:
parent
0d99670391
commit
f7df81fd24
1 changed files with 28 additions and 0 deletions
28
extras/security/apparmor/unrealircd
Normal file
28
extras/security/apparmor/unrealircd
Normal file
|
@ -0,0 +1,28 @@
|
|||
# AppArmor profile for UnrealIRCd 4.0.16+
|
||||
#
|
||||
# Note that you may still see some DENIED warnings in logs with
|
||||
# operation="chmod". These are harmless and can be safely ignored.
|
||||
#
|
||||
# Tested on Ubuntu 16.x and 17.x
|
||||
#
|
||||
# NOTE: you will have to modify the path to executable below
|
||||
# if it's not /home/ircd/unrealircd/bin/unrealircd.
|
||||
|
||||
#include <tunables/global>
|
||||
|
||||
# Change the pathname of your UnrealIRCd executable here:
|
||||
/home/ircd/unrealircd/bin/unrealircd {
|
||||
#include <abstractions/base>
|
||||
#include <abstractions/nameservice>
|
||||
|
||||
@{HOME}/unrealircd/conf/ r,
|
||||
@{HOME}/unrealircd/conf/** r,
|
||||
@{HOME}/unrealircd/data/ircd.tune rw,
|
||||
@{HOME}/unrealircd/data/unrealircd.pid rw,
|
||||
@{HOME}/unrealircd/lib/*.so* mr,
|
||||
@{HOME}/unrealircd/logs/* rw,
|
||||
@{HOME}/unrealircd/modules/**.so r,
|
||||
@{HOME}/unrealircd/tmp/ r,
|
||||
@{HOME}/unrealircd/tmp/* mrw,
|
||||
@{HOME}/unrealircd/bin/unrealircd mr,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue