Re: [PATCH nft v1]files: add script to generate geoip.nft file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 22, 2019 at 09:41:53AM +0530, Shekhar Sharma wrote:
> This patch adds a python script to download MaxMind's GeoLite2
> database and generate a file named geoip.nft, which users can 'include'.
> 
> The nft_geoip.py file has three options:
>  --download            : to download and unzip the database folder from MaxMind.
>  --file-location       : to specify the .csv file containing the country names and geoname ids.
>  --file-ipv4           : to specify the .csv file containing information about IPv4 blocks.

I'm fine with this initial version, will wait for others to have a
look into this to give feedback.

On your side: I would like to know if you will commit to extend this
and make improvements incrementally, in particular, making a follow up
patch to add IPv6 support I'd suggest, among other things.

A --output option would be good to specify what directory and file
name will be used to store the autogenerated .nft file.

Thanks.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux