Class: Ardecy::Harden::Sysctl::Network::AllSendRedirects
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ AllSendRedirects
constructor
A new instance of AllSendRedirects.
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) ⇒ AllSendRedirects
Returns a new instance of AllSendRedirects.
125 126 127 128 129 130 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 125 def initialize(args) @file = '/proc/sys/net/ipv4/conf/all/send_redirects' @line = 'net.ipv4.conf.all.send_redirects' @tab = 2 super end |