TMA-LNX-NET-ACCEPT-REDIRECTS
Ensure ICMP redirects are not accepted
보통레벨 1자동linux
설명
Kernel parameter net.ipv4.conf.all.accept_redirects should be 0.
점검 방법
감사 방식: 셸 명령
shell
sysctl -n net.ipv4.conf.all.accept_redirects- 예상 출력
0
조치 방법
조치 방식: 셸 명령
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속성
- 운영 체제
- ubuntu-22.04, ubuntu-24.04, rocky-9
- 태그
- kernelsysctlnetwork
- 참고 자료
- CIS Linux Benchmark - Network Configuration / Kernel Parameters (verify section number for your distro release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target linux