mirror of https://github.com/easzlab/kubeasz.git
work around with CVE-2019-3874
parent
b88d352ad7
commit
b684e96b6f
|
@ -0,0 +1,2 @@
|
||||||
|
# put sctp into blacklist
|
||||||
|
install sctp /bin/true
|
|
@ -39,3 +39,6 @@
|
||||||
|
|
||||||
- name: 设置系统 ulimits
|
- name: 设置系统 ulimits
|
||||||
template: src=30-k8s-ulimits.conf.j2 dest=/etc/security/limits.d/30-k8s-ulimits.conf
|
template: src=30-k8s-ulimits.conf.j2 dest=/etc/security/limits.d/30-k8s-ulimits.conf
|
||||||
|
|
||||||
|
- name: 把SCTP列入内核模块黑名单
|
||||||
|
copy: src=sctp.conf dest=/etc/modprobe.d/sctp.conf
|
||||||
|
|
Loading…
Reference in New Issue