Elastic Compute Service
Configuration item | Value | Description |
Configuration item | Value | Description |
net.core.netdev_max_backlog | 16384 | Maximum number of backlogged packets |
net.core.somaxconn | 16384 | Maximum number of pending listen sockets |
net.ipv4.tcp_max_syn_backlog | 16384 | Maximum number of backlogged SYN packets |
net.ipv4.ip_local_port_range | 10000 65535 | Restrictions on local minimum and maximum ports |
net.ipv4.tcp_max_orphans | 2097152 | Maximum number of isolated connections |
net.ipv4.tcp_max_tw_buckets | 1048576 | Total TIME_WAIT count |
Configuration item | Value | Description |
Configuration item | Value | Description |
net.core.rmem_max | 16777216 | Maximum socket read buffer |
net.core.wmem_max | 16777216 | Maximum socket write buffer |
net.ipv4.tcp_rmem | 4096 87380 33554432 | Minimum, default, and maximum values of the TCP read buffer |
net.ipv4.tcp_wmem | 4096 65536 33554432 | Minimum, default, and maximum values of the TCP read buffer |
net.ipv4.tcp_slow_start_after_idle | 0 | TCP connections do not enter slow start after idling |
net.ipv4.tcp_fastopen | 3 | Both the client and server enable TCP Fast Open |
net.ipv4.tcp_fin_timeout | 15 | Maximum duration of the FIN_WAIT_2 status |
Configuration item | Value | Description |
Configuration item | Value | Description |
net.ipv4.ip_forward | 0 | IP forwarding between network ports is disabled |
net.ipv6.conf.all.forwarding | 0 | IPv6 forwarding between network ports is disabled |
net.ipv4.tcp_syncookies | 1 | The SYN Cookie feature is enabled to prevent SYN attacks |
net.ipv4.conf.all.route_localnet | 0 | Cross-machine loopback access is prevented |
Configuration item | Value | Description |
Configuration item | Value | Description |
net.ipv4.tcp_tw_recycle | 0 | Fast recycling of TIME-WAIT sockets is disabled |
net.ipv4.tcp_tw_reuse | 1 | Reuse of TIME-WAIT sockets is allowed |
net.ipv4.tcp_orphan_retries | 2 | Number of RTO retries |
net.ipv4.tcp_synack_retries | 2 | SYNACK retry count |
net.ipv4.tcp_syn_retries | 3 | SYN retry count |
net.ipv4.tcp_thin_linear_timeouts | 1 | Linear timeout retransmission is enabled |
Configuration item | Value | Description |
Configuration item | Value | Description |
kernel.dmesg_restrict | 1 | Ordinary users are not allowed to read dmesg |
kernel.randomize_va_space | 2 | Address Space Layout Randomization is enabled |
vm.unprivileged_userfaultfd | 0 | Ordinary users are not allowed to use userfaultfd system calls |
kernel.kptr_restrict | 1 | Only those with the CAP_SYSLOG permission and where euid equals ruid can read kernel addresses printed via %pK (that is, by reading /proc/kallsyms to obtain the addresses of kernel exported symbols). |
Configuration item | Value | Description |
Configuration item | Value | Description |
kernel.yama.ptrace_scope | 1 | PTRACE_ATTACH feature is disabled |
kernel.unprivileged_bpf_disabled | 1 | Ordinary users are not allowed to use eBPF system calls |
fs.protected_hardlinks | 1 | Any user is restricted from creating hard links to arbitrary files |
fs.protected_symlinks | 1 | Symbolic links are verified |
fs.suid_dumpable | 0 | SUID_DUMP_DISABLE prevents malicious exploitation of coredumps of protected or tainted processes |
kernel.perf_event_paranoid | 2 | Ordinary users access to perf events is restricted. When the CAP_SYS_ADMIN privilege is not held, they are blocked to use kernel profiling, CPU events, ftrace function tracepoints, and raw tracepoints. |
Configuration item | Value | Description |
Configuration item | Value | Description |
vm.swappiness | 0 | Maximum utilization of physical memory |
vm.max_map_count | 2097152 | Maximum memory space available to a single process |
Configuration item | Value | Description |
Configuration item | Value | Description |
kernel.sched_schedstats | 1 | Enable scheduler statistics to add debugging and statistical information. |
net.core.bpf_jit_enable | 1 | eBPF is enabled |
Configuration item | Value | Description |
Configuration item | Value | Description |
kernel.pid_max | 4194303 | Maximum PID |
fs.file-max | 12288000 | Maximum File Descriptors |
net.unix.max_dgram_qlen | 512 | Unix socket queue length |