On Tue, Dec 08, 2020 at 11:18:49PM -0700, thelma wrote in
<94662af9-b159-65ca-371d-1521ab4fa...@sys-concept.com>:
Steve, suggested a good alternative database of IP's with two letter
country beside them. It can be sorted by country in a spreadsheet. This
16MB file would seem like an ideal solution; but checking is it is
missing 212.114.17 number I've checked earlier from the other source.
The number 212.114.16 correctly identified as "FR" (France).
deny from 212.114.16.0/24
deny from 212.114.17.0/24
The dbip-country-lite-2020-12.csv lists:
212.114.10.0 212.114.15.255 RU
212.114.16.0 212.114.31.255 FR
212.114.32.0 212.114.49.39 DE
Just wanted to point out that "212.114.17.0/24" is included in the
"212.114.16.0 212.114.31.255 FR" entry you show, so it doesn't seem to be
missing at all. For reasons of efficiency, it is preferable to have blocks
listed that are bigger than /24's if they roll up to bigger blocks per
country.