check new version
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
---
|
||||
# Internal variables for server hardening
|
||||
security_packages:
|
||||
- ufw
|
||||
- fail2ban
|
||||
- unattended-upgrades
|
||||
- logwatch
|
||||
- rkhunter
|
||||
- chkrootkit
|
||||
# Variables spécifiques au rôle server_hardening
|
||||
hardening_sysctl_settings:
|
||||
- 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.ipv4.conf.all.accept_source_route
|
||||
value: 0
|
||||
- name: net.ipv4.conf.default.accept_source_route
|
||||
value: 0
|
||||
- name: net.ipv4.icmp_echo_ignore_broadcasts
|
||||
value: 1
|
||||
- name: net.ipv4.icmp_ignore_bogus_error_responses
|
||||
value: 1
|
||||
- name: net.ipv4.conf.all.log_martians
|
||||
value: 1
|
||||
- name: net.ipv4.conf.default.log_martians
|
||||
value: 1
|
||||
|
||||
required_directories:
|
||||
- /var/log/security
|
||||
- /etc/security/limits.d
|
||||
ssh_config_file: /etc/ssh/sshd_config
|
||||
fail2ban_config_dir: /etc/fail2ban
|
Reference in New Issue
Block a user