Caution
If you are upgrading from version 1.x.x or 2.0.1 to this version, please read the following upgrade instructions:
Upgrading from 1.x.x to this version
- Remove old package:
opkg remove keenetic-pbr
- Move old config to the new paths and remove old dnsmasq.d configs:
cp -r /opt/etc/keenetic-pbr /opt/etc/keen-pbr mv /opt/etc/keen-pbr/keenetic-pbr.conf /opt/etc/keen-pbr/keen-pbr.conf sed -i 's|/keenetic-pbr/|/keen-pbr/|g' /opt/etc/keen-pbr/keen-pbr.conf rm /opt/etc/dnsmasq.d/*.keenetic-pbr.conf /opt/etc/dnsmasq.d/*.keenetic-pbr.conf.md5
- Proceed through installation instructions
Upgrading from 2.0.1 to this version
Please complete the install opkg repository in the system step again, because repository URL was updated from 2.0.1
Release 2.2.1
Improvements
-
Enhanced network interface handling: If Keenetic API doesn't return interface information (or keen-pbr can't match interfaces), but system interface state is "up", the interface will be considered working. Previously such interface was considered non-working when use_keenetic_api option was enabled.
-
DNS override capability: Added support for overriding DNS server for a specific ipset.
[ipset.routing] # Override DNS server for domains in this ipset (optionally you can specify port: 1.1.1.1#9153) override_dns = "1.1.1.1"
-
Improved error handling: The application now continues running even when some of the configured network interfaces in ipset don't exist.
-
Better blackhole route detection: Fixed blackhole route detection logic for keen-pbr self-check command for IPv6.
Technical Changes
- Enhanced network interface validation and error handling in
lib/networking/network.go - Improved DNS configuration validation in
lib/config/validator.go - Fixed blackhole route detection in
lib/networking/iproute.go
Full Changelog: v2.1.4...v2.2.1