Class: Ardecy::Harden::Sysctl::Network::AllSecureRedirects
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ AllSecureRedirects
constructor
A new instance of AllSecureRedirects.
Methods inherited from SysNet
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ AllSecureRedirects
Returns a new instance of AllSecureRedirects.
89 90 91 92 93 94 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 89 def initialize(args) @file = '/proc/sys/net/ipv4/conf/all/secure_redirects' @line = 'net.ipv4.conf.all.secure_redirects' @tab = 2 super end |