Commit Graph

108 Commits

Author SHA1 Message Date
Dirk Brenken ba6d67883a adblock: update 3.5.1
* maintenance update, just small backend bugfixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-20 15:30:52 +01:00
Dirk Brenken c44e40809e adblock: update 3.5.0
* major performance boost: add a flexible 'Download Queue' to handle
  downloads & list processing in parallel, default queue size is '4',
  you can raise this e.g. to '8' or '16' to get it really fast
* replace former 'whitelist mode': the new 'Jail' option
  builds an additional 'adb_list.jail' list in parallel
  which can be used manually for guest wifi or kidsafe configurations
* regex parser & query function now fully support IDN domains
  with non-ASCII characters
* add error handling in tld compression,
  to handle OOM conditions better
* adblock.notify sends now html emails,
  to get a better look & feel, even on mobile devices
* add czech regional blocklist maintained by turris omnia users
* LuCI: Support new 'Download Queue' & 'Jail' options
* LuCI: fix field width in "Runtime Information" section

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-31 13:13:32 +01:00
Dirk Brenken c3098f69d0 adblock: update 3.4.3
* add pidfile writing / check to prevent further race conditions
* ease the download utility selection: uclient-fetch (default),
  wget, curl, aria2c, wget-nossl, busybox-wget are pre-configured
* add debug download logging in case of an error, e.g. wrong url
* change 'malware' blocklist source url
* add logfile information to email template
* LuCI: add 'Download Utility' select box
* LuCI: add new "running" status

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-10 22:28:53 +01:00
Dirk Brenken 35234924cb adblock: update 3.4.1
* enable code to support Turris Omnia forthcoming upstream change
  (new kresd 'keep_cache' option) to preserve kresd DNS cache
* fix a 'status' race condition while the adblock process
  is running in parallel
* various small speed improvements
* rework debug output
* refine blacklist handling
* enable the (empty) blacklist source in the default config
* email notification supports mstmp, even without sendmail symlink
* email notification writes minimal status to log (one-liner)
* LuCI: refine logfile search term
* LuCI: Textarea 'autoscroll down' in logfile view
* LuCI: Left-align blocklist source table plus a more compact design

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-05 20:25:28 +01:00
Dirk Brenken d699afd7fe adblock: release 3.4.0
* preserve DNS cache after adblock processing,
  - 'unbound' and 'named' support this (please check readme)
  - 'dnsmasq' now uses the 'servers-file' directive
    to minimize the reload disruption,
    even though the dns cache will be cleared after SIGHUP
  - 'kresd' dns cache is persistent by upstream default, anyway
    Turris Omnia devices need a small upstream software change
    which is not accepted/implemented yet
* email notification in case of an error or domain count < n
  (default 0, check readme)
* removed securemecca from default config (service has been closed)
* new separate functions for hash compare and list/overall count
* add missing package dependencies
* various clean-ups
* update documentation

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-28 18:11:17 +01:00
Dirk Brenken f831d54d90 adblock: update 3.1.1
* new function to set/delete options in external uci config files
  * kresd: automated 'rpz_file' handling in /etc/config/resolver
  * firewall: automated 'force_dns' handling if you
              enable or disable adblock
* support sha256sum (default) and md5sum for blocklist
  comparison & conditional dns restarts
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-02 18:46:53 +01:00
Julius-Paul Jann e49b2e2c08 adblock: add German list
Signed-off-by: Julius-Paul Jann <foss@nokius.net>
2017-11-09 20:41:53 +01:00
Dirk Brenken 02e21a1e71 adblock: release 3.1.0
* please note: config file update required!
* add 'whitelist only' mode, block access to all domains
  except those explicitly listed in the whitelist file
* rework awk regex for all blocklist sources
  * include 'third-party' domains for all regional lists
  * change adguard url and refine filter ruleset
  * use POSIX character classes
  * fix regex for whitelist preparation
  * fix corner case parsing issues
* fix enable/disable behavior
* various other small fixes
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-11-04 14:00:20 +01:00
Dirk Brenken 5c934e5352 adblock: update 3.0.3
* add new list source to default config to block browser-based
  crypto mining

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-10-18 12:50:12 +02:00
Dirk Brenken 8822046be5 adblock: update 3.0.2
* better system information
* several kresd related documentation fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-09-15 14:51:14 +02:00
Dirk Brenken 4deebc0b18 adblock: bugfix 3.0.1
* fix startup issues with backends like dnscrypt-proxy or kresd
  which does not come up without an existing block list
* fix a small 'chown' issue

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-09-12 11:44:37 +02:00
Dirk Brenken 206c847bb5 adblock: release 3.0
* add kresd & turris omnia support
* add dnscrypt-proxy support
* change start priority to 30, to fix possible trigger issues on slow
booting hardware
* simplify suspend/resume handling (no longer use a hideout directory)
* enhanced LuCI frontend
* many small changes & improvements
* default config change (please update your config!), adblock is now
disabled by default
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-09-09 19:45:36 +02:00
Dirk Brenken 9aba9ac562 adblock: update 2.8.5
* add preliminary kresd dns backend support for turris devices,
  see readme (experimental / untested!)
