summaryrefslogtreecommitdiff
path: root/plugin/maxmind/mmdb.go
AgeCommit message (Collapse)Author
2022-09-17Chore: rename mmdb.go to mmdb_out.goLoyalsoldier
2022-08-29Fix: add option overwriteListLoyalsoldier
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.
2022-08-29Fix: invalid mmdb fileLoyalsoldier
2021-09-11Feat: make entry not found error more visibleloyalsoldier
2021-08-29Refactor: use plugin architecture to support multiple I/O formatsloyalsoldier