aboutsummaryrefslogtreecommitdiff
path: root/net/adblock-fast
Commit message (Collapse)AuthorAge
* adblock-fast: bugfix: unbound-related fixesStan Grishin2024-04-21
| | | | | | | | | * include `server:` directive at the top of unbound file * update unbound-related outputGzip variable to include full path * return always_nxdomain for blocked domains * also update copyright stamp/license Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: improve Makefile's prermStan Grishin2024-04-10
| | | | | | * improve output of Makefile's prerm routines Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: prepare migration to APKStan Grishin2024-03-23
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: add force_dns_interface settingStan Grishin2024-02-14
| | | | | | | * allow users to specify list of interfaces/networks to force the DNS Hijacking on Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: update to 1.1.1-3Stan Grishin2024-01-19
| | | | | | | * allow top-level domains in the blocked-domains options fixes https://github.com/openwrt/packages/issues/23125 Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: pause commandStan Grishin2024-01-07
| | | | | | | * the pause command used to incorrectly cause block-lists reload, this has been fixed in this version Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: update to 1.1.1-1Stan Grishin2023-12-15
| | | | | | | | | | | * move reload/restart logic from json() to config_cache() * improve fw4 restart decision logic * no longer store reload/restart info in ubus/status json file * rename variables pointing to run-time information * create dns_set_output_values to reuse code in principal all and luci app * improve append_url to store collected URLs in an alternative variable Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: better allow-listingStan Grishin2023-12-11
| | | | | | | | * improve allow-listing reliability by running sed from the script-file instead of the command-line * fix user for smartdns files ownership Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: block domains from config when not using block-listsStan Grishin2023-12-10
| | | | | | | * remove empty lines from the combined list to allo optimization code to work properly Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfixes: getsize/resolverStan Grishin2023-12-08
| | | | | | | | | * do not use standalone grep-package dependent syntax to get the remote file size * various bugfixes to prevent attempts to change/commit if dnsmasq/smartdns are not installed Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: add smartdns ipset/nftset supportStan Grishin2023-12-06
| | | | | | | | | | | | | | | * 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>
* adblock-fast: add support for smartdnsStan Grishin2023-12-05
| | | | | | | | | | | * add support for smartdns * switch from using `uci` commands to `uci_` functions * rename `_resolver_config` to `_dnsmasq_instance_config` * introduce `_smartdns_instance_config` * improve resolvers restart code on changes * update load_validate_config to allow for smartdns option Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: call to missing functionStan Grishin2023-11-25
| | | | | | | * fix call to is_number to is_integer * improve boot() Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bufgix: fix boot()Stan Grishin2023-11-23
| | | | | | | | | | | * fix boot() * reintroduce procd_boot_delay variable to control delay of service start on boot * introduce `check_lists` command to check enabled block-lists for domain(s) * use config_get_bool instead of config_get for boolean options Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: ensure downloaded block-lists end with newlineStan Grishin2023-11-13
| | | | | | | * ensure downloaded block-lists end with newline * turn free/total RAM checks into functions calls Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: update to 1.0.1-1Stan Grishin2023-11-08
| | | | | | | | | | | | | | | | | | | * update Makefile copyright info * organize functions shared between the init script, uci-defaults and luci app in alphabetical order * update error, warning and status messaging * use single quotes instead double quotes for static text labels * better warning for missing recommended packages * rename dns function to resolver to better reflect its purpose * improve resolver cleanup code * move _resolver_config function inside resolver function to improve code readlibity * rename _process_file_url to process_file_url_wrapper to better reflect its purpose * add preflight check for available RAM vs total size of block lists * move _config_add_url_size function inside adb_sizes function to improve code readlibity * remove uci validation from status_service function to improve performance * source init script from uci-defaults to include shared functions Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: allow commandStan Grishin2023-10-21
| | | | | | | | * fix sed to properly purge allowed domains from block-lists * ensure resolver is restarted on allow command * reduce pause default/max in attempt to make it work with luci Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: properly identify hosts-filesStan Grishin2023-10-05
| | | | | | * escape dots in grep command to properly identify hosts files Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: update to 1.0.0-5Stan Grishin2023-10-02
| | | | | | | * improve processing of dnsmasq config files * do not run sed/show error if allow_filter is empty Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: better error reporting when nothing to doStan Grishin2023-09-28
| | | | | | * also nicer file type output in high verbosity Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: better detect ABP listsStan Grishin2023-09-26
| | | | | | | | | | | | * bugfix: better detect ABP lists * update Makefile with BUSYBOX features dependencies * update the type of dnsmasq_instance setting * add error message when file type can't be detected * add reporting when file type can't be detected * bugfix: include URL on errors related to URL processing/parsing * rename resolver function to resolver_config to better reflect its use Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: bugfix: remove domains on allowStan Grishin2023-09-16
| | | | | | * fix sed command to properly remove allowed domains from block-file Signed-off-by: Stan Grishin <stangri@melmac.ca>
* adblock-fast: initial commitStan Grishin2023-08-28
* this package replaces simple-adblock package * it was impossible to keep existing config structure and continue improving the simple-adblock the way I wanted, hence the new package name * the migration script for existing simple-adblock config is included in the uci-defaults file Signed-off-by: Stan Grishin <stangri@melmac.ca>