Class: Ardecy::Harden::Sysctl::Network::DefaultRpFilter
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ DefaultRpFilter
constructor
A new instance of DefaultRpFilter.
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) ⇒ DefaultRpFilter
Returns a new instance of DefaultRpFilter.
61 62 63 64 65 66 67 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 61 def initialize(args) @file = '/proc/sys/net/ipv4/conf/default/rp_filter' @line = 'net.ipv4.conf.default.rp_filter' @tab = 2 super @exp = '1' end |