summaryrefslogtreecommitdiff
path: root/roles/base/vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-31 23:12:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-31 23:12:36 +0200
commit3a2319c9c58886a7938deabafc66ad4bc128c9f8 (patch)
tree222b41b5b49633b9156c070df830d5c73617edd7 /roles/base/vars
parentchaos-at-home: deploy apt-repo/base to some more hosts (diff)
move core roles to subdir
Diffstat (limited to 'roles/base/vars')
-rw-r--r--roles/base/vars/Debian.yml2
-rw-r--r--roles/base/vars/Ubuntu.yml2
-rw-r--r--roles/base/vars/main.yml50
3 files changed, 0 insertions, 54 deletions
diff --git a/roles/base/vars/Debian.yml b/roles/base/vars/Debian.yml
deleted file mode 100644
index 96baf89b..00000000
--- a/roles/base/vars/Debian.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-base_rngd_package_name: rng-tools5
diff --git a/roles/base/vars/Ubuntu.yml b/roles/base/vars/Ubuntu.yml
deleted file mode 100644
index eb2591da..00000000
--- a/roles/base/vars/Ubuntu.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-base_rngd_package_name: rng-tools
diff --git a/roles/base/vars/main.yml b/roles/base/vars/main.yml
deleted file mode 100644
index 9940d7a6..00000000
--- a/roles/base/vars/main.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# SYSTEM CONFIGURATION
-# ====================
-# These are not meant to be modified by the user
-
-#
-# To adjust these settings use base_sysctl_config_user dict
-#
-base_sysctl_config:
-
- # Enable RFC-recommended source validation feature.
- net.ipv4.conf.all.rp_filter: 1
- net.ipv4.conf.default.rp_filter: 1
-
- # Log packets with impossible addresses to kernel log? yes
- net.ipv4.conf.all.log_martians: 1
- net.ipv4.conf.default.log_martians: 1
-
- # Reduce the surface on SMURF attacks.
- # Make sure to ignore ECHO broadcasts, which are only required in broad network analysis.
- net.ipv4.icmp_echo_ignore_broadcasts: 1
-
- # There is no reason to accept bogus error responses from ICMP, so ignore them instead.
- net.ipv4.icmp_ignore_bogus_error_responses: 1
-
- # Limit the amount of traffic the system uses for ICMP.
- net.ipv4.icmp_ratelimit: 1000
-
- # Send redirects, if router, but this is just server
- net.ipv4.conf.all.send_redirects: 0
- net.ipv4.conf.default.send_redirects: 0
- net.ipv4.conf.all.accept_redirects: 0
- net.ipv4.conf.default.accept_redirects: 0
- net.ipv6.conf.all.accept_redirects: 0
- net.ipv6.conf.default.accept_redirects: 0
- net.ipv4.conf.all.secure_redirects: 0
- net.ipv4.conf.default.secure_redirects: 0
-
- net.ipv4.conf.all.accept_source_route: 0
- net.ipv4.conf.default.accept_source_route: 0
-
- # Protect against wrapping sequence numbers at gigabit speeds
- net.ipv4.tcp_timestamps: 0
-
- # Prevent against the common 'syn flood attack'
- net.ipv4.tcp_syncookies: 1
-
- # Disable Selective Acknowledgement (SACK)
- # Workaround CVE-2019-11477, CVE-2019-11478, CVE-2019-11479
- # See https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-001.md
- net.ipv4.tcp_sack: 0