From e47251faa8e4090393d2d750ec596d4792e20601 Mon Sep 17 00:00:00 2001 From: he2ss Date: Mon, 25 Aug 2025 12:40:05 +0200 Subject: [PATCH] add header to receive compressed data --- crowdsec-docs/unversioned/integrations/mikrotik.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdsec-docs/unversioned/integrations/mikrotik.mdx b/crowdsec-docs/unversioned/integrations/mikrotik.mdx index 85306a726..3bc4f0a31 100644 --- a/crowdsec-docs/unversioned/integrations/mikrotik.mdx +++ b/crowdsec-docs/unversioned/integrations/mikrotik.mdx @@ -66,7 +66,7 @@ Then you need to add the following script: :local url "https://admin.api.crowdsec.net/v1/integrations//content" :local fileName "blocklist.rsc" :log info "$name fetch blocklist from $url" -/tool fetch url="$url" mode=https dst-path=$fileName http-auth-scheme=basic user="" password="" idle-timeout="30s" +/tool fetch url="$url" mode=https dst-path=$fileName http-auth-scheme=basic user="" password="" idle-timeout="30s" http-header-field="Accept-Encoding:gzip" :if ([:len [/file find name=$fileName]] > 0) do={ :log info "removing old ipv4 blocklist" /ip/firewall/address-list/remove [ find where list="crowdsec-integration" ];