IBM AIX
TMA-AIX-4.5.7
Ensure ip6forwarding is disabled
中等級 1自動化aix
說明
The ip6forwarding parameter determines whether or not the system forwards IPv6 TCP/IP packets. The ip6forwarding parameter will be set to 0, to ensure that redirected packets do not reach remote networks. This should only be enabled if the system is performing the function of an IP router. This is typically handled by a dedicated network device. Audit: `no -o ip6forwarding` must report 0.
檢查方式
稽核方法: Shell 指令
shell
command -v no >/dev/null 2>&1 || exit 1; out=$(no -o ip6forwarding 2>/dev/null) || exit 1; printf '%s\n' "$out" | sed 's/[[:blank:]]*=[[:blank:]]*/=/'- 預期輸出
ip6forwarding=0
修補方式
修補方法: 操作指南或基礎設施修補檔
no -p -o ip6forwarding=0 (sets the running value and makes it persistent in /etc/tunables/nextboot)
屬性
- 作業系統
- 不限
- 標籤
- aixnetwork
- 參考資料
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.5.7 Ensure ip6forwarding is disabled
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target aix