Guest User

Untitled

a guest
Nov 20th, 2010
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. localhost dem # cat /etc/sysctl.conf
  2. # /etc/sysctl.conf
  3. #
  4. # For more information on how this file works, please see
  5. # the manpages sysctl(8) and sysctl.conf(5).
  6. #
  7. # In order for this file to work properly, you must first
  8. # enable 'Sysctl support' in the kernel.
  9. #
  10. # Look in /proc/sys/ for all the things you can setup.
  11. #
  12.  
  13. # Enables packet forwarding
  14. net.ipv4.ip_forward = 1
  15. # Disables IP dynaddr
  16. #net.ipv4.ip_dynaddr = 0
  17. # Disable ECN
  18. #net.ipv4.tcp_ecn = 0
  19. # Enables source route verification
  20. net.ipv4.conf.default.rp_filter = 1
  21. # Enable reverse path
  22. net.ipv4.conf.all.rp_filter = 1
  23.  
  24. # Enable SYN cookies (yum!)
  25. # http://cr.yp.to/syncookies.html
  26. net.ipv4.tcp_syncookies = 1
  27.  
  28. # Disable source route
  29. #net.ipv4.conf.all.accept_source_route = 0
  30. #net.ipv4.conf.default.accept_source_route = 0
  31.  
  32. # Disable redirects
  33. #net.ipv4.conf.all.accept_redirects = 0
  34. #net.ipv4.conf.default.accept_redirects = 0
  35.  
  36. # Disable secure redirects
  37. #net.ipv4.conf.all.secure_redirects = 0
  38. #net.ipv4.conf.default.secure_redirects = 0
  39.  
  40. # Ignore ICMP broadcasts
  41. #net.ipv4.icmp_echo_ignore_broadcasts = 1
  42.  
  43. # Enables the magic-sysrq key
  44. kernel.sysrq = 1
  45. # When the kernel panics, automatically reboot in 3 seconds
  46. #kernel.panic = 3
  47. # Allow for more PIDs (cool factor!); may break some programs
  48. #kernel.pid_max = 999999
  49.  
  50. # You should compile nfsd into the kernel or add it
  51. # to modules.autoload for this to work properly
  52. # TCP Port for lock manager
  53. #fs.nfs.nlm_tcpport = 0
  54. # UDP Port for lock manager
  55. #fs.nfs.nlm_udpport = 0
Advertisement
Add Comment
Please, Sign In to add comment