Resolve cnspec warnings for ICMP redirects

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-08-28 18:41:29 +02:00
parent 3046b3d428
commit 75d7af83ce
Signed by: luzifer
SSH Key Fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pkgname=(
luzifer-gui
luzifer-lenovo-gui
)
pkgver=0.11.0
pkgver=0.11.1
pkgrel=1
pkgdesc='System configuration for @luzifer systems'
arch=(any)

View File

@ -8,3 +8,13 @@ net.ipv4.conf.default.rp_filter = 1
# CNSPEC: Ensure core dumps are restricted
fs.suid_dumpable = 0
# CNSPEC: Ensure ICMP redirects are not accepted
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
# CNSPEC: Ensure secure ICMP redirects are not accepted
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0