sysctl.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # For more information on how this file works, please see
  2. # the manpages sysctl(8) and sysctl.conf(5).
  3. #
  4. # In order for this file to work properly, you must first
  5. # enable 'Sysctl support' in the kernel.
  6. #
  7. # Look in /proc/sys/ for all the things you can setup.
  8. #
  9. # Disables packet forwarding
  10. #net.ipv4.ip_forward = 0
  11. # Disables IP dynaddr
  12. #net.ipv4.ip_dynaddr = 0
  13. # Disable ECN
  14. #net.ipv4.tcp_ecn = 0
  15. # Enables source route verification
  16. net.ipv4.conf.default.rp_filter = 1
  17. # Enable reverse path
  18. net.ipv4.conf.all.rp_filter = 1
  19. # Enable SYN cookies
  20. # http://cr.yp.to/syncookies.html
  21. #net.ipv4.tcp_syncookies = 1
  22. # Disable source route
  23. #net.ipv4.conf.all.accept_source_route = 0
  24. #net.ipv4.conf.default.accept_source_route = 0
  25. # Disable redirects
  26. #net.ipv4.conf.all.accept_redirects = 0
  27. #net.ipv4.conf.default.accept_redirects = 0
  28. # Disable secure redirects
  29. #net.ipv4.conf.all.secure_redirects = 0
  30. #net.ipv4.conf.default.secure_redirects = 0
  31. # Enable NF_CONNTRACK_ACCT
  32. # net.netfilter.nf_conntrack_acct = 1
  33. # Ignore ICMP broadcasts
  34. net.ipv4.icmp_echo_ignore_broadcasts = 1
  35. # Disables the magic-sysrq key
  36. #kernel.sysrq = 0
  37. # When the kernel panics, automatically reboot in 3 seconds
  38. #kernel.panic = 3
  39. # Allow for more PIDs (cool factor!); may break some programs
  40. #kernel.pid_max = 999999
  41. # Controls whether core dumps will append the PID to the core filename.
  42. # Useful for debugging multi-threaded applications.
  43. kernel.core_uses_pid = 1
  44. # TCP Port for lock manager
  45. #fs.nfs.nlm_tcpport = 0
  46. # UDP Port for lock manager
  47. #fs.nfs.nlm_udpport = 0
  48. # default is 8k, nepomuk runs better with 512K
  49. fs.inotify.max_user_watches = 524288