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 || \
|
sudo cscli collections install crowdsecurity/geoip-enrich 2>/dev/null || \
|
||||||
echo " ⚠ crowdsecurity/geoip-enrich may already be installed"
|
echo " ⚠ crowdsecurity/geoip-enrich may already be installed"
|
||||||
|
|
||||||
# North America + Europe, ISO 3166-1 alpha-2. Belarus and Turkey are
|
# North America + Europe, ISO 3166-1 alpha-2. Russia, Belarus, and
|
||||||
# left out (common abuse-traffic sources, and not really "Europe" in
|
# Turkey are left out (common abuse-traffic sources, and not really
|
||||||
# the sense meant here). Core Eastern Europe (Bulgaria, Czechia,
|
# "Europe" in the sense meant here). Core Eastern Europe (Bulgaria,
|
||||||
# Hungary, Moldova, Poland, Romania, Slovakia, Ukraine) is left out
|
# Czechia, Hungary, Moldova, Poland, Romania, Slovakia, Ukraine) is
|
||||||
# too — the Balkans and Baltics (Albania, Bosnia, Croatia, Estonia,
|
# left out too — the Balkans and Baltics (Albania, Bosnia, Croatia,
|
||||||
# Latvia, Lithuania, Montenegro, North Macedonia, Serbia, Slovenia)
|
# Estonia, Latvia, Lithuania, Montenegro, North Macedonia, Serbia,
|
||||||
# are kept in deliberately, since several of them (Estonia especially)
|
# Slovenia) are kept in deliberately, since several of them (Estonia
|
||||||
# don't fit the same risk profile despite the old Cold-War grouping.
|
# especially) don't fit the same risk profile despite the old
|
||||||
# To adjust, edit the two lists below and re-run, or hand-edit
|
# Cold-War grouping. To adjust, edit the two lists below and re-run,
|
||||||
# $GEO_SCENARIO directly (it's plain YAML — no reinstall needed, just
|
# or hand-edit $GEO_SCENARIO directly (it's plain YAML — no reinstall
|
||||||
# restart crowdsec after).
|
# needed, just restart crowdsec after).
|
||||||
local _GEO_NA="US CA MX"
|
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
|
local _geo_expr_list
|
||||||
_geo_expr_list="$(printf "'%s', " $_GEO_NA $_GEO_EU)"
|
_geo_expr_list="$(printf "'%s', " $_GEO_NA $_GEO_EU)"
|
||||||
_geo_expr_list="${_geo_expr_list%, }"
|
_geo_expr_list="${_geo_expr_list%, }"
|
||||||
|
|||||||
Reference in New Issue
Block a user