Editing Security

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 48: Line 48:
 
Also, if you do not want to use rkhunter, it is possible to replace it with [https://www.clamav.net/ clamav].  
 
Also, if you do not want to use rkhunter, it is possible to replace it with [https://www.clamav.net/ clamav].  
 
Both rkhunter and clamav help to raise the hardened index score.
 
Both rkhunter and clamav help to raise the hardened index score.
 
==How could keep those change - How setting security==
 
 
Append /etc/sysctl.conf with these entries:
 
 
    hw.kbd.keymap_restrict_change=4
 
    kern.sugid_coredump=0
 
    net.inet.icmp.bmcastecho=0
 
    net.inet.icmp.drop_redirect=1
 
    net.inet.ip.accept_sourceroute=0
 
    net.inet.ip.check_interface=1
 
    net.inet.ip.forwarding=0
 
    net.inet.ip.process_options=0
 
    net.inet.ip.random_id=1
 
    net.inet.ip.redirect=0
 
    net.inet.ip.sourceroute=0
 
    net.inet.tcp.always_keepalive=0
 
    net.inet.tcp.blackhole=2
 
    net.inet.tcp.drop_synfin=1
 
    net.inet.tcp.icmp_may_rst=0
 
    net.inet.tcp.nolocaltimewait=1
 
    net.inet.tcp.path_mtu_discovery=0
 
    net.inet.udp.blackhole=1
 
    net.inet6.icmp6.rediraccept=0
 
    net.inet6.ip6.forwarding=0
 
    net.inet6.ip6.fw.enable=1
 
    net.inet6.ip6.redirect=0
 
    # The settings below will change the user experience
 
    security.bsd.hardlink_check_gid=1
 
    security.bsd.hardlink_check_uid=1
 
    security.bsd.see_other_gids=0
 
    security.bsd.see_other_uids=0
 
    security.bsd.stack_guard_page=1
 
    security.bsd.unprivileged_proc_debug=0
 
    security.bsd.unprivileged_read_msgbuf=0
 
  
 
==Additional Information==
 
==Additional Information==

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)