From 00c43503a91ae2f8ef67fe43bd5ea1819ee86ebb Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Sat, 16 Jul 2022 02:11:21 +0200 Subject: [PATCH] docs(config): Update example config.ini with hitcount and ICMP settings --- examples/config.ini.example | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/examples/config.ini.example b/examples/config.ini.example index 79b679d..eab12f6 100644 --- a/examples/config.ini.example +++ b/examples/config.ini.example @@ -4,10 +4,18 @@ addr = ports = 80, 443 proto = tcp state = NEW +hitcount = do_ipv6 = false firewalld_direct_file_abs = /etc/firewalld/direct.xml restart_firewalld_after_change = true +[anyone-may-icmp-with-limit] +addr = +ports = +proto = icmp +state = NEW,UNTRACKED +hitcount = 120/60 + [anyone-can-access-website] # Unsetting 'proto' while having a 'ports' value results in an invalid section @@ -22,8 +30,9 @@ addr = 2606:4700:20::681a:804, lowendtalk.com ports = 80, 443 do_ipv6 = true -[allow-anyone-to-access-mail-services] +[anyone-may-access-mail-services] ports = 143, 993, 110, 995, 25, 465, 587 +hitcount = 120/60 [deny-all] target = DROP