- #14002: kernel-2.6-cn/lenny: koristiti /etc/sysctl.d/
[kernel-cn.git] / 50-carnet.conf
diff --git a/50-carnet.conf b/50-carnet.conf
new file mode 100644 (file)
index 0000000..81d1682
--- /dev/null
@@ -0,0 +1,28 @@
+kernel.core_pattern=%e-%h-%p.core
+kernel.maps_protect=1
+kernel.printk=4 4 1 7
+kernel.sysrq=1
+net.ipv4.conf.all.accept_redirects=0
+net.ipv4.conf.all.accept_source_route=0
+net.ipv4.conf.all.log_martians=1
+net.ipv4.conf.all.rp_filter=1
+net.ipv4.conf.all.secure_redirects=1
+net.ipv4.conf.all.send_redirects=0
+net.ipv4.conf.eth0.accept_redirects=0
+net.ipv4.conf.eth0.accept_source_route=0
+net.ipv4.conf.eth0.log_martians=1
+net.ipv4.conf.eth0.rp_filter=1
+net.ipv4.conf.eth0.secure_redirects=1
+net.ipv4.conf.eth0.send_redirects=0
+net.ipv4.icmp_echo_ignore_broadcasts=1
+net.ipv4.icmp_ignore_bogus_error_responses=1
+net.ipv4.tcp_congestion_control=cubic
+net.ipv4.tcp_ecn=0
+net.ipv4.tcp_max_syn_backlog=2048
+net.ipv4.tcp_mtu_probing=1
+net.ipv4.tcp_retries1=2
+net.ipv4.tcp_rfc1337=1
+net.ipv4.tcp_syncookies=1
+vm.min_free_kbytes=10240
+vm.mmap_min_addr=65536
+vm.swappiness=61