X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=kernel-cn.git;a=blobdiff_plain;f=50-carnet.conf;fp=50-carnet.conf;h=81d16821f49b2f837b3bf0262b2af2e32ec4637c;hp=0000000000000000000000000000000000000000;hb=9b2edd524c22426f9e0f3a8a3e870709679ce5c8;hpb=c985fba5b9fbecdaebe5569d0b9b2c0c8cac0cf6 diff --git a/50-carnet.conf b/50-carnet.conf new file mode 100644 index 0000000..81d1682 --- /dev/null +++ b/50-carnet.conf @@ -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