summaryrefslogtreecommitdiff
path: root/guest-sysctl.yml
blob: 33bf0fa1abf0f8d1853ff4dda050fa0b85a629f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- hosts: vms
  become: true
  roles:
    - oefenweb.sysctl
  vars:
    sysctl_settings:
        - name: net.ipv4.conf.default.accept_source_route
          value: 0
        - name: net.ipv4.tcp_syncookies
          value: 1
        - name: net.ipv4.tcp_synack_retries
          value: 5
        - name: net.ipv4.conf.all.send_redirects
          value: 0
        - name: net.ipv4.conf.default.send_redirects
          value: 0
        - name: net.ipv4.conf.all.accept_source_route
          value: 0
        - name: net.ipv4.conf.all.accept_redirects
          value: 0
        - name: net.ipv4.conf.all.secure_redirects
          value: 0
        - name: net.ipv4.conf.default.accept_source_route
          value: 0
        - name: net.ipv4.conf.default.accept_redirects
          value: 0
        - name: net.ipv4.conf.default.secure_redirects
          value: 0
        - name: net.ipv4.icmp_echo_ignore_broadcasts
          value: 1
        - name: net.ipv4.tcp_syncookies
          value: 1
        - name: net.ipv4.conf.all.rp_filter
          value: 1
        - name: net.ipv4.conf.default.rp_filter
          value: 1
        - name: net.ipv6.conf.default.router_solicitations
          value: 0
        - name: net.ipv6.conf.default.accept_ra_rtr_pref
          value: 0
        - name: net.ipv6.conf.default.accept_ra_pinfo
          value: 0
        - name: net.ipv6.conf.default.accept_ra_defrtr
          value: 0
        - name: net.ipv6.conf.default.autoconf
          value: 0
        - name: net.ipv6.conf.default.dad_transmits
          value: 0
        - name: net.ipv6.conf.default.max_addresses
          value: 1
        - name: net.ipv4.tcp_timestamps
          value: 0
        - name: net.ipv4.ip_local_port_range
          value: "2000 65000"
        - name: net.ipv4.tcp_rfc1337
          value: 1