Commit Graph

79 Commits

Author SHA1 Message Date
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
Dirk Brenken aa5cf5d4a2 adblock: bugfix 1.5.1
* fix uhttpd detection in tcp 4+6 configurations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-10-11 17:09:05 +02: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 23b14e7b4c adblock: update 1.4.10
- add 'enabled' check to iface hotplug event handler
- decrease startup priority from 99 to 90
- fix tab indentation in config

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-09-29 18:07:45 +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 a029b3f9f4 adblock: update 1.4.6
* added a 'window.close()' to adblock landing page to automatically
close any pop-ups that might get loaded with a blocked ad
* simplified dnsmasq check in ap mode

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-08-21 20:56:47 +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 fcc93d75d0 adblock: update 1.4.4
* filter non-printable characters/binary data in input stream
* fix IPv4 adblock statistics in CC

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-08-14 17:34:34 +02:00
Dirk Brenken 58883787bf adblock: update 1.4.3
* fix race condition in restricted mode
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-07-31 18:16:31 +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 6883d35f5e adblock: update 1.4.1
* fix two possible overflows in adblock statistics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-07-20 22:10:35 +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 4bb8a34bbf adblock: update 1.3.2
* only a few more fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>

Euro 16: germany vs. italy 6:5 (after 18 penalties) :-)
2016-07-03 07:42:19 +02:00
Dirk Brenken 7cfd8bc44e adblock: update 1.3.1
* fix uclient-fetch detection
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-29 23:39:12 +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 ba13e81d21 adblock: update 1.2.7
* provide adblock statistics as a separate function
  (/etc/init.d/adblock stats)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-22 20:16:19 +02:00
Dirk Brenken 001646e3fe adbock: update 1.2.6
* small addition in case of a failed list download

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-21 05:10:47 +02:00
Dirk Brenken dc37ea1ba7 adblock: update 1.2.5
* restructured sources
* fix logical glitches in config handling
* many corner case fixes & cosmetics
* show runtime errors in LuCI (in lastrun section)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-18 15:12:19 +02:00
Dirk Brenken 672dd10b10 adblock: update 1.2.1
* small optimizations & cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-14 22:25:02 +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 26fa1c5df0 adblock: update 1.1.16, release 2
* workaround for LuCI search path issue

Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-06-03 19:40:37 +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