Class: Ardecy::Harden::Sysctl::Network::IcmpEchoIgnoreAll
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ IcmpEchoIgnoreAll
constructor
A new instance of IcmpEchoIgnoreAll.
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) ⇒ IcmpEchoIgnoreAll
Returns a new instance of IcmpEchoIgnoreAll.
143 144 145 146 147 148 149 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 143 def initialize(args) @file = '/proc/sys/net/ipv4/icmp_echo_ignore_all' @line = 'net.ipv4.icmp_echo_ignore_all' @tab = 2 super @exp = '1' end |