Class: Ardecy::Harden::Sysctl::Network::TcpSynCookie
- Defined in:
- lib/ardecy/harden/sysctl/network.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ TcpSynCookie
constructor
A new instance of TcpSynCookie.
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) ⇒ TcpSynCookie
Returns a new instance of TcpSynCookie.
33 34 35 36 37 38 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 33 def initialize(args) @file = '/proc/sys/net/ipv4/tcp_syncookies' @line = 'net.ipv4.tcp_syncookies' super @exp = '1' end |