TMA-LNX-NET-SEND-REDIRECTS
Ensure packet redirect sending is disabled
OrtaDüzey 1Otomatiklinux
Açıklama
Kernel parameter net.ipv4.conf.all.send_redirects should be 0.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
sysctl -n net.ipv4.conf.all.send_redirects- Beklenen çıktı
0
Nasıl düzeltilir
Düzeltme yöntemi: Kabuk komutu
shell
sysctl -w net.ipv4.conf.all.send_redirects=0 && printf 'net.ipv4.conf.all.send_redirects = 0\n' > /etc/sysctl.d/60-tmaegis-net_ipv4_conf_all_send_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