TMA-LNX-NET-SEND-REDIRECTS
Ensure packet redirect sending is disabled
Trung bìnhCấp 1Tự độnglinux
Mô tả
Kernel parameter net.ipv4.conf.all.send_redirects should be 0.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
sysctl -n net.ipv4.conf.all.send_redirects- Đầu ra mong đợi
0
Cách khắc phục
Phương pháp khắc phục: Lệnh shell
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.confThuộc tính
- Hệ điều hành
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Thẻ
- kernelsysctlnetwork
- Tham chiếu
- CIS Linux Benchmark - Network Configuration / Kernel Parameters (verify section number for your distro release)
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target linux