Class: Ardecy::Harden::Sysctl::Network::TcpDSack

Inherits:
SysNet
  • Object
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) ⇒ TcpDSack

Returns a new instance of TcpDSack.



216
217
218
219
220
221
# File 'lib/ardecy/harden/sysctl/network.rb', line 216

def initialize(args)
  @file = '/proc/sys/net/ipv4/tcp_dsack'
  @line = 'net.ipv4.tcp_dsack'
  @tab = 4
  super
end