| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
* refine too optimistic wget/uclient-fetch timeout defaults
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* update readme regarding unbound integration
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* fix wget/uclient-switch
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* fix minor build error in init script
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* fix domain query function to support new unbound format
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* add initial unbound support (experimental, see online doc)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* small fixes & cosmetics (missed in last commit)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* fixed adblock statistics in CC
* print additional list details in adblock statistics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* CC/uclient-fetch compatibility fix
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* make wget check more flexible,
fix for broken wget package installations
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
| |
* turris omnia compatibility fix
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* fix uhttpd detection in tcp 4+6 configurations
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
* refine query function (see online doc)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* filter non-printable characters/binary data in input stream
* fix IPv4 adblock statistics in CC
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* fix race condition in restricted mode
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
| |
* ad broad blocklist source 'hphosts' https://hosts-file.net
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* fix two possible overflows in adblock statistics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* rework/speed up overall sort
* simplified dns error handling
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
| |
* enable automatic restore on empty source downloads
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
| |
* only a few more fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
Euro 16: germany vs. italy 6:5 (after 18 penalties) :-)
|
|
|
|
|
|
| |
* fix uclient-fetch detection
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* provide adblock statistics as a separate function
(/etc/init.d/adblock stats)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
| |
* small addition in case of a failed list download
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* small optimizations & cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* change winspy url again
* various cosmetics left out in former release
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
| |
* workaround for LuCI search path issue
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* change wget binary naming
* change winspy source url
* documentation update
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
| |
* fix changed winspy source url in default config
* fix adblock counters in config
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
| |
* discard uncommitted uci changes in case of processing errors
* init script (stop action) now removes all 'adb_src_count' &
'adb_src_timestamp' entries in config
* updated documentation
Signed-off-by: Dirk Brenken <openwrt@brenken.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* support more router modes, as long as the firewall and the DNS server
are enabled
* new source sites can be added & changed via awk ruleset in uci config
* source domain count, last update time & overall count will be stored
in uci config
* added 3 new source sites:
ransomware tracker
rolist/easylist
winspy
* switch to minimal inline base64 encoded 1×1 GIF for pixel server
(separate png image no longer needed)
* simplified uci parser
* source download & domain sort optimization
* add whitelist parser with wildcard support
* reduced code size & various cleanups
* updated documentation
Signed-off-by: Dirk Brenken <openwrt@brenken.org>
|
|
|
|
|
|
|
| |
* remove syntax glitch & cosmetics
* probably the last 1.0.x release
Signed-off-by: Dirk Brenken <openwrt@brenken.org>
|