Class: Ardecy::Harden::Sysctl::Network::AllRpFilter
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ AllRpFilter
constructor
A new instance of AllRpFilter.
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) ⇒ AllRpFilter
Returns a new instance of AllRpFilter.
51 52 53 54 55 56 57 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 51 def initialize(args) @file = '/proc/sys/net/ipv4/conf/all/rp_filter' @line = 'net.ipv4.conf.all.rp_filter' @tab = 2 super @exp = '1' end |