]> git.openstreetmap.org Git - chef.git/commitdiff
Don't expire connection limit sets
authorTom Hughes <tom@compton.nu>
Sun, 5 Mar 2023 20:39:23 +0000 (20:39 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 5 Mar 2023 20:39:23 +0000 (20:39 +0000)
cookbooks/networking/templates/default/nftables.conf.erb

index 325e7740a3c23c8e915a8fef8f899fc7e276fd39..7fc46cff29896c7045b03d83699763d12b786650 100644 (file)
@@ -52,7 +52,9 @@ table inet filter {
     type ipv6_addr
 <%- end %>
     flags dynamic
+<%- unless set.start_with?("connlimit-") %>
     timeout 120s
+<%- end %>
   }
 
 <%- end %>