aboutsummaryrefslogtreecommitdiff
path: root/net/adblock/files/adblock.sh
Commit message (Collapse)AuthorAge
* adblock: update 4.1.5-9Dirk Brenken2024-02-28
| | | | | | * minimal fix with reporting interface 'any' Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update to 4.1.5-7Dirk Brenken2023-03-20
| | | | | | | | * fix cornercase issue with duplicate entries in black- and whitelist * change cpbl source URL * firewall redirects now blocks IPv4 and IPv6 (set family to "any") Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.5-3Dirk Brenken2022-10-22
| | | | | | | * fixed search regression in DNS report * removed last shallalist pointers in the init help Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.5-2Dirk Brenken2022-10-20
| | | | | | | | * fixed broken/blocked oisd download links (switched to the official github mirror) * made sure that curl error out on http errors as well * removed obsolete compatibility stuff from init script Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.5Dirk Brenken2022-10-18
| | | | | | | | | | | | * made the reporting/top statistics flexible, see "top_count" parm in CLI or in LuCI (default 10), fixes #19622 * added the new blocklist source cpbl (provided by PascalCoffeeLake@gmail.com) * added/separated Easylist/Easyprivacy blocklist sources (provided by PascalCoffeeLake@gmail.com) * added reg_jp blocklist_source (provided by PascalCoffeeLake@gmail.com) * removed the easylist addons from the other regional lists * removed the second/obsolete pl regional list and renamed the first one to "reg_pl" * updated the readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.4-5Dirk Brenken2022-09-25
| | | | | | | | * auto-whitelist ext. dns lookup domain * add public doh server blocklist source * whitespace fixes in adblock.sources Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.4-3Dirk Brenken2022-09-18
| | | | | | * unbound: fix domain search regression Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.4-2Dirk Brenken2022-09-11
| | | | | | | | | * some more cleanups, forgotten with the last update * optimized unbound syntax ('always_nxdomain' & 'always_transparent') * optimized oisd download sources (use wilcard variants which are much smaller) * removed superfluous version information/function Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.4Dirk Brenken2022-09-10
| | | | | | | | | | | | * dnsmasq upstream has changed the code for domain handling and recommends the 'local' syntax for large blocklists * remove pipefail command, see #19043 for reference * removed the unused 'adb_dnsinotify' parameter * removed the 'adb_maxqueue' parameter, the queue size will be automatically set by the number of cpu cores * various cleanups, mostly shellcheck related Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: 4.1.3-8Dirk Brenken2022-04-11
| | | | | | | | * add new 'hblock' compilation source (XL, see https://hblock.molinero.dev for reference) * print runtime/date information in ISO-8601 standard format * minor cleanups Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: 4.1.3-6Dirk Brenken2022-03-07
| | | | | | | * remove discontinued sources: shallalist, stalkerware * fix a logical glitch in startup trigger handling Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: 4.1.3-4Dirk Brenken2021-12-22
| | | | | | * fix backup dir creation in raw mode Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: bugfix 4.1.3-3Dirk Brenken2021-07-26
| | | | | | * fix regex to prepare google safesearch domains Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.3-2Dirk Brenken2021-06-29
| | | | | | | | | * add a tcpdump option to resolve IPs in adblock reporting, set 'adb_represolve' accordingly (disabled by default). If enabled tcpdump will perform a reverse DNS (PTR) lookup for each IP address * add 'stalkerware' source (provided by @astryzia) * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.3Dirk Brenken2021-06-12
| | | | | | | | | * fix a small json syntax issue in adblock.sources * add easylist addon to reg_fr source * add switch 'adb_fetchinsecure' to allow insecure downloads without certificate check (disabled by default) * better explain 'adb_fetchparm' in readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update to 4.1.2Dirk Brenken2021-04-30
| | | | | | | * preserve DNS cache after adblock processing (unbound & bind) * fix redirect issue with oisd basic url * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update to 4.1.1Dirk Brenken2021-04-17
| | | | | | | | | | | | * support the RPZ trigger 'RPZ-CLIENT-IP' to always allow/block certain clients based on their IP (currently only supported by bind!) * avoid promiscuous mode in tcpdump setup for adblock reporting * speed up dns report preparation * support dns report mailing (/etc/init.d/adblock report mail) * fix bind autodetection * update LuCI-frontend (separate PR) * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.0-3Dirk Brenken2021-03-23
| | | | | | | * add a restrictive "jail mode only" variant, just point your jail directory to your primary dns directory * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: small updateDirk Brenken2021-03-10
| | | | | | | * add adguard_tracking source (list with cname trackers) * optimize/sort output of active sources in status * optimize log output in EMails Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.1.0Dirk Brenken2021-02-26
| | | | | | | | | | | | * major source changes: * split oisd.nl in basic and full variant * add swedish regional list * made archive categories for shallalist and utcapitole selectable via LuCI * made all list variants of energized and stevenblack selectable via LuCI * removed dns filereset mode Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: fix restrictive sort selectionDirk Brenken2020-12-20
| | | Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.8Dirk Brenken2020-12-19
| | | | | | | | | | | | | * source changes: - add new source 'games_tracking' (https://www.gameindustry.eu) - change malwaredomains source mirror - remove malwarelist source (source is empty) - remove youtube source (does not work at all) * support multiple firewall zones for dns redirects * add firewall zone/port housekeeping * fix dns backend detection in TurrisOS (LuCI change) * add check for gnu-sort Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: reporting fixes/tweaksDirk Brenken2020-11-29
| | | | | | * prevents the creation of an invalid json structure * add more space to the domain column on cli Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.7-2Dirk Brenken2020-10-19
| | | | | | | * switch all safesearch providers to dynamic ips (derived from cname) * made the new safesearch approach compatible with bind-nslookup * removed 3.x config compatibility code Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.7Dirk Brenken2020-10-18
| | | | | | | | | | | * fix aria2c download options * fix report engine with empty domains * fix safesearch ips of safe.duckduckgo.com (get ips dynamically) * fix safesearch ips of safesearch.pixabay.com (get ips dynamically) * add regional blocklist for italy * shellcheck adjustments * add test.sh for CI testing Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.6Dirk Brenken2020-06-13
| | | | | | | | * add anti_ad blocklist source * made SafeSearch provider configurable, you can limit SafeSearch to certain providers * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.5-3Dirk Brenken2020-05-30
| | | | | | * fix oisd_nl source parser (format has been changed) * enable safesearch support for kresd (ip based) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: limit domain name lengthDirk Brenken2020-05-24
| | | | | | * limit domain name length to max. 63 chars to fix issues with energized sources Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: release 4.0.5Dirk Brenken2020-05-23
| | | | | | | | | | * update energized source urls, add ultimate variant * switch shalla source to http (invalid server certificate) * add another stevenblack source variant (normal / porn) * small cornercase fixes * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: filter spurious line endings in sourcesDirk Brenken2020-04-18
| | | | | | * prevent processing of spurious line endings that confuses (g)awk Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: fix gawk incompatibilityDirk Brenken2020-04-17
| | | | | * fix gawk incompatibility in reporting Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: fix another reporting bugDirk Brenken2020-04-13
| | | | | | * add a final sort step, this fixes dns reporting with multiple pcap files as input Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.4Dirk Brenken2020-04-11
| | | | | | | * add 'ca-bundle' dependency * fix a sort bug in report engine * fix potential bugs in the f_extconf function Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: release 4.0.3Dirk Brenken2020-04-07
| | | | | | | * add 'wally3k' and 'reg_vn' sources, change 'reg_pl' source * update readme * small fixes & cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: release 4.0.2Dirk Brenken2020-04-03
| | | | | | | | | | | * removed 'hphosts' from sources (discontinued) * fixed a "out of range" bug and another small issue in the f_dnsup function * add three new sources: 'anudeep', 'stopforumspam' and 'youtube' * changed 'list' behaviour, the source file has now a higher precedence than the archive file (see readme) * update readme, added missing parameters & more Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: re-release 4.0.1Dirk Brenken2020-04-01
| | | | | | * fixed an oversight introduced in the last 3.99 pre-release series, only relevant for "raw" mode e.g. dnscrypt-proxy users Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 4.0.1Dirk Brenken2020-03-31
| | | | | | | | | * fix dependency issue * fix query timeouts in web frontend (seen with many selected lists), now the query comes back latest after 30 seconds, to prevent any timeouts, with all results to this point. * add missing parameter in readme.md Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: release 4.0.0Dirk Brenken2020-03-28
| | | | | | | | | | | | | | | | | | | | | * new package dependencies: coreultis-sort and a download util with SSL support * focus on speed (multicore-support) to handle quite big lists * include 38 pre-configured blocklist sources in a compressed json file (/etc/adblock/adblock.sources.gz) * dynamic SafeSearch support for google, bing, duckduckgo, yandex, youtube and pixabay (CNAME (bind) & IP (dnsmaq, unbound)) * DNS backend autodetection * Download Utility autodetection * Report Interface autodetection * Easy cron wrapper to set an adblock related auto-timer for automatic blocklist updates * raw domain/blocklist support (e.g. for dnscrypt support) * re-add restrictive Jaillist support * rework online doc * Complete LuCI rewrite (migrated to client side JS) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.15Dirk Brenken2020-02-02
| | | | | | * remove 'reg_cz' list (abandoned) * add 'notracking' list (provided by @rcarmo) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: bugfix 3.8.14Dirk Brenken2019-12-11
| | | | | | * fix some whitelist issues (see https://forum.openwrt.org/t/adblock-support-thread/507/1101) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: bugfix 3.8.13Dirk Brenken2019-12-10
| | | | | | | | | | | * remove 'ransomware' blocklist by abbuse.ch (discontinued) from default adblock config * fix/switch 'someonewhocares' config to https only * fix curl download parameters to follow redirects and suppress needless output * made the tmp directory of sort operations configurable, set 'adb_sorttmp' accordingly (only supported by 'coreutils-sort') Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.12Dirk Brenken2019-11-23
| | | | | * fix possible dns restart issue with DNS File Reset (race condition) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.11Dirk Brenken2019-11-16
| | | | | | | * some more init tweaks * update/cleanup readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.10Dirk Brenken2019-11-10
| | | | | * fix broken unbound integration Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.9Dirk Brenken2019-11-06
| | | | | | | * more startup tweaks * re-use f_log function in helper scripts * small fixes / polish up for forthcoming 19.07 release Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.8Dirk Brenken2019-11-03
| | | | | | * print to stdout if 'logger' is not available * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.7Dirk Brenken2019-10-31
| | | | | | * prevent forced parallel adblock service starts * refine service trigger Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: minor update 3.8.6-2Dirk Brenken2019-10-19
| | | | | | * fix service status message * refine readme regarding reload cron job (provided by @novoid) Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.6Dirk Brenken2019-09-16
| | | | | | | * refine stop logic to prevent needless dns backend restarts and other oddities * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
* adblock: update 3.8.5Dirk Brenken2019-09-06
| | | | | | | | | | | | | | | | * use raw procd interface trigger as last resort, if the adblock config is not available during startup * fix selective subdomain whitelisting for dnsmasq * fix a kresd restart issue with 'DNS File Reset' * fix a suspend/resume cornercase * disable the tld compression, if the number of blocked domains is greater than 'adb_maxtld' (default: 100000) * made the fw portlist configurable (default '53 853 5353') * preliminary support for inotify-like autoload features of dns backends like kresd in future Turris OS. If 'adb_dnsinotify' is set to 'true', all adblock related restarts and the 'DNS File Reset' will be disabled Signed-off-by: Dirk Brenken <dev@brenken.org>