new version
Some checks failed
Some checks failed
This commit is contained in:
@@ -1,24 +1,14 @@
|
||||
---
|
||||
# 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
|
||||
# Variables spécifiques au hardening
|
||||
required_packages_debian:
|
||||
- curl
|
||||
- wget
|
||||
- git
|
||||
- unzip
|
||||
- htop
|
||||
- vim
|
||||
- sudo
|
||||
- systemd
|
||||
|
||||
ssh_config_file: /etc/ssh/sshd_config
|
||||
fail2ban_config_dir: /etc/fail2ban
|
||||
ssh_config_path: /etc/ssh/sshd_config
|
||||
fail2ban_config_path: /etc/fail2ban/jail.local
|
Reference in New Issue
Block a user