Commit graph

29 commits

Author SHA1 Message Date
Stan Grishin
35f4830de7 simple-adblock: update init file and config
* move network.sh and jshn.sh includes into load_validate_config function
  to prevent errors when adding the package to image with the Image Builder
* add @bongochong compressed domains block-list to the config

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-03-11 10:48:34 +00:00
Stan Grishin
587cd4d0d7 simple-adblock: implement procd_boot_wan_timeout support
* implement procd_boot_wan_timeout support
* update config with oisd ABPlus and domains lists

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-02-19 05:10:35 +00:00
Stan Grishin
8c8384611b simple-adblock: update to 1.9.3-7
* 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>
2023-02-04 22:34:59 +00:00
Stan Grishin
f11ce28baf simple-adblock: update to 1.9.3-1
* 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>
2022-11-14 18:50:29 +00:00
Stan Grishin
7393b74457 simple-adblock: update to 1.9.2-4
* 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>
2022-11-04 00:58:40 +00:00
Stan Grishin
9156ef6507 simple-adblock: allow domains bugfix & canary domains support
* 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>
2022-10-01 23:11:38 +00:00
Stan Grishin
f8c5fd93e7 simple-adblock: update to 1.9.1-1
* 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>
2022-09-25 12:25:40 +00:00
Stan Grishin
e695cc26b0 simple-adblock: jsonOps-related bugfixes
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-03-17 22:21:05 -10:00
Stan Grishin
95586689f5 simple-adblock: config update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-12-18 22:04:59 -06:00
Stan Grishin
22722a8095 simple-adblock: bugfix - config update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-12-12 15:58:21 -06:00
Stan Grishin
92e6b29920 simple-adblock: config update file fix
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-10-09 09:20:55 -10:00
Stan Grishin
d7de7813b4 simple-adblock: add config auto-update feature
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>
2020-09-20 01:00:06 +00:00
Stan Grishin
492a49fcc5 simple-adblock: bugfix: update config; use command -v
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-21 23:29:02 +00:00
Stan Grishin
e7d2563c57 simple-adblock: README and config update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-04 22:50:39 +00:00
Stan Grishin
3167c3c4c0 simple-adblock: racially-neutral names
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-13 20:39:00 +00:00
Stan Grishin
eb398862b5 simple-adblock: remove obsolete dshield.org links from config
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-08 17:35:32 +00:00
Stan Grishin
901159b8c7 simple-adblock: bugfix: proper error reporting on failed downloads; lists update script
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-05-27 00:25:57 +00:00
Stan Grishin
c805064a7d simple-adblock: bugfix: start downloads on cold boot
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-22 17:45:53 +00:00
Stan Grishin
5df3acdf10 simple-adblock: bugfixes: remove escape chars from log, restore from cache on boot
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-04-07 21:55:22 +00:00
Stan Grishin
49dbec35f6 simple-adblock: support multiple dnsmasq instances; rework communication between principal package and luci app
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-03-29 05:13:07 +00:00
Stan Grishin
756bbb7afd simple-adblock: bugfix: proper dnsmasq reload on stop, rework start/stop logic
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-10-06 09:33:33 -07:00
Stan Grishin
54f4487af1 simple-adblock: bugfix and improvements (check description)
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-10-03 18:41:49 -07:00
Stan Grishin
c6beee74f9 simple-adblock: dnsmasq.ipset option support, better handling of IDNs, updated README
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-24 09:11:45 -07:00
Stan Grishin
b4d32b17fb simple-adblock: support for varios DNS resolvers/options
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-17 06:09:31 -07:00
Stan Grishin
79245d4552 simple-adblock: options to filter non-ASCII domains, local compressed storage
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-04 15:38:58 -07:00
Stan Grishin
ac34bf910e simple-adblock: better download processing, luci-app integration, lists optimization, firewall integration
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-16 17:41:39 -07:00
Stan Grishin
4c06b95a34 simple-adblock: better start/stop/reload/uninstall
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-01-25 19:35:52 -08:00
Stan Grishin
1897a04774 simple-adblock: new boot logic
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-12-26 14:13:38 -08:00
Stan Grishin
7ac3fcd9fd simple-adblock: initial commit
simple-adblock: version 1.5 introduces background processing of downloaded list while the next list is being downloaded

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-03-14 21:33:16 -07:00