mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
adblock: 0.80.1
* fix ip6tables reject types * simplified firewall ruleset for IPv4/IPv6 * fix memory detection (swap was always 0) * fix dnsmasq restart after partial restore * ad hotplug support, adblock will be started when wan interface comes up * change adblock init script accordingly, do nothing on 'boot' * optimize wget parameters for faster download results (in case of an error) * added CC installation notes to readme * removed needless external online check * removed needless optional parms 'adb_maxtime', 'adb_maxloop', 'adb_probeipv4' and 'adb_probeipv6' Signed-off-by: Dirk Brenken <openwrt@brenken.org>
This commit is contained in:
@@ -51,6 +51,7 @@ When the dns server on your router receives dns requests, you will sort out quer
|
||||
* status & error logging to stdout and syslog
|
||||
* use of dynamic uhttpd instance as adblock pixel server
|
||||
* openwrt init system support (start/stop/restart/reload)
|
||||
* hotplug support, adblock start will be triggered by wan 'ifup' event
|
||||
* optional features (disabled by default):
|
||||
* adblock list backup/restore
|
||||
* debug logging to separate file
|
||||
@@ -62,8 +63,8 @@ When the dns server on your router receives dns requests, you will sort out quer
|
||||
* optional: 'kmod-ipt-nat6' for IPv6 support
|
||||
* the above dependencies and requirements will be checked during package installation & script runtime
|
||||
|
||||
## Usage
|
||||
* install the adblock package (*opkg install adblock*)
|
||||
## Installation & Usage
|
||||
* install the adblock package (*opkg update & opkg install adblock*)
|
||||
* start the adblock service with */etc/init.d/adblock start* and check *logread -e "adblock"* for adblock related information
|
||||
* optional: enable/disable your required adblock list sources in */etc/config/adblock* - 'adaway', 'disconnect' and 'yoyo' are enabled by default
|
||||
* optional: maintain the adblock service in luci under 'System => Startup'
|
||||
@@ -73,6 +74,11 @@ For easy management of the various blocklist sources and and the adblock options
|
||||
Please install the package 'luci-app-adblock'. Then you will find the application in LuCI located under 'Services' menu.
|
||||
Thanks to Hannu Nyman for this great adblock LuCI frontend!
|
||||
|
||||
## CC installation notes
|
||||
* currently the adblock package is *not* part of the CC package repository
|
||||
* download the latest adblock package *adblock_x.xx.x-1_all.ipk* from a DD snapshot [package directory](https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages)
|
||||
* manual transfer the package to your router and install the opkg package as usual
|
||||
|
||||
## Tweaks
|
||||
* there is no need to enable all blacklist sites at once, for normal use one to three adblock list sources should be sufficient
|
||||
* if you really need to handle all blacklists at once add an usb stick or any other storage device to supersize your temp directory with a swap partition => see [openwrt wiki](https://wiki.openwrt.org/doc/uci/fstab) for further details
|
||||
@@ -90,10 +96,6 @@ Thanks to Hannu Nyman for this great adblock LuCI frontend!
|
||||
* adb\_port => port of the adblock uhttpd instance (default: '65535')
|
||||
* adb\_nullipv4 => IPv4 blackhole ip address (default: '192.0.2.1')
|
||||
* adb\_nullipv6 => IPv6 blackhole ip address (default: '::ffff:c000:0201')
|
||||
* adb\_probeipv4 => IPv4 address used for uplink online check (default: '8.8.8.8')
|
||||
* adb\_probeipv6 => IPv6 address used for uplink online check (default: '2001:4860:4860::8888')
|
||||
* adb\_maxtime => download timeout limit in seconds (default: '60')
|
||||
* adb\_maxloop => startup timeout limit in seconds to wait for an active wan interface (default: '20')
|
||||
|
||||
## Background
|
||||
This adblock package is a dns/dnsmasq based adblock solution for openwrt.
|
||||
|
||||
Reference in New Issue
Block a user