]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
nameserver: Double max amount of concurrent connections 344/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 6 Oct 2017 17:29:04 +0000 (13:29 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 6 Oct 2017 17:29:04 +0000 (13:29 -0400)
I observed an unintentional DoS on ns1.front last night right as most of
the nightly scheduled jobs started up.  Lots of "nf_conntrack: table
full, dropping packet" messages in the syslog.

Doubling it should be safe.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/nameserver/tasks/config.yml

index 90fbcde0cfc13f9a485967a80f9ca735cc63bc6d..c1305393d10be29fe93957a15cc8e681f876eea5 100644 (file)
     name: named_write_master_zones
     state: yes
     persistent: yes
+
+# Helps prevent accidental DoS
+- name: Double maximum configured connections
+  sysctl:
+    name: net.nf_conntrack_max
+    value: 131072
+    state: present