Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
caeb23ee45 | |||
|
8630677457 |
3 changed files with 10 additions and 12 deletions
|
@ -7,7 +7,7 @@ hardening_sshd_tcp_forward: false
|
||||||
hardening_sshd_legal_banner: false
|
hardening_sshd_legal_banner: false
|
||||||
hardening_sshd_permissions_set_sticky_bit: true
|
hardening_sshd_permissions_set_sticky_bit: true
|
||||||
|
|
||||||
hardening_sysctl_vm_swappiness: 15
|
hardening_sysctl_vm_swappiness: 0
|
||||||
hardening_sysctl_disable_ipv6: false
|
hardening_sysctl_disable_ipv6: false
|
||||||
|
|
||||||
hardening_modprobe_disable_list:
|
hardening_modprobe_disable_list:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
kernel.core_pattern=|/bin/false
|
|
@ -84,16 +84,13 @@
|
||||||
|
|
||||||
- name: Configure iptables
|
- name: Configure iptables
|
||||||
when:
|
when:
|
||||||
- "zoreide_enabled is true"
|
- 'zoreide_enabled is true'
|
||||||
- "ansible_facts.services['iptables.service'] is defined"
|
- "ansible_facts.services['iptables.service'] is defined"
|
||||||
block:
|
|
||||||
- name: Allow related and established connections
|
|
||||||
ansible.builtin.iptables:
|
ansible.builtin.iptables:
|
||||||
chain: INPUT
|
chain: INPUT
|
||||||
protocol: udp
|
protocol: udp
|
||||||
destination_port: "{{ zoreide_ha_port }}"
|
destination_port: "{{ zoreide_ha_port }}"
|
||||||
ctstate: NEW
|
ctstate: NEW
|
||||||
syn: match
|
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
comment: Zoreide HA Port
|
comment: Zoreide HA Port
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue