From e32b702d7ca22bd63639463c1def7cee902e8792 Mon Sep 17 00:00:00 2001 From: erjemin Date: Mon, 19 May 2025 23:45:11 +0300 Subject: [PATCH] =?UTF-8?q?add:=20=D0=97=D0=B0=D1=89=D0=B8=D1=82=D0=B0=20?= =?UTF-8?q?=D1=85=D0=BE=D1=81=D1=82=D0=B0=20=D1=81=20=D0=BF=D0=BE=D0=BC?= =?UTF-8?q?=D0=BE=D1=89=D1=8C=D1=8E=20CrowdSec=20...............?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- raspberry-and-orange-pi/host-protection-with-crowdsec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspberry-and-orange-pi/host-protection-with-crowdsec.md b/raspberry-and-orange-pi/host-protection-with-crowdsec.md index cd5ed3c..5befddd 100644 --- a/raspberry-and-orange-pi/host-protection-with-crowdsec.md +++ b/raspberry-and-orange-pi/host-protection-with-crowdsec.md @@ -718,7 +718,7 @@ sudo nano /etc/crowdsec/scenarios/ban-cn--geoip.yaml type: trigger name: local/ban-russian-ips description: "Ban any IP from China & Korea" -filter: evt.Meta.geoip_country == 'CN' or evt.Meta.geoip_country == 'KR' +filter: evt.Meta.geoip_country in ['CN', 'KR'] groupby: evt.Meta.source_ip labels: country_ban: CN