Class: Ardecy::Harden::Sysctl::Network::RFC1337

Inherits:
SysNet show all
Defined in:
lib/ardecy/harden/sysctl/network.rb

Instance Method Summary collapse

Methods inherited from SysNet

#fix

Methods inherited from SysKern

#fix, #repair, #scan, #x

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ RFC1337

Returns a new instance of RFC1337.



42
43
44
45
46
47
# File 'lib/ardecy/harden/sysctl/network.rb', line 42

def initialize(args)
  @file = '/proc/sys/net/ipv4/tcp_rfc1337'
  @line = 'net.ipv4.tcp_rfc1337'
  super
  @exp = '1'
end