Commit Graph

65 Commits

Author SHA1 Message Date
Leong Hui Wong 0a3b6465f6 treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-12-14 15:31:54 +08:00
Dirk Brenken 23bb744ff3
adblock: bugfix 3.5.5v2
* fix uci wrapper calls
* fix link in readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit cd3f925210)
2018-09-05 17:54:26 +02:00
Dirk Brenken e8813bb561
adblock: update 3.5.5
* accept only ascii aka punycode chars in blocklists to prevent possible
dns backend warnings
* fix cornercase issues in json parsing (backend & frontend)
* slightly optimize tld compression performance
* refine logging
* use uci wrapper where possible
* change indentation from spaces to tabs (saves 8kb)
* add experimental youtube blocklist source

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 4987f066f9)
2018-09-04 21:41:09 +02:00
Dirk Brenken 258039dbbe adblock: update 3.5.2
backend:
* add generic blocklist archive support
* add support for blacklist archive from Toulouse 1 University Capitole
* add support for urlhaus RPZ domains by abuse.ch
* small bugfixes & enhancements

luci:
* archive sub-categories (shalla & ut_capitole) are now configurable
  via LuCI CBI template
* small bugfixes & enhancements

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-14 22:23:18 +02:00
rams 0d09ff93e4
typo : donwload -> download
small typo in description
2018-05-05 20:10:43 +02: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 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 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 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 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 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
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 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 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 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 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 dcfbfd9b1a adblock: update 1.5.0
* add new 'envchk'function to check adblock environment only,
  i.e. check volatile firewall rules or uhttpd instances
  without list updates
* add new optional parm 'adb_loglevel',
  set it to "0" to mute output (print only errors)
* set hotplug priority to '90' as well (missed in the last commit)
* documentation update
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-10-07 19:19:03 +02:00
Dirk Brenken 564dc2294a adblock: update 1.4.9
* refine query function (see online doc)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-09-11 18:52:34 +02:00
Dirk Brenken ba1c55f0af adblock: update 1.4.8
* enhance the new query function:
   change the regex to find only the relevant blocklist entries
   add a recursive tld search to quickly identify domains for
whitelisting (see documentation)
     better result preparation
* add securemecca as new blocklist source
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-08-28 21:46:13 +02:00
Dirk Brenken b31f99823c adblock: update 1.4.7
* add a query function to search the active blocklists for a specific
domain (/etc/init.d/adblock query <DOMAIN>)
* fix bug in ap mode/uhttpd port detection
* check general firewall and dnsmasq package dependencies and remove
redundant checks in ap mode

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-08-26 13:07:53 +02:00
Dirk Brenken 4e873aad3c adblock: update 1.4.5
* change the default hphosts list source to ad and tracking servers
only, the overall list includes to many false positives
* new optional config parm 'adb_hotplugif' to restrict hotplug support
to a certain wan interface or to disable it at all
* documentation update
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-08-16 08:59:34 +02:00
Dirk Brenken 880adb9d1a adblock: update 1.4.2
* ad broad blocklist source 'hphosts' https://hosts-file.net

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-07-28 22:29:46 +02:00
Dirk Brenken c493f6af44 adblock: release 1.4.0
* rework/speed up overall sort
* simplified dns error handling

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-07-14 09:35:33 +02:00
Dirk Brenken 7ebd92f997 adblock: update 1.3.3
* enable automatic restore on empty source downloads

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-07-07 12:42:37 +02:00
Dirk Brenken f96f354ad1 adblock: release 1.3.0
* revised hotplug script
* remove wget package dependency
* support uclient-fetch or wget with ssl support
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-28 21:22:44 +02:00
Dirk Brenken fbd4a7c746 adblock: update 1.2.8
* fw rule changes:
	force_dns now supports multiple lan devices
	disable needless force_dns- & forward/output-rules in 'ap mode'
	check return codes during adblock chain creation
* simplified the test for a running firewall
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-26 08:40:53 +02:00
Dirk Brenken 8ab3d8bdc2 adblock: release 1.2.0
* rework download/backup/restore handling
* rework firewall handling
* refine whitelist parsing
* changed default null-ip to 198.18.0.1 to prevent conflicts with bcp38
* spread traffic from ad servers (port 80/443) on two uhttpd instances,
this fixes timeouts on sites with many ssl ad server connections, i.e.
youtube.com
* provide statistics & last runtime for LuCI interface
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-12 18:53:51 +02:00
Dirk Brenken d0eceb6b25 adblock: update 1.1.17
* change winspy url again
* various cosmetics left out in former release

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-04 08:36:47 +02:00
Dirk Brenken 41b05a5532 adblock: update 1.1.16
* new config option 'adb_restricted' to disable updates of the adblock
config during runtime (no flash writes, disabled by default)
* new update function, to apply latest configuration changes if needed
(/etc/init.d/adblock cfgup)
* fix dns redirect rule
* various optimizations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-03 15:21:55 +02:00
Dirk Brenken 4f3f239ff2 adblock: update 1.1.15
* toggle to quickly switch adblocking 'on' or 'off' (/etc/init.d/adblock
toggle)
* new config option 'fetchttl' to set download timeouts (default: 5
seconds)
* better config check, distinct between major/minor changes
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-05-26 17:43:34 +02:00
Dirk Brenken bad84563dc adblock: update 1.1.12
* change wget binary naming
* change winspy source url
* documentation update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-05-24 01:50:48 +02:00
Dirk Brenken 54b0115d25 adblock: update 1.1.11
* fix changed winspy source url in default config
* fix adblock counters in config
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-05-16 22:51:07 +02:00
Dirk Brenken 57853a6c14 adblock: update 1.1.10
* automatic AP mode detection (change nullip address accordingly)
* (de-)compress backups on the fly
* remove hardcoded path for logger
* documentation update
* change maintainer email address
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-05-13 11:07:52 +02:00
Dirk Brenken 7b4ad33255 adblock: update 1.1.2
* remove hardcoded paths for system tools like iptables, uci & fetch
(wget)
* support openwrt & lede spin-off
* cosmetics & cleanups

Signed-off-by: Dirk Brenken <openwrt@brenken.org>
2016-05-08 18:57:54 +02:00