mirror of https://github.com/Aidaho12/haproxy-wi
parent
8b2004d793
commit
152741339f
|
@ -6,6 +6,7 @@
|
||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
|
|
||||||
- name: net.ipv4.conf.all.rp_filter
|
- name: net.ipv4.conf.all.rp_filter
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Enable net.ipv4.tcp_max_syn_backlog
|
- name: Enable net.ipv4.tcp_max_syn_backlog
|
||||||
sysctl:
|
sysctl:
|
||||||
|
@ -25,6 +27,7 @@
|
||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Enable net.ipv4.tcp_synack_retries
|
- name: Enable net.ipv4.tcp_synack_retries
|
||||||
sysctl:
|
sysctl:
|
||||||
|
@ -34,3 +37,4 @@
|
||||||
state: present
|
state: present
|
||||||
reload: yes
|
reload: yes
|
||||||
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0)
|
||||||
|
ignore_errors: yes
|
Loading…
Reference in New Issue