My personal sysctl.conf

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
sg.germany
Posts: 5
Joined: 6. Aug 2013, 14:40

My personal sysctl.conf

Post by sg.germany »

net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.default.rp_filter=1
net.ipv6.conf.all.rp_filter=1
net.ipv6.icmp_echo_ignore_broadcasts = 1
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.all.secure_redirects = 1
net.ipv6.conf.all.send_redirects = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv4.tcp_syncookies = 1
kernel.core_uses_pid = 1
kernel.sysrq = 0
kernel.shmall = 254217728
kernel.shmmax = 254217728
kernel.msgmnb = 262144
kernel.msgmax = 262144
vm.swappiness=100
vm.vfs_cache_pressure = 96
net.ipv4.tcp_rmem = 131072 95165824 95165824
net.core.rmem_max = 95165824
net.core.rmem_default = 95165824
net.ipv4.tcp_wmem = 131072 131072 95165824
net.core.wmem_max = 95165824
net.core.wmem_default = 95165824
net.core.optmem_max = 95165824
net.core.netdev_max_backlog = 2500
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv6.tcp_rmem = 131072 95165824 95165824
net.ipv6.tcp_wmem = 131072 131072 95165824
net.ipv6.tcp_tw_recycle = 1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.icmp_echo_ignore_broadcasts=0
net.ipv4.icmp_echo_ignore_all=0
net.ipv4.conf.all.log_martians=1
net.ipv6.tcp_tw_reuse = 1
net.inet.ip.random_id=1
net.inet.tcp.hostcache.cachelimit=131072
net.inet.tcp.soreceive_stream=1
net.isr.maxthreads=-1
net.isr.bindthreads=1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 1
Post Reply