TMAegis
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.5.6

Ensure ipforwarding is disabled

Trung bìnhCấp 1Tự độngaix

Mô tả

The ipforwarding parameter determines whether or not the system forwards TCP/IP packets. The ipforwarding 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 ipforwarding` must report 0.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
command -v no >/dev/null 2>&1 || exit 1; out=$(no -o ipforwarding 2>/dev/null) || exit 1; printf '%s\n' "$out" | sed 's/[[:blank:]]*=[[:blank:]]*/=/'
Đầu ra mong đợi
ipforwarding=0

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

no -p -o ipforwarding=0 (sets the running value and makes it persistent in /etc/tunables/nextboot)

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
aixnetwork
Tham chiếu
CIS IBM AIX 7 Benchmark v1.2.0 - 4.5.6 Ensure ipforwarding is disabled

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 aix