TMAegis
Thêm quy tắc cho aix

IBM AIX

TMA-AIX-4.5.1

Ensure sockthresh is configured

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

Mô tả

The sockthresh parameter value determines what percentage of the total memory allocated to networking, set via thewall, can be used for sockets. The sockthresh parameterwill be set to 60. This means that 60% of network memory can be used to service new socket connections, the remaining 40% is reserved for existing sockets. This ensures a quality of service for existing connections. Audit: `no -o sockthresh` must report 60.

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 sockthresh 2>/dev/null) || exit 1; printf '%s\n' "$out" | sed 's/[[:blank:]]*=[[:blank:]]*/=/'
Đầu ra mong đợi
sockthresh=60

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 sockthresh=60 (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ẻ
aixhardening
Tham chiếu
CIS IBM AIX 7 Benchmark v1.2.0 - 4.5.1 Ensure sockthresh is configured

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