Revert Russia to excluded in crowdsec geo-allowlist
Misread the previous request as "add Russia to the allowed list" — it meant the opposite: Russia should stay excluded, same as the other high-risk/Eastern Europe entries already left out.
This commit is contained in:
+12
-12
@@ -201,19 +201,19 @@ labels:
|
||||
sudo cscli collections install crowdsecurity/geoip-enrich 2>/dev/null || \
|
||||
echo " ⚠ crowdsecurity/geoip-enrich may already be installed"
|
||||
|
||||
# North America + Europe, ISO 3166-1 alpha-2. Belarus and Turkey are
|
||||
# left out (common abuse-traffic sources, and not really "Europe" in
|
||||
# the sense meant here). Core Eastern Europe (Bulgaria, Czechia,
|
||||
# Hungary, Moldova, Poland, Romania, Slovakia, Ukraine) is left out
|
||||
# too — the Balkans and Baltics (Albania, Bosnia, Croatia, Estonia,
|
||||
# Latvia, Lithuania, Montenegro, North Macedonia, Serbia, Slovenia)
|
||||
# are kept in deliberately, since several of them (Estonia especially)
|
||||
# don't fit the same risk profile despite the old Cold-War grouping.
|
||||
# To adjust, edit the two lists below and re-run, or hand-edit
|
||||
# $GEO_SCENARIO directly (it's plain YAML — no reinstall needed, just
|
||||
# restart crowdsec after).
|
||||
# North America + Europe, ISO 3166-1 alpha-2. Russia, Belarus, and
|
||||
# Turkey are left out (common abuse-traffic sources, and not really
|
||||
# "Europe" in the sense meant here). Core Eastern Europe (Bulgaria,
|
||||
# Czechia, Hungary, Moldova, Poland, Romania, Slovakia, Ukraine) is
|
||||
# left out too — the Balkans and Baltics (Albania, Bosnia, Croatia,
|
||||
# Estonia, Latvia, Lithuania, Montenegro, North Macedonia, Serbia,
|
||||
# Slovenia) are kept in deliberately, since several of them (Estonia
|
||||
# especially) don't fit the same risk profile despite the old
|
||||
# Cold-War grouping. To adjust, edit the two lists below and re-run,
|
||||
# or hand-edit $GEO_SCENARIO directly (it's plain YAML — no reinstall
|
||||
# needed, just restart crowdsec after).
|
||||
local _GEO_NA="US CA MX"
|
||||
local _GEO_EU="AD AL AT BA BE CH CY DE DK EE ES FI FR GB GR HR IE IS IT LI LT LU LV MC ME MK MT NL NO PT RS RU SE SI SM VA"
|
||||
local _GEO_EU="AD AL AT BA BE CH CY DE DK EE ES FI FR GB GR HR IE IS IT LI LT LU LV MC ME MK MT NL NO PT RS SE SI SM VA"
|
||||
local _geo_expr_list
|
||||
_geo_expr_list="$(printf "'%s', " $_GEO_NA $_GEO_EU)"
|
||||
_geo_expr_list="${_geo_expr_list%, }"
|
||||
|
||||
Reference in New Issue
Block a user