Linux distributions
TMA-LNX-NET-ACCEPT-REDIRECTS
Ensure ICMP redirects are not accepted
OrtaDüzey 1Otomatiklinux
Açıklama
Kernel parameter net.ipv4.conf.all.accept_redirects should be 0.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
sysctl -n net.ipv4.conf.all.accept_redirects- Beklenen çıktı
0
Nasıl düzeltilir
Düzeltme yöntemi: Kabuk komutu
shell
sysctl -w net.ipv4.conf.all.accept_redirects=0 && printf 'net.ipv4.conf.all.accept_redirects = 0\n' > /etc/sysctl.d/60-tmaegis-net_ipv4_conf_all_accept_redirects.confÖzellikler
- İşletim sistemleri
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Etiketler
- kernelsysctlnetwork
- Referans
- CIS Linux Benchmark - Network Configuration / Kernel Parameters (verify section number for your distro release)
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target linux