Browse code

Adding sysctl.conf

Veselin Kolev authored on 16/12/2019 06:55:43
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,43 @@
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.
5
+
6
+# Controls IP packet forwarding
7
+net.ipv4.ip_forward = 1
8
+
9
+# Controls source route verification
10
+net.ipv4.conf.default.rp_filter = 1
11
+
12
+# Do not accept source routing
13
+net.ipv4.conf.default.accept_source_route = 0
14
+
15
+# Controls the System Request debugging functionality of the kernel
16
+kernel.sysrq = 0
17
+
18
+# Controls whether core dumps will append the PID to the core filename.
19
+# Useful for debugging multi-threaded applications.
20
+kernel.core_uses_pid = 1
21
+
22
+# Controls the use of TCP syncookies
23
+net.ipv4.tcp_syncookies = 1
24
+
25
+# Disable netfilter on bridges.
26
+net.bridge.bridge-nf-call-ip6tables = 0
27
+net.bridge.bridge-nf-call-iptables = 0
28
+net.bridge.bridge-nf-call-arptables = 0
29
+
30
+# Controls the maximum size of a message, in bytes
31
+kernel.msgmnb = 65536
32
+
33
+# Controls the default maxmimum size of a mesage queue
34
+kernel.msgmax = 65536
35
+
36
+# Controls the maximum shared segment size, in bytes
37
+kernel.shmmax = 68719476736
38
+
39
+# Controls the maximum number of shared memory segments, in pages
40
+kernel.shmall = 4294967296
41
+net.ipv4.conf.all.arp_ignore = 1
42
+
43
+net.ipv4.tcp_timestamps = 0