Commit Graph

229 Commits

Author SHA1 Message Date
Dirk Brenken 72d6156c5d adblock: update 4.4.2-4
* fixed f_uci function
* fixed f_switch function, reported in the turris forum

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-12-15 22:44:01 +01:00
Dirk Brenken a53a5558f2 adblock: update 4.4.2-3
* minor reporting improvements in LuCI
* readme update
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f7505326d2)
2025-06-14 20:59:43 +02:00
Dirk Brenken 731f753695 adblock: update 4.4.2-2
* sanitize the json reporting output

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 7825affaf9)
2025-05-31 23:08:04 +02:00
Dirk Brenken 923bd2dc5a adblock: update 4.4.2-1
* added a new "divested" feed, see https://divested.dev/pages/dnsbl
* added a new nsfw category of the hagezi feed
* added the missing custom feed file handling in the backend
* added a geoIP map with all blocked domains (plus the homeIP) in a
  modal popup window on the Reporting tab in LuCI
* fixed the fetchcmd autodetection
* small code fixes and improvements
* update the readme, added a new "Best practise" section
* update different LuCI components (separate commit)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 58d0992886)
2025-05-30 18:39:48 +02:00
Dirk Brenken d120a8cbaa adblock: update 4.4.1-2
* init improvements
* jail mode fixes and improvements
* small code cleanups
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 52b51e30f4)
2025-05-03 14:40:18 +02:00
Dirk Brenken 02211fbea8 adblock: update 4.4.1-1
* add an uci-defaults script for housekeeping and option migration from former versions
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 519c7fcf96)
2025-04-19 20:05:23 +02:00
Dirk Brenken b3f8fa0e73 adblock: update 4.4.0-3
* checked and fixed the kresd and smartdns support
* fixed another ETAG issue
* changed the enabled feeds in default config to certpl, aguard and adguard_tracking
* various other small fixes
* update the readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 3e99991067)
2025-04-19 20:05:23 +02:00
Dirk Brenken f9d9c4f056 adblock: update 4.4.0-2
* minor ETAG fixes and improvements
* permanently set the addnmount option for dnsmasq
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit d10813d62f)
2025-04-19 20:05:22 +02:00
Dirk Brenken 83f87d722d adblock: release 4.4.0-1
* added a 'DNS Shift' option, where the generated final DNS blocklist is moved to the backup directory and
   only a soft link to this file is set in memory. As long as your backup directory is located on an external drive,
   you should activate this option to save disk space
* added ETAG-Header support to make sure to download only feeds that has been changed,
   use backups otherwise (not supported by uclient-fetch)
* removed aria2 support
* added brave as a new safesearch provider
* removed the racist terminology from the local lists and renamed it to "allowlist" and "blocklist"
* removed the 'list' and 'timer' function from init, use the LuCI feed editor and the standard cron frontend instead
* various  code changes and improvements
* major LuCI frontend changes, incl. a custom feed editor (separate commit)
* partial readme update

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 4857db8e28)
2025-04-19 20:05:22 +02:00
Dirk Brenken f49f4c9218 adblock: update 4.2.7-3
* fixed a reversed domain output when TLD compression is disabled (reported in the forum)
* removed abandoned antipopads source
* added three energized source variants (blu, spark, ultimate)

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit ed57afa392)
2025-03-22 08:56:34 +01:00
Dirk Brenken ff3aa69823 adblock: update 4.2.7-2
* fix an out of bound error reported in the forum
* set always a default for "adb_dnsdir" to prevent cornercase issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit dd4e3e336d)
2025-03-07 11:33:09 +01:00
Dirk Brenken e10966a3b1 adblock: release 4.2.7-1
* optimized uci config processing (list options)
* no longer set a hardcoded confdir in dhcp/dnsmasq config
* rework suspend/resume handling
* clean up download queue handling
* various small improvements & fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit bf87a6dcec)
2025-03-03 21:52:32 +01:00
Dirk Brenken 4a4907f37e adblock: release 4.2.6-1
* removed needless 'adb_mailcnt' option
* fixed blocklist count formatting

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit fc35c4e9c8)
2025-02-22 06:56:08 +01:00
Dirk Brenken 17ec274d41 adblock: release 4.2.5-1
* removed needless subshell calls
* add memory measurements:
   - size of the final blocklist in MB
   - free memory in MB (MemAvailable from /proc/meminfo)
   - script max. used RAM (VmHWM from /proc/$$/status)
