Class: Ardecy::Harden::Sysctl::SysNet
- Defined in:
- lib/ardecy/harden/sysctl.rb
Direct Known Subclasses
Network::AllAcceptRedirects, Network::AllAcceptSourceRoute, Network::AllRpFilter, Network::AllSecureRedirects, Network::AllSendRedirects, Network::DefaultAcceptRedirects, Network::DefaultAcceptSourceRoute, Network::DefaultRpFilter, Network::DefaultSecureRedirects, Network::DefaultSendRedirects, Network::IcmpEchoIgnoreAll, Network::Ipv6AllAcceptRedirects, Network::Ipv6AllAcceptSourceRoute, Network::Ipv6ConfAllAcceptRa, Network::Ipv6ConfDefaultAcceptRa, Network::Ipv6DefaultAcceptRedirects, Network::Ipv6DefaultAcceptSourceRoute, Network::RFC1337, Network::TcpDSack, Network::TcpFack, Network::TcpSack, Network::TcpSynCookie
Instance Method Summary collapse
Methods inherited from SysKern
#initialize, #repair, #scan, #x
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
This class inherits a constructor from Ardecy::Harden::Sysctl::SysKern
Instance Method Details
#fix ⇒ Object
60 61 62 63 64 |
# File 'lib/ardecy/harden/sysctl.rb', line 60 def fix return unless File.exist? @file NETWORK << "#{@line} = #{@exp}" end |