adblock-fast: add smartdns ipset/nftset support 22824/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:22:18 +0000 (10:22 +0000)
commit28cd5ecf6e29fedfbd8dfcb63ea5124dac69880c
tree334c911526e36d9c0404d83254ab8a519ad84406
parent52e3ed82c35712fd6c60aa9a5a54d74093407d4b
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>
net/adblock-fast/Makefile
net/adblock-fast/files/etc/config/adblock-fast
net/adblock-fast/files/etc/init.d/adblock-fast