TMAegisBeta
Thêm quy tắc cho solaris

Oracle Solaris

TMA-SOLARIS-3.16

Set Maximum Number of Incoming Connections

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

Mô tả

This setting controls the maximum number of incoming connections that can be accepted on a TCP port. Note that the value of 1024 is a minimum to establish a good security posture for this setting. In environments where connection numbers are high, such as a busy webserver, this value may need to be increased. Audit: `ipadm show-prop -p _conn_req_max_q` must be 1024 for both the current and persistent values.

Cách kiểm tra

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

shell
command -v ipadm >/dev/null 2>&1 || exit 1; r=compliant; for p in tcp; do for k in current persistent; do v=$(ipadm show-prop -p _conn_req_max_q -co $k $p 2>/dev/null); [ "$v" = '1024' ] || r="_conn_req_max_q $p $k=$v"; done; done; echo "$r"
Đầu ra mong đợi
compliant

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

ipadm set-prop -p _conn_req_max_q=1024 tcp

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
solarishardening
Tham chiếu
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 3.16 Set Maximum Number of Incoming Connections

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 solaris