Closed keebs closed 7 months ago
I cannot reproduce this right now but if you need only a little subset of countries you can use -c/--country-filter
to generate a smaller map of countries and addresses.
To use a smaller *def-*.nft
file the only solution as of now is to create it manually with the necessary define ...
lines and using
it in your main nft file.
If I generate a US subset, I can now use the geoip-def-americas.nft file instead of geoip-def-all.nft. This also reduced my nft response times from 15s to 2s. Thanks!
Nice! Closing this now.
After including "geoip-def-all.nft", "geoip-ipv4.nft", and "geoip-ipv6.nft", all nft commands take about 15s to process. I was trying to replace "geoip-def-all.nft" with "geoip-def-americas.nft" to improve this timeframe, but "geoip-ipv4.nft" & "geoip-ipv6.nft" require the "geoip-def-all.nft" file to load. Am I missing some way to generate the ipv4 and ipv6 files for the regional nft files?
Or is there some other way to improve the nft response time after loading the "geoip-def-all.nft" file? I am not limited by cpu or memory. TY