* optimized restart logic
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 162b1e693e)
2025-02-17 21:58:58 +01:00
Dirk Brenken ddb2201601 adblock: update 4.2.4-2
* properly handle forced DNS ports <> 53,
  no longer make bogus local redirects, reject them instead (fixed #25897)
* support the jail mode for smartdns
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 7699651f6c)
2025-02-14 07:31:07 +01:00
Dirk Brenken 5d39fbd2b7 adblock: update 4.2.4-1
* support smartdns as dns backend
* support top level domains in local white- and blackklist,
  e.g. a 'de' in the blacklist blocks all domains with a german tld
  and the tld compression removes all subdomains from the final blocklist

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f9effa495e)
2025-01-28 00:12:14 +01:00
Dirk Brenken c7ca2960b5 adblock: update 4.2.3-3
Summary of three PRs regarding new adblock sources with minor changes/additions:

- add new source reg_lithuania, PR provided by @Myginas
- add new source certpl, PR provided by @jkostorz
- add new source oisd_nsfw_small, PR provided by @Turjoy9

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit cd89956c13)
2025-01-17 16:51:52 +01:00
Dirk Brenken e6d2ac5585 adblock: update 4.2.3-2
* correctly parse json objects with hyphens in the autodetection functions

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 823633c0e6)
2024-11-27 22:01:20 +01:00
Dirk Brenken 659787412a adblock: release 4.2.3-1
* optimized procd settings for better performance
* reworked autodetection functions (still broken in master due to apk migration)
* made the tld function optional, set 'adb_tld' accordingly (enabled by default)
* reworked count function
* various code improvements

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 8afc26fafb)
2024-11-23 22:17:43 +01:00
Dirk Brenken e3217b54ed adblock: update to 4.2.2-8
* get rid of remaining opkg calls and static adblock versioning
* fixed bind autodetection

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-10-27 15:24:16 +01:00
Dirk Brenken bbaa72d739 adblock: update to 4.2.2-7
* fixed gathering/printing of system information in adblock status
* added missing hagezi category (samsung tracker)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-10-26 21:54:31 +02:00
Dirk Brenken 1294b54471 adblock: update to 4.2.2-6
* fixed adblock status reporting
* optimized the mail template
* removed unanswered DNS requests from reporting
* various small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-10-10 19:00:33 +02:00
Dirk Brenken 3474adc309 adblock: update to 4.2.2-5
* filter out unrelated multicast traffic from reporting

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-09-20 05:57:24 +02:00
Dirk Brenken 180ee13219 adblock: update to 4.2.2-4
* fixed wrongly detected NX domains in adblock reporting
* remove existing pcap files when restarting/stopping adblock
   to prevent problems when changing tcpdump parameters

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-09-17 21:31:46 +02:00
Dirk Brenken 4803143a91 adblock: update to 4.2.2-3
* bugfix: users reported unexpected side effects with  the newly introduced rpc-sys ubus service, reverted that part
*bugfix: made "tcpdump" optional

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-08-20 23:05:59 +02:00
Dirk Brenken 9428ef4320 adblock: update to 4.2.2-2
* removal of a superfluous opkg code block (missed in the last commit)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-08-20 16:02:26 +02:00
Dirk Brenken 34db79bcd5 adblock: update to 4.2.2
* get rid of the opkg dependency
* fixed remaining hagezi category issues
* adblock still depends on 'gawk', but also accepts busybox awk. The readme describes two officially unsupported installation variants.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-08-18 10:43:03 +02:00
Dirk Brenken 875fcf3f12 adblock: update to 4.2.1
* added full 1Hosts feed support (4 categories)
* changed the OISD list sources to alternate wildcard domains syntax
* used only the adguard source in default config
* fixed a needless reload delay plus a few cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-08-11 09:31:57 +02:00
Dirk Brenken 7b18f22e73 adblock: update to 4.2.0
* new gawk dependency
* full hagezi support (all 32 categories)
* refine Stevenblack support
* refine whitelist handling
* fixed tcpdump command line for ports other than 53 (see #24685)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-08-09 17:16:46 +02:00
Dirk Brenken b76f6e1c16 adblock: update 4.1.5-11
* removed an accidentally commited flag of the upcoming adblock 5.x, this fixes a startup regression without trigger interface

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-06-30 19:30:11 +02:00
Dirk Brenken a029f01d81 adblock: update 4.1.5-10
* made the DNS Reporting / tcpdump parsing code more capable
* small init fixes
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-06-27 07:47:10 +02:00
Dirk Brenken 0af6e8d158 adblock: update 4.1.5-9
* minimal fix with reporting interface 'any'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-02-28 21:12:10 +01:00
Dirk Brenken e1fa285f32 adblock: update to 4.1.5-8
* adapt adguard_tracking source changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-06-30 07:28:16 +02:00
Dirk Brenken a4b9697684 adblock: update to 4.1.5-7
* 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>
2023-03-20 20:27:49 +01:00
Dirk Brenken 0b222b7e10 adblock: update 4.1.5-6
* adapted changed oisd downloads (again), fixed #20516

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-02-18 20:17:34 +01:00
Dirk Brenken 51634a960c adblock: update 4.1.5-5
* adapted changed oisd namings / download locations
   oisd_big (old: oisd_full), oisd_small (old: oisdb_basic)
* added antipopads as new sources
* removed broken energized source
* fixed readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2023-02-15 21:15:20 +01:00
Dirk Brenken e90b4c01e1 adblock: update 4.1.5-4
* fixed broken oisd regex

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-10-24 12:34:12 +02:00
Dirk Brenken ca4c4d4fbc adblock: update 4.1.5-3
* fixed search regression in DNS report
* removed last shallalist pointers in the init help

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-10-22 09:23:23 +02:00
Dirk Brenken f83baf221d adblock: update 4.1.5-2
* 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>
2022-10-20 11:46:47 +02:00
Dirk Brenken 0e19246d14 adblock: update 4.1.5
* 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>
2022-10-18 13:15:26 +02:00
Dirk Brenken 5603ed9237 adblock: update 4.1.4-5
* 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>
2022-09-25 21:01:51 +02:00
James McGuire b971cdc79b adblock: add lightswitch05 blocklist source
Signed-off-by: James McGuire <jamesm51@gmail.com>
2022-09-24 14:49:21 -07:00
Dirk Brenken e80d0236e3 adblock: update 4.1.4-3
* unbound: fix domain search regression

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-09-18 09:09:07 +02:00
Dirk Brenken 54f493ed9d adblock: update 4.1.4-2
* 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>
2022-09-11 12:45:51 +02:00
Dirk Brenken 254b3d9380 adblock: update 4.1.4
* 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>
2022-09-10 18:45:33 +02:00
Dirk Brenken 7c66d054bf adblock: list maintenance
* add new oisd nsfw source (XL)
* change korean source name (again)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-05-10 16:53:52 +02:00
Dirk Brenken 51a5ec6069 adblock: 4.1.3-8
* 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>
2022-04-11 21:33:57 +02:00
Dirk Brenken bed70d5f4b adblock: 4.1.3-7
* removed discontinued source 'gaming'
* changed url of source 'reg_kr'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-03-24 21:01:12 +01:00
Dirk Brenken 81d468489f adblock: 4.1.3-6
* remove discontinued sources: shallalist, stalkerware
* fix a logical glitch in startup trigger handling

Signed-off-by: Dirk Brenken <dev@brenken.org>
2022-03-07 21:25:31 +01:00
Rosen Penev 5d095a1366 adblock: make reproducible
Need to get rid of the timestamp.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-07 22:00:12 -08:00