Advertisement
Guest User

CPR2 3434

a guest
Nov 15th, 2019
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Added: “UsePrivilegeSeparation SANDBOX
  2. LogLevel VERBOSE
  3. PermitRootLogin no
  4. X11Forwarding no
  5. TCPKeepAlive no
  6. AllowTcpForwarding no
  7. ClientAliveCountMax 2
  8. Compression no
  9. MaxAuthTries 3
  10. MaxSessions 2
  11. To sshd_config
  12.  
  13. Added
  14. net.ipv4.conf.all.accept_redirects = 0
  15. net.ipv4.conf.all.send_redirects = 0
  16. net.ipv4.conf.default.accept_redirects = 0
  17. net.ipv6.conf.all.accept_redirects = 0
  18. net.ipv6.conf.default.accept_redirects = 0
  19. net.ipv4.conf.default.accept_source_route = 0
  20. kernel.sysrq = 0
  21. net.ipv4.tcp_timestamps = 0
  22. net.ipv4.conf.all.log_martians = 1
  23. net.ipv4.conf.default.log_martians = 1
  24. kernel.kptr_restrict = 2
  25. kernel.core_uses_pid = 1
  26. net.ipv4.conf.all.rp_filter = 1
  27.  
  28. To sysctl.conf\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement