This is a rather big release, with the main focus on enabling the -manage script to change some config which previously was only changeable during installation:
- geoip blocking mode (whitelist/blacklist)
- which network interface(s) geoip is applied to
- ip lists source
- LAN ip's/subnets
- Trusted ip's/subnets
- Replacing country codes completely (rather than adding/removing which was already implemented)
This is implemented in a semi-interactive way, which means that changing certain options may require additional information, which the manage script will ask about, unless they have been specified via command line arguments. So for example, changing geoip blocking mode with geoip-shell apply -m [whitelist|blacklist] will require to specify new country codes, which you can either do by adding -c ["country_codes"] to the command line or in response to the question asked by the manage script.
All that is now available via the geoip-shell apply command. Read the updated 'Usage' section in README.md or run geoip-shell -h for additional info on how to use these features.
In addition, documentation has been updated and the usage() functions output has been updated and improved in multiple scripts. The geoip-shell status command now also reports whether LAN subnets automatic detection is on or off.
Full Changelog: v0.3.0.1...v0.3.1