@@ -4086,6 +4086,7 @@ ipdeny_country() {
40864086 do
40874087 x=${x/* \/ / }
40884088 x=${x/ .zone/ }
4089+ [ -z " ${x} " ] && continue
40894090 IPDENY_COUNTRIES[${x} ]=" 1"
40904091
40914092 ipset_verbose " ${ipset} " " extracting country '${x} ' (code='${x^^} ', name='${IPDENY_COUNTRY_NAMES[${x}]} ')..."
@@ -4173,7 +4174,7 @@ ip2location_country() {
41734174
41744175 local ipset=" ip2location_country" limit=" " hash=" net" ipv=" ipv4" \
41754176 mins=$[24 * 60 * 1] history_mins=0 \
4176- url=" http ://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.CSV.ZIP" \
4177+ url=" https ://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.CSV.ZIP" \
41774178 info=" [IP2Location.com](http://lite.ip2location.com/database-ip-country)" \
41784179 ret=
41794180
@@ -4993,15 +4994,6 @@ update spamhaus_drop $[12*60] 0 ipv4 both \
49934994 " [Spamhaus.org](http://www.spamhaus.org) DROP list (according to their site this list should be dropped at tier-1 ISPs globally)" \
49944995 " Spamhaus.org" " http://www.spamhaus.org/"
49954996
4996- # extended DROP (EDROP) list.
4997- # Should be used together with their DROP list.
4998- update spamhaus_edrop $[12* 60] 0 ipv4 both \
4999- " http://www.spamhaus.org/drop/edrop.txt" \
5000- remove_comments_semi_colon \
5001- " reputation" \
5002- " [Spamhaus.org](http://www.spamhaus.org) EDROP (extended matches that should be used with DROP)" \
5003- " Spamhaus.org" " http://www.spamhaus.org/"
5004-
50054997
50064998# -----------------------------------------------------------------------------
50074999# blocklist.de
@@ -7755,8 +7747,7 @@ merge firehol_level1 ipv4 both \
77557747 dshield \
77567748 feodo \
77577749 fullbogons \
7758- spamhaus_drop \
7759- spamhaus_edrop \
7750+ spamhaus_drop
77607751
77617752merge firehol_level2 ipv4 both \
77627753 " attacks" \
0 commit comments