4 |
- |
1 |
# Kernel sysctl configuration file for Red Hat Linux
|
|
|
2 |
#
|
|
|
3 |
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
|
|
|
4 |
# sysctl.conf(5) for more details.
|
58 |
- |
5 |
#
|
|
|
6 |
# Use '/sbin/sysctl -a' to list all possible parameters.
|
4 |
- |
7 |
|
|
|
8 |
# Controls IP packet forwarding
|
166 |
- |
9 |
net.ipv4.ip_forward = 1
|
4 |
- |
10 |
|
|
|
11 |
# Controls source route verification
|
|
|
12 |
net.ipv4.conf.default.rp_filter = 1
|
|
|
13 |
|
|
|
14 |
# Do not accept source routing
|
|
|
15 |
net.ipv4.conf.default.accept_source_route = 0
|
|
|
16 |
|
|
|
17 |
# Controls the System Request debugging functionality of the kernel
|
|
|
18 |
kernel.sysrq = 0
|
|
|
19 |
|
|
|
20 |
# Controls whether core dumps will append the PID to the core filename.
|
|
|
21 |
# Useful for debugging multi-threaded applications.
|
|
|
22 |
kernel.core_uses_pid = 1
|
|
|
23 |
|
|
|
24 |
# Controls the use of TCP syncookies
|
|
|
25 |
net.ipv4.tcp_syncookies = 1
|
|
|
26 |
|
|
|
27 |
# Controls the default maxmimum size of a mesage queue
|
|
|
28 |
kernel.msgmnb = 65536
|
|
|
29 |
|
|
|
30 |
# Controls the maximum size of a message, in bytes
|
|
|
31 |
kernel.msgmax = 65536
|
|
|
32 |
|
|
|
33 |
# Controls the maximum shared segment size, in bytes
|
|
|
34 |
kernel.shmmax = 68719476736
|
|
|
35 |
|
|
|
36 |
# Controls the maximum number of shared memory segments, in pages
|
|
|
37 |
kernel.shmall = 4294967296
|