aboutsummaryrefslogtreecommitdiff
path: root/net/simple-adblock
Commit message (Collapse)AuthorAge
* simple-adblock: bugfix: ensure directory for jsonFile is createdStan Grishin2023-02-19
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: implement procd_boot_wan_timeout supportStan Grishin2023-02-19
| | | | | | | * implement procd_boot_wan_timeout support * update config with oisd ABPlus and domains lists Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.4-1Stan Grishin2023-02-16
| | | | | | | | | | | | | | | | * update default config for new oisd.nl lists * conf.update file to migrate oisd.nl lists to the new format * introduce AdBlockPlus lists support (new oisd.nl format) * longer wait for WAN up/gateway detection * make load_environemnt only execute once to suppress duplicate warnings/errors PS. While I was testing this, oisd.nl has brought back the old domains lists as well, so this version supports both as I'm unclear as to why the "big" ABPlus list is only 6.2Mb where as the "big" domains list is whopping 19.9Mb. Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.3-7Stan Grishin2023-02-04
| | | | | | | | * add boot() function which waits for network.interface to come up * switch oisd.nl hosts entry to domains * remove erroneous oisd substitution from config-update file Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update sed for allowing domainsStan Grishin2023-01-14
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validateStan Grishin2022-12-12
| | | | | | | | * fixes https://github.com/openwrt/openwrt/issues/11481 thanks to: * https://github.com/mistepien for reporting * https://github.com/dave14305 for diagnosing Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: support new OISD dnsmasq configStan Grishin2022-12-10
| | | | | | * OISD dnsmasq config files switched from using address= to server= Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: localizable error/warning messagesStan Grishin2022-11-29
| | | | | | | * store all error/warning messages with the error text id so that they can be made localizable for the luci app Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: bugfix: detect dnsmasq ipset supportStan Grishin2022-11-28
| | | | | | | * Fixes https://github.com/openwrt/packages/issues/19978, thank you @parona-source for the report/patch! Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.3-1Stan Grishin2022-11-14
| | | | | | | | | | | | | * introduce the new curl_max_file_size option * prevent warnings/errors to be displayed each time the load_environment is invoked * better organize dl_command appendixes * implement support for downloading/using external dnsmasq config file * refactor adb_check and adb_allow for better readability * update default values for some options in the uci_load_validate call * update reload trigger to include curl options Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.2-4Stan Grishin2022-11-04
| | | | | | | | | * update default config file to list options alphabetically * rearrange some of the init script code to support transition of WebUI to javascript * rename wan6_trigger to procd_trigger_wan6 for readability Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: service_triggers improvementsStan Grishin2022-10-24
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: remove unnecessary procd_add_reload_interface_triggerStan Grishin2022-10-21
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.2-1Stan Grishin2022-10-18
| | | | | | | | | | | | * make PKG_VERSION of the init script readonly to remove shellcheck exception * replace exit with return in the the procd scripts per: https://github.com/openwrt/packages/pull/19617 * remove custom boot() function as it prevented creation of procd firewall object on start on boot * improve performance of allowing domains code Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: allow domains bugfix & canary domains supportStan Grishin2022-10-01
| | | | | | | | | | * fix bug in download_lists and adb_allow to prevent unintended exclisions from the block-lists of domains containing allowed domain. Fixes issue: https://github.com/stangri/source.openwrt.melmac.net/issues/160 * add support for returning NXDOMAIN/blocking iCloud & Mozilla canary domains, disabled by default Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.1-1Stan Grishin2022-09-25
| | | | | | | | | | | | | | * remove obsolete block-lists from config * add removal of obsolete lists to config-update * add AdGuard team's block-list to config * improve allow command * improve nftset support * move config load to uci_load_validate, which required some code refactoring which looks dramatic, but isn't * always use dnsmasq_restart instead of dnsmasq_hup for all dns resolution options for dnsmasq Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: bugfix for allow commandStan Grishin2022-08-26
| | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.9.0-1Stan Grishin2022-08-19
| | | | | | | | | | | | | | * Update maintainer's email address * Style Make and init file to OpenWrt standard * Rename dnsmasq and unbound-related variables to better reflect their use * New 'allow' CLI parameter to quickly unblock domain(s) * Switch to uci wrappers * Beautify the output of the 'check' CLI parameter * Better handling of output files directory creation error * Support for (upcoming) dnsmasq nftsets Signed-off-by: Stan Grishin <stangri@melmac.ca>
* simple-adblock: update to 1.8.8-1Stan Grishin2021-10-15
| | | | | | * update 'check' function Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: delete obsolete iptables-dependent functionStan Grishin2021-10-06
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: Call killall with the -sJan Baier2021-09-08
| | | | | | | | | Some versions of killall do support the `killall -SIGNAL` syntax and have only `-s SIGNAL` which should be supported everywhere. I see the problem with *killall (PSmisc) 23.3* on latest TurrisOS 5.2 Signed-off-by: Jan Baier <jan.baier@amagical.net>
* simple-adblock: update to 1.8.7-6Stan Grishin2021-08-02
| | | | | | | | | | * supports newer shellcheck * restore EXTRA_COMMANDS compatibility with 19.07 * move status display from various functions to status_service * bugfix: status_service line break after output * minor arythmetic fix in status_service Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: update to 1.8.7-3Stan Grishin2021-04-10
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: jsonOps-related bugfixesStan Grishin2021-03-17
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: update to 1.8.5-1Stan Grishin2021-03-08
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: remove dependency on jsonfilter & old codeStan Grishin2021-02-02
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: config updateStan Grishin2020-12-18
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfix - config updateStan Grishin2020-12-12
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: use new extra_command function definitionFlorian Eckert2020-11-04
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* simple-adblock: config update file fixStan Grishin2020-10-09
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: add config auto-update featureStan Grishin2020-09-20
| | | | | | | | | | | | Signed-off-by: Stan Grishin <stangri@melmac.net> shellchecked Signed-off-by: Stan Grishin <stangri@melmac.net> shellchecked Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfix: update config; use command -vStan Grishin2020-08-21
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: README and config updateStan Grishin2020-08-04
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: racially-neutral namesStan Grishin2020-06-13
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: remove obsolete dshield.org links from configStan Grishin2020-06-08
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfix: proper error reporting on failed downloads; lists ↵Stan Grishin2020-05-27
| | | | | | update script Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfix: start downloads on cold bootStan Grishin2020-04-22
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfixes: remove escape chars from log, restore from cache ↵Stan Grishin2020-04-07
| | | | | | on boot Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: support multiple dnsmasq instances; rework communication ↵Stan Grishin2020-03-29
| | | | | | between principal package and luci app Signed-off-by: Stan Grishin <stangri@melmac.net>
* treewide: fix service status command in procd compatible servicesPetr Štetiar2019-11-18
| | | | | | | | | | | | | | | Fix breaking change introduced in the main tree with a commit 7519a36774ca ("base-files,procd: add generic service status") where the old service `status` callback function doesn't work anymore and needs to be renamed to `status_service`. This name was chosen for consistency with start and stop function callbacks, which are using `start_service` and `stop_service` naming schemes. While at it, fix whitespace issues in the status_service as well. Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-September/019035.html Reported-by: Dirk Brenken <dev@brenken.org> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* simple-adblock: bugfix: proper dnsmasq reload on stop, rework start/stop logicStan Grishin2019-10-06
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: bugfix and improvements (check description)Stan Grishin2019-10-03
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: dnsmasq.ipset option support, better handling of IDNs, ↵Stan Grishin2019-09-24
| | | | | | updated README Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: move to POSIX compliance, better output on check, better bg ↵Stan Grishin2019-08-22
| | | | | | process data collection. Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: boot-up optimizationStan Grishin2019-08-22
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: support for varios DNS resolvers/optionsStan Grishin2019-08-17
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: options to filter non-ASCII domains, local compressed storageStan Grishin2019-07-04
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: better download processing, luci-app integration, lists ↵Stan Grishin2018-07-16
| | | | | | optimization, firewall integration Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: better start/stop/reload/uninstallStan Grishin2018-01-25
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>
* simple-adblock: new boot logicStan Grishin2017-12-26
| | | | Signed-off-by: Stan Grishin <stangri@melmac.net>