Module: Ardecy::Harden::Sysctl::Network

Defined in:
lib/ardecy/harden/sysctl/network.rb

Defined Under Namespace

Classes: AllAcceptRedirects, AllAcceptSourceRoute, AllRpFilter, AllSecureRedirects, AllSendRedirects, DefaultAcceptRedirects, DefaultAcceptSourceRoute, DefaultRpFilter, DefaultSecureRedirects, DefaultSendRedirects, IcmpEchoIgnoreAll, Ipv6AllAcceptRedirects, Ipv6AllAcceptSourceRoute, Ipv6ConfAllAcceptRa, Ipv6ConfDefaultAcceptRa, Ipv6DefaultAcceptRedirects, Ipv6DefaultAcceptSourceRoute, RFC1337, TcpDSack, TcpFack, TcpSack, TcpSynCookie

Class Method Summary collapse

Class Method Details

.exec(args) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/ardecy/harden/sysctl/network.rb', line 7

def self.exec(args)
  Network::TcpSynCookie.new(args).x
  Network::RFC1337.new(args).x
  Network::AllRpFilter.new(args).x
  Network::DefaultRpFilter.new(args).x
  Network::AllAcceptRedirects.new(args).x
  Network::DefaultAcceptRedirects.new(args).x
  Network::AllSecureRedirects.new(args).x
  Network::DefaultSecureRedirects.new(args).x
  Network::Ipv6AllAcceptRedirects.new(args).x
  Network::Ipv6DefaultAcceptRedirects.new(args).x
  Network::AllSendRedirects.new(args).x
  Network::DefaultSendRedirects.new(args).x
  Network::IcmpEchoIgnoreAll.new(args).x
  Network::AllAcceptSourceRoute.new(args).x
  Network::DefaultAcceptSourceRoute.new(args).x
  Network::Ipv6AllAcceptSourceRoute.new(args).x
  Network::Ipv6DefaultAcceptSourceRoute.new(args).x
  Network::Ipv6ConfAllAcceptRa.new(args).x
  Network::Ipv6ConfDefaultAcceptRa.new(args).x
  Network::TcpSack.new(args).x
  Network::TcpDSack.new(args).x
  Network::TcpFack.new(args).x
end