From 458ae46c19bdff8d69f623374559d9e6575889a3 Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 3 Mar 2021 21:02:56 +0800 Subject: Feat: append IP CIDR list by adding files to data directory Use `--inputdir=/path/to/your/customized/ip/cidr/list/directory` as flag to specify your customized directory containing IP CIDR lists. The name of the lists appended into geoip.dat will be the filename of files in inputdir directory. You can create a file named `cn` in data directory to override all CN CIDRs of the generated geoip.dat file. --- data/private | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/private (limited to 'data/private') diff --git a/data/private b/data/private new file mode 100644 index 00000000..41be16bb --- /dev/null +++ b/data/private @@ -0,0 +1,19 @@ +0.0.0.0/8 +10.0.0.0/8 +100.64.0.0/10 +127.0.0.0/8 +169.254.0.0/16 +172.16.0.0/12 +192.0.0.0/24 +192.0.2.0/24 +192.88.99.0/24 +192.168.0.0/16 +198.18.0.0/15 +198.51.100.0/24 +203.0.113.0/24 +224.0.0.0/4 +240.0.0.0/4 +255.255.255.255/32 +::1/128 +fc00::/7 +fe80::/10 -- cgit v1.3.1