* use tld compression for overall list, too
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-04 11:01:15 +02:00
Patrick Mulder 0513566fcf adblock: Added a new region.
Signed-off-by: Patrick Mulder <pcmulder89@gmail.com>
2017-07-22 20:33:26 +02:00
Dirk Brenken d51f38672a adblock: update 2.8.3
* refine manual/backup mode (exclude local blacklist processing)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-07-05 18:46:08 +02:00
Dirk Brenken acafc3c40e adblock: update 2.8.2
* made DNS restart conditional (compare list hash values),
  to prevent needless restarts of the DNS backend

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-29 15:34:18 +02:00
Dirk Brenken e2af11adeb adblock: update 2.8.1
* revert 'wan6' interface trigger in default config
  due to current procd limitation (see: #4521)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-29 12:57:15 +02:00
Dirk Brenken 14c5e7cae9 adblock: update 2.8.0 (release 2)
* fix a logical glitch

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-27 08:44:15 +02:00
Dirk Brenken e660813798 adblock: update 2.8.0
* add bind support (see readme)
* export all blocked domains in one central file (adb_list.overall)
  * prerequisite for proper bind support
  * much faster sort operation with less memory consumption
  * backups are still handled per source separately,
    to be more flexible in adding/removing block list sources
* add additional 'wan6' interface trigger in default configuration
* various small fixes & optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-27 07:45:34 +02:00
Dirk Brenken 88be3d2d49 adblock: update 2.7.1
backend:
* cosmetics

frontend:
* "Save & Reply" now distinguish between normal and manual/backup mode
  and triggers an appropriate reload or a start action

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-09 20:19:56 +02:00
Dirk Brenken 617448dc93 adblock: update 2.7.0
backend:
* add new 'manual mode' to re-use blocklist backups during startup,
  get fresh lists only via manual reload or restart action
* additional free memory check during dns restart to prevent OOM errors
* removed palevo tracker from default config,
  this tracker has been discontinued
* cosmetics

LuCI frontend (see luci repo):
* add new 'manual mode' under extra options

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-07 19:31:13 +02:00
Dirk Brenken 272c79de83 adblock: maintenance update 2.6.4
* made wget default parms compatible with older program versions
* shift dns detection routine to simplify dns override,
  just set 'adb_dnslist' to force a particular backend priority
  (default: 'dnsmasq unbound')
* reduce ubus polling during dns detection

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-17 21:28:12 +02:00
Dirk Brenken 6ffae3bc1e adblock: maintenance update 2.6.3
backend:
* various small fixes & optimizations
 
LuCI frontend (see luci repo):
* Limit Blacklist/Whitelist Online editing to max. 512 KB, approx.
20.000 domains per list
* Automatically refresh the overview page after button onclick event,
e.g. 'Suspend/Resume' or 'Save & Apply'
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-08 11:19:57 +02:00
Dirk Brenken bf7d1dc85c adblock: update 2.6.2
* refine 'force dns' handling:
  - enabled-check before firewall reload
  - add rule name (better LuCI experience)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-29 07:56:28 +02:00
Dirk Brenken 95b3c8ba12 adblock: update 2.6.1
* add "adb_forcedns" to redirect all dns requests
  to local resolver (disabled by default)
* add "adb_forcesrt" to enable overall sort / duplicate removal
  on low memory devices with less than 64 MB RAM (disabled by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-26 13:36:49 +02:00
Dirk Brenken fcc91afc65 adblock: update 2.6.0-2
* change start priority to get all interface trigger events, even on
fast hardware
* made default trigger delay more conservative to fix possible start up
issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-17 17:54:37 +02:00
Dirk Brenken 45af003ba1 adblock: update 2.6.0
* no longer misuse ubus/procd service object for adblock runtime 
  information, now save all required information directly 
  in a JSON file/format (/tmp/adb_runtime.json)
* new 'status' init command to print runtime information
* add a configurable interface trigger timeout for 
  nested or slow modem/router setups,
  set 'adb_triggerdelay' accordingly (default 1 second)
* add support for pure http download utilities like wget-nossl 
  or uclient-fetch without libustream-ssl (http donwloads only!)
* fix stop action
* fix enabled/disabled action
* fix country code in regional list for china
* LuCI update to reflect all changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-12 15:54:11 +02:00
Dirk Brenken 1fdf5d1e7e adblock: update 2.5.1
* re-order all regional lists in adblocklist/easylist format
    * add polish blocklist
    * add chinese blocklist
    * lists called now 'reg_<ch|pl|ro|ru>'
* changed interface trigger default in config to 'wan' only
* update / sync LuCI frontend (see luci repo for details)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-04 14:15:30 +02:00
Dirk Brenken 9e3f88916f adblock: update 2.5.0
* revamp LuCI GUI (see luci repo for details)
* integrated runtime statistics in normal adblock ubus service instance
(see readme)
* simplified boot/init
    * no longer use raw interface trigger
    * use only network interface trigger, pre-configured for
'wan/wwan/lan' interfaces (see readme)
    * fixed a reload issue
* removed switch to disable tld compression (seems to be pretty stable)
* muted awk parser if source list contains incorrect records
* raise dns backend timeout to 20 seconds
* documentation update
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-26 06:47:23 +02:00
Stijn Tintel f82287cf5c treewide: use name in define and eval lines
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.

I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.

This makes all packages consistent with both LEDE and OpenWrt base
repositories.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-03-08 21:15:20 +01:00
Dirk Brenken b3b9972eac adblock: release 2.4.0 (release 2)
* add missing sort step if tld compression was disabled

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-28 20:35:12 +01:00
Dirk Brenken ed470f0dcc adblock: release 2.4.0
* add tld compression,
  this new "top level domain compression" removes up to 40 thousand
  needless host entries from the block lists and
  lowers the memory footprint for the dns backends by 8-10 MByte
* optimize restart behavior in case of an error
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-28 16:52:10 +01:00
Dirk Brenken 8c5b9a0802 adblock: update 2.3.2
* optimize memory consumption & 
  enable overall sort only on devices with > 64MB RAM,
  this prevents sort related kernel dumps

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-22 16:06:32 +01:00
Dirk Brenken 5cf40c94ee adblock: update 2.3.1
* various optimizations & corner case fixes
* removed no longer needed debug information
* polished up for forthcoming LEDE release ;-)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-16 15:18:41 +01:00
Dirk Brenken 5e4cd25103 adblock: 2.3.0 (package release 3)
* refine too optimistic wget/uclient-fetch timeout defaults
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-12 08:20:10 +01:00
Dirk Brenken 1e7a1b380b adblock: 2.3.0 (package release 2)
* update readme regarding unbound integration
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-06 17:07:48 +01:00
Dirk Brenken 9500430231 adblock: release 2.3.0
* automatically selects dnsmasq or unbound as dns backend
* add the new 'adguard' source, a combined/quite effective block list
* remove needless dns backend restarts
* optimize adblock restart behavior
* optimize block list processing on inotify enabled filesystems
* better return code checking on block list download
* fix boot function/startup on Chaos Calmer
* fix a bug in blocklist removal function
* add more (optional) debug output
* move backup options to global config
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-02-05 07:07:10 +01:00
Dirk Brenken 12c345d803 adblock: bugfix 2.1.5 (release 2)
* fix wget/uclient-switch

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-29 21:24:05 +01:00
Dirk Brenken 92c098fc02 adblock: update 2.1.5
* fix init boot function
* made fetch utility check more bullet proof
* automatically switch between default wget & uclient-fetch
configuration
* output link to online documentation on error
* update documentation

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-23 19:03:41 +01:00
Dirk Brenken d960507c5f adblock: bugfix 2.1.2
* fix minor build error in init script

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-20 09:57:33 +01:00
Dirk Brenken 43971e29a1 adblock: bugfix 2.1.1
* fix domain query function to support new unbound format

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-06 16:10:18 +01:00
Dirk Brenken 092599f126 adblock: update 2.1.0
* add initial unbound support (experimental, see online doc)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-01-05 10:33:29 +01:00
Dirk Brenken 1e99336f3c adblock: update 2.0.4
* small fixes & cosmetics (missed in last commit)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-31 14:17:40 +01:00
Dirk Brenken 412f1f58cc adblock: update 2.0.3
* fixed adblock statistics in CC
* print additional list details in adblock statistics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-30 22:21:00 +01:00
Dirk Brenken c842884168 adblock: update 2.0.2
* fixed dnsmasq check if multiple instances are present
* bring back query function on highly demand
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-23 07:18:57 +01:00
Dirk Brenken 708d83bc71 adblock: bugfix 2.0.1
* fixed a dnsmasq restart issue (udhcpc error)
* fixed a long standing corner case bug in "disabled" state (does not
remove active block lists!)
* simplified overall sort, removed needless 'for loop'
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-22 19:33:59 +01:00
Dirk Brenken 7eedce0a58 adblock: release 2.0.0
* changed complete dnsmasq handling
  - no longer redirect ad requests to internal web server via firewall 
    rules etc., in fact send back a simple NXDOMAIN for all
    ad related (sub-)domains
  - smaller memory footprint for block lists
  - removed needless uhttpd instances
  - removed needless firewall rules/redirects
* init/hotplug system migrated to procd
  - removed hotplug.d script, now using procd interface trigger
* reduced code size/complexity
  - removed needless internal pre-checks & function blocks,
    no longer rely on a separate helper library
  - removed flash writes to adblock config
* support different download tools like wget (default), aria2c,
uclient-fetch, curl (see online doc)
* adblock status/statistics via ubus call (see online doc)
* various bug fixes
* documentation update
* changed makefile copyright notice

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-20 12:17:08 +01:00
Dirk Brenken ecbc056a29 adblock: bugfix 1.5.4
* CC/uclient-fetch compatibility fix

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-11-27 18:47:41 +01:00
Dirk Brenken 8a4917a0a1 adblock: update 1.5.3
* make wget check more flexible,
  fix for broken wget package installations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-10-28 19:36:04 +02:00
Dirk Brenken 65bcae0986 adblock: update 1.5.2
* turris omnia compatibility fix

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-10-13 22:02:24 +02:00