adblock-fast: add smartdns ipset/nftset support 22825/head
authorStan Grishin <stangri@melmac.ca>
Wed, 6 Dec 2023 10:09:02 +0000 (10:09 +0000)
committerStan Grishin <stangri@melmac.ca>
Wed, 6 Dec 2023 10:24:30 +0000 (10:24 +0000)
commit473b173ffaac42d47ae5d06ea2ee3f3a73b1502e
tree6eeef011dd2405d55860fac5d74912beb683b178
parentd83ed18f8d78ea257a2177177ca16b3745bab722
adblock-fast: add smartdns ipset/nftset support

* bugfix: correct URL to config-update file
* bugfix: check if uci configs exist before chacking for changes
* add support for smartdns ipset-based blocking
* add support for smartfns nftset-based blocking
* disallow non-ascii symbols for smartdns blocking
* add check wherever fw4 restart is needed before calling
  procd_set_config_changed firewall
* improve clean-up code in resolver()
* improve case code for different resolver settings
* modify load_validate_config to allow smartdns.ipset and smartdns.nftset

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 28cd5ecf6e29fedfbd8dfcb63ea5124dac69880c)
net/adblock-fast/Makefile
net/adblock-fast/files/etc/config/adblock-fast
net/adblock-fast/files/etc/init.d/adblock-fast