Commit graph

108 commits

Author SHA1 Message Date
Dirk Brenken
2d40930fa0 adblock: bugfix release
* fix download parms
* fix tmp vars
* other small fixes

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-26 21:48:05 +01:00
Dirk Brenken
6d75710491 adblock: reduce memory consumption
* rework shallalist processing: significantly reduce memory consumption
during archive extraction and merging.
* considerable reduce memory consumption during adblock source
processing.
* considerable reduce memory consumption of sort (sorts only the domain
list and not the bigger dnsmasq file)

other changes:
* auto detection/defaults for adb_if, adb_dev, adb_ntpsrv, adb_maxloop,
adb_maxtime and adb_minspace - these options can be safely removed from
previous adblock configuration file
* check total memory and main uhttpd configuration on startup
* documentation update

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-24 22:29:05 +01:00
Dirk Brenken
1c4a92c9f6 adblock: logging & documentation update
- centralized logging via separate function to stdout, syslog and file
- remove dependencies between helper functions
- add two new options "adb_maxtime" and "adb_maxloop"
- add description to every adblock config option (see
adblock.conf.sample)
- update README.md

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-21 08:04:34 +01:00
Dirk Brenken
3dc3e1d214 adblock: fix redirection issues
fix more corner cases because of mksh to ash migration
fix logical glitch during startup

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-16 10:10:24 +01:00
Dirk Brenken
c7edde075c adblock: additional check for running dns query background task
fix for possible query log config change (enabled => disabled)

Please apply to upstream - thank you!

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-12 14:56:04 +01:00
Dirk Brenken
aa2649e8c3 adblock: busybox "tr" does not support character classes by default
bugfix: busybox "tr" does not support character classes by default and
generates (partly) odd domain names. 

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-12 04:59:48 +01:00
Dirk Brenken
1f5ed5d040 adblock: uci support, dynamic uhttpd instance support plus various fixes
* add uci support
* add dynamic uhttpd instance support
  (no longer rely on uhttpd config changes)
* package reordering
* plus various fixes

Signed-off-by: Dirk Brenken <dirk@brenken.org>
2015-11-11 19:39:51 +01:00
dirk
10bd039c37 powerful adblock script to block ad/abuse domains
Signed-off-by: dirk <dirk@brenken.org>
2015-10-28 00:02:23 +01:00