| Age | Commit message (Collapse) | Author |
|
|
|
For the arg `jsonPath` in config, see syntax explanation here: https://github.com/tidwall/gjson/blob/master/SYNTAX.md
|
|
|
|
|
|
Output plaintext CIDR with prefix and suffix in one line by using `text` format as output, specified by args `addPrefixInLine` and `addSuffixInLine`
|
|
IP and CIDR with prefix and suffix in one line now can be processed by using `text` format as input, specified by args `removePrefixesInLine` and `removeSuffixesInLine`.
|
|
stdout stands for standard output, which means geoip now supports pipe operator
|
|
stdin stands for standard input, which means geoip now supports pipe operator
|
|
|
|
|
|
Due to MaxMind mmdb file format constraint,
the IPs and/or CIDRs of the latter written list
will overwrite those of the former one
when duplicated data is found.
To make sure that the lists you added include
all their own IPs and/or CIDRs, you must place
the name of the most important list at last
in option wantedList and option overwriteList
of type maxmindMMDB in config file.
The option overwriteList of type maxmindMMDB
is used when the IPs and/or CIDRs of some lists
in generated mmdb file overlap.
For example, if you change the CIDRs of the list "cn",
and generate the full version of Country.mmdb file
which is with all countries(lists), the option overwriteList
must include "cn", so that the "cn" list will be written at last,
which ensures it includes all the CIDRs you specify.
If the option wantedList of type maxmindMMDB is specified,
no need for option overwriteList.
|
|
|
|
|
|
|
|
|