Guest User

/etc/sysctl.conf

a guest
Jun 6th, 2014
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.20 KB | None | 0 0
  1. # Controls source route verification
  2. net.ipv4.conf.default.rp_filter = 0
  3.  
  4. # Do not accept source routing
  5. net.ipv4.conf.default.accept_source_route = 0
  6.  
  7. # Controls the System Request debugging functionality of the kernel
  8. kernel.sysrq = 0
  9.  
  10. # Controls whether core dumps will append the PID to the core filename.
  11. # Useful for debugging multi-threaded applications.
  12. # kernel.core_uses_pid = 1
  13.  
  14. # Controls the use of TCP syncookies
  15. net.ipv4.tcp_syncookies = 1
  16.  
  17. # Disable netfilter on bridges.
  18. net.bridge.bridge-nf-call-ip6tables = 0
  19. net.bridge.bridge-nf-call-iptables = 0
  20. net.bridge.bridge-nf-call-arptables = 0
  21.  
  22. # Controls the maximum size of a message, in bytes
  23. kernel.msgmnb = 65536
  24.  
  25. # Controls the default maxmimum size of a mesage queue
  26. kernel.msgmax = 65536
  27.  
  28. # Controls the maximum shared segment size, in bytes
  29. kernel.shmmax = 68719476736
  30.  
  31. # Controls the maximum number of shared memory segments, in pages
  32. kernel.shmall = 4294967296
  33.  
  34. # enable IPv4 packet forwarding
  35. net.ipv4.ip_forward = 1
  36.  
  37. # improve security
  38. kernel.exec-shield = 1
  39. kernel.randomize_va_space = 1
  40.  
  41. # core file dumps
  42. kernel.core_uses_pid = 1
  43. kernel.core_pattern = core.%e.pid%p.usr%u.sig%s.tim%t
  44. fs.suid_dumpable = 2
Advertisement
Add Comment
Please, Sign In to add comment