Merge in DNS/adguard-home from 1333-protection-pause-1 to master Squashed commit of the following: commit 5ff98385bc5ff66e214d80782eb4dc41e344aa38 Merge: 97f94a540bc3ef89
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Fri Mar 24 19:08:21 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 commit 97f94a5498ac221f88f2f7dfef4b255f4945329e Author: Arseny Lisin <a.lisin@adguard.com> Date: Fri Mar 24 13:03:20 2023 +0200 Fix protection timer bugs commit 1cc61af1996bd803f3fa638cb9e2388470072bf0 Merge: 5a144ea3 235ce458 Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Thu Mar 23 22:27:47 2023 +0700 Merge remote-tracking branch 'origin/1333-protection-pause-1' into 1333-protection-pause-1 commit 5a144ea3a48c3d0d5e57dd14232ab7a8e77a8c1e Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Thu Mar 23 22:25:08 2023 +0700 dnsforward: imp code commit 235ce458a62b3152f36e32580ed0226a56580ec6 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Mar 23 17:35:06 2023 +0300 dnsforward: imp locks commit 0ea3a0a176b810a2b3f0b307aa406fe1670c9219 Merge: 52f66810df61741f
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Thu Mar 23 19:30:41 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md # openapi/CHANGELOG.md commit 52f668109673286a50909c042e6352cd803e8eed Merge: 9a7eb7b3306c1983
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Thu Mar 23 11:23:50 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md # internal/dnsforward/http.go commit 9a7eb7b3ab2b5f6ad321aa3245d33839c3aa6fbd Author: Arseny Lisin <a.lisin@adguard.com> Date: Wed Mar 22 06:56:55 2023 +0200 Review fix commit 5612d51252ba91842bd6811baec1c91136bb3bf2 Merge: c0a918a5c3edab43
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Tue Mar 21 22:00:39 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # client/src/__locales/en.json commit c0a918a518ad9b37041aed159d215516258bc987 Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Mar 21 12:13:18 2023 +0200 Review fix commit 34faa61cc1e6210a612e7a2f4895a1504df37680 Author: Arseny Lisin <a.lisin@adguard.com> Date: Tue Mar 21 10:43:37 2023 +0200 Fix props to new api commit 158e582373863495f0e0ca177d7b365cc66ad671 Author: Arseny Lisin <a.lisin@adguard.com> Date: Mon Mar 20 18:44:34 2023 +0200 Review fix commit 9e8b8c3778b8e1dfad0d39e44f70886dfd3aeb9a Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Mon Mar 20 22:31:28 2023 +0700 all: docs commit 761a203f53b535ca235cfe62f289bd0e02b90be2 Merge: d0b0723148431f8b
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Mon Mar 20 22:26:13 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 commit d0b07231b6f29b534930f1fcfc82b4934c295ff8 Merge: ea448760a2053526
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Mon Mar 13 13:00:52 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md # client/src/components/App/index.css # internal/dnsforward/config.go commit ea4487608a9c81d25f155ff63fee7c9dcf21f448 Merge: dfd0f33fa556ce8f
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Tue Feb 21 11:54:27 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md commit dfd0f33fb474d497cbc9237ee466276728eea397 Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Tue Feb 21 11:51:40 2023 +0700 all: docs commit d36df96fba8c6d923faef85c198b6bd0743b7ee8 Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Mon Feb 20 12:41:49 2023 +0700 all: safesearch commit 60f2ceec563221337f34bb60baa96aa2b2429c40 Merge: 7c5144276f6ced33
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Mon Feb 20 12:30:42 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md commit 7c514427e77c5b09d8e148c78220a71046e68cd1 Merge: 0fa4ff994d295a38
Author: Dimitry Kolyshev <dkolyshev@adguard.com> Date: Thu Feb 16 11:55:21 2023 +0700 Merge remote-tracking branch 'origin/master' into 1333-protection-pause-1 # Conflicts: # CHANGELOG.md ... and 26 more commits
73 KiB
AdGuard Home Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
- The new HTTP API
POST /control/protection
, that updates protection state and adds an optional pause duration (#1333). The format of request body is described inopenapi/openapi.yaml
. The duration of this pause could also be set with the config fieldprotection_disabled_until
indns
section of the YAML configuration file. - Two new HTTP APIs,
PUT /control/stats/config/update
andGET control/stats/config
, which can be used to set and receive the query log configuration. See openapi/openapi.yaml for the full description. - Two new HTTP APIs,
PUT /control/querylog/config/update
andGET control/querylog/config
, which can be used to set and receive the statistics configuration. See openapi/openapi.yaml for the full description. - The ability to set custom IP for EDNS Client Subnet by using the DNS-server configuration section on the DNS settings page in the UI (#1472).
- The ability to manage safesearch for each service by using the new
safe_search
field (#1163).
Changed
- ARPA domain names containing a subnet within private networks now also considered private, behaving closer to RFC 6761 (#5567).
Configuration Changes
In this release, the schema version has changed from 17 to 20.
-
Property
statistics.interval
, which in schema versions 19 and earlier used to be an integer number of days, is now a string with a human-readable duration:# BEFORE: 'statistics': # … 'interval': 1 # AFTER: 'statistics': # … 'interval': '24h'
To rollback this change, convert the property back into days and change the
schema_version
back to19
. -
The
dns.safesearch_enabled
field has been replaced withsafe_search
object containing per-service settings. -
The
clients.persistent.safesearch_enabled
field has been replaced withsafe_search
object containing per-service settings.# BEFORE: 'safesearch_enabled': true # AFTER: 'safe_search': 'enabled': true 'bing': true 'duckduckgo': true 'google': true 'pixabay': true 'yandex': true 'youtube': true
To rollback this change, move the value of
dns.safe_search.enabled
into thedns.safesearch_enabled
, then removedns.safe_search
field. Do the same client's specificclients.persistent.safesearch
and then change theschema_version
back to17
.
Deprecated
-
The
POST /control/safesearch/enable
HTTP API is deprecated. Use the newPUT /control/safesearch/settings
API. -
The
POST /control/safesearch/disable
HTTP API is deprecated. Use the newPUT /control/safesearch/settings
API -
The
safesearch_enabled
field is deprecated in the following HTTP APIs:GET /control/clients
POST /control/clients/add
POST /control/clients/update
GET /control/clients/find?ip0=...&ip1=...&ip2=...
Check
openapi/openapi.yaml
for more details. -
The
GET /control/stats_info
HTTP API; use the newGET /control/stats/config
API instead.NOTE: If interval is custom then it will be equal to
90
days for compatibility reasons. See openapi/openapi.yaml andopenapi/CHANGELOG.md
. -
The
POST /control/stats_config
HTTP API; use the newPUT /control/stats/config/update
API instead. -
The
GET /control/querylog_info
HTTP API; use the newGET /control/querylog/config
API instead.NOTE: If interval is custom then it will be equal to
90
days for compatibility reasons. See openapi/openapi.yaml andopenapi/CHANGELOG.md
. -
The
POST /control/querylog_config
HTTP API; use the newPUT /control/querylog/config/update
API instead.
Fixed
- Panic caused by empty top-level domain name label in
/etc/hosts
files (#5584).
v0.107.26 - 2023-03-09
See also the v0.107.26 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2023-24532 Go vulnerability fixed in Go 1.19.7.
Added
- The ability to set custom IP for EDNS Client Subnet by using the new
dns.edns_client_subnet.use_custom
anddns.edns_client_subnet.custom_ip
fields (#1472). The UI changes are coming in the upcoming releases. - The ability to use
dnstype
rules in the disallowed domains list (#5468). This allows dropping requests based on their question types.
Changed
Configuration Changes
-
Property
edns_client_subnet
, which in schema versions 16 and earlier used to be a part of thedns
object, is now part of thedns.edns_client_subnet
object:# BEFORE: 'dns': # … 'edns_client_subnet': false # AFTER: 'dns': # … 'edns_client_subnet': 'enabled': false 'use_custom': false 'custom_ip': ''
To rollback this change, move the value of
dns.edns_client_subnet.enabled
into thedns.edns_client_subnet
, remove the fieldsdns.edns_client_subnet.enabled
,dns.edns_client_subnet.use_custom
,dns.edns_client_subnet.custom_ip
, and change theschema_version
back to16
.
Fixed
- Obsolete value of the Interface MTU DHCP option is now omitted (#5281).
- Various dark theme bugs (#5439, #5441, #5442, #5515).
- Automatic update on MIPS64 and little-endian 32-bit MIPS architectures (#5270, #5373).
- Requirements to domain names in domain-specific upstream configurations have been relaxed to meet those from RFC 3696 (#4884).
- Failing service installation via script on FreeBSD (#5431).
v0.107.25 - 2023-02-21
See also the v0.107.25 GitHub milestone.
Fixed
- Panic when using unencrypted DNS-over-HTTPS (#5518).
v0.107.24 - 2023-02-15
See also the v0.107.24 GitHub milestone.
Security
- Go version has been updated, both because Go 1.18 has reached end of life an to prevent the possibility of exploiting the Go vulnerabilities fixed in Go 1.19.6.
Added
- The ability to disable statistics by using the new
statistics.enabled
field. Previously it was necessary to set thestatistics_interval
to 0, losing the previous value (#1717, #4299). - The ability to exclude domain names from the query log or statistics by using
the new
querylog.ignored
orstatistics.ignored
fields (#1717, #4299). The UI changes are coming in the upcoming releases.
Changed
Configuration Changes
In this release, the schema version has changed from 14 to 16.
-
Property
statistics_interval
, which in schema versions 15 and earlier used to be a part of thedns
object, is now a part of thestatistics
object:# BEFORE: 'dns': # … 'statistics_interval': 1 # AFTER: 'statistics': # … 'interval': 1
To rollback this change, move the property back into the
dns
object and change theschema_version
back to15
. -
The fields
dns.querylog_enabled
,dns.querylog_file_enabled
,dns.querylog_interval
, anddns.querylog_size_memory
have been moved to the newquerylog
object.# BEFORE: 'dns': 'querylog_enabled': true 'querylog_file_enabled': true 'querylog_interval': '2160h' 'querylog_size_memory': 1000 # AFTER: 'querylog': 'enabled': true 'file_enabled': true 'interval': '2160h' 'size_memory': 1000 'ignored': []
To rollback this change, rename and move properties back into the
dns
object, removequerylog
object andquerylog.ignored
property, and change theschema_version
back to14
.
Deprecated
- Go 1.19 support. Future versions will require at least Go 1.20 to build.
Fixed
- Setting the AD (Authenticated Data) flag on responses that have the DO (DNSSEC OK) flag set but not the AD flag (#5479).
- Client names resolved via reverse DNS not being updated (#4939).
- The icon for League Of Legends on the Blocked services page (#5433).
Removed
- Go 1.18 support, as it has reached end of life.
v0.107.23 - 2023-02-01
See also the v0.107.23 GitHub milestone.
Added
- DNS64 support (#5117). The function may be enabled with new
use_dns64
field underdns
object in the configuration along withdns64_prefixes
, the set of exclusion prefixes to filter AAAA responses. The Well-Known Prefix (64:ff9b::/96
) is used if no custom prefixes are specified.
Fixed
- Filtering rules with
*
as the hostname not working properly (#5245). - Various dark theme bugs (#5375).
Removed
-
The “beta frontend” and the corresponding APIs. They never quite worked properly, and the future new version of AdGuard Home API will probably be different.
Correspondingly, the configuration parameter
beta_bind_port
has been removed as well.
v0.107.22 - 2023-01-19
See also the v0.107.22 GitHub milestone.
Added
- Experimental Dark UI theme (#613).
- The new HTTP API
PUT /control/profile/update
, that updates current user language and UI theme. The format of request body is described inopenapi/openapi.yaml
.
Changed
- The HTTP API
GET /control/profile
now returns enhanced object with current user's name, language, and UI theme. The format of response body is described inopenapi/openapi.yaml
andopenapi/CHANGELOG.md
.
Fixed
AdGuardHome --update
freezing when another instance of AdGuard Home is running (#4223, #5191).- The
--update
flag performing an update even when there is no version change. - Failing HTTPS redirection on saving the encryption settings (#4898).
- Zeroing rules counter of erroneously edited filtering rule lists (#5290).
- Filters updating strategy, which could sometimes lead to use of broken or incompletely downloaded lists (#5258).
v0.107.21 - 2022-12-15
See also the v0.107.21 GitHub milestone.
Changed
-
The URLs of the default filters for new installations are synchronized to those introduced in v0.107.20 (#5238).
NOTE: Some users may need to re-add the lists from the vetted filter lists to update the URLs to the new ones. Custom filters added by users themselves do not require re-adding.
Fixed
- Errors popping up during updates of settings, which could sometimes cause the server to stop responding (#5251).
v0.107.20 - 2022-12-07
See also the v0.107.20 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-41717 and CVE-2022-41720 Go vulnerabilities fixed in Go 1.18.9.
Added
- The ability to clear the DNS cache (#5190).
Changed
- DHCP server initialization errors are now logged at debug level if the server itself disabled (#4944).
Fixed
- Wrong validation error messages on the DHCP configuration page (#5208).
- Slow upstream checks making the API unresponsive (#5193).
- The TLS initialization errors preventing AdGuard Home from starting (#5189). Instead, AdGuard Home disables encryption and shows an error message on the encryption settings page in the UI, which was the intended previous behavior.
- URLs of some vetted blocklists.
v0.107.19 - 2022-11-23
See also the v0.107.19 GitHub milestone.
Added
- The ability to block popular Mastodon instances (AdguardTeam/HostlistsRegistry#100).
- The new
--update
command-line option, which allows updating AdGuard Home silently (#4223).
Changed
- Minor UI changes.
v0.107.18 - 2022-11-08
See also the v0.107.18 GitHub milestone.
Fixed
- Crash on some systems when domains from system hosts files are processed (#5089).
v0.107.17 - 2022-11-02
See also the v0.107.17 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-41716 Go vulnerability fixed in Go 1.18.8.
Added
- The warning message when adding a certificate having no IP addresses (#4898).
- Several new blockable services (#3972). Those will now be more in sync with the services that are already blockable in AdGuard DNS.
- A new HTTP API,
GET /control/blocked_services/all
, that lists all available blocked services and their data, such as SVG icons (#3972). - The new optional
tls.override_tls_ciphers
property, which allows overriding TLS ciphers used by AdGuard Home (#4925, #4990). - The ability to serve DNS on link-local IPv6 addresses (#2926).
- The ability to put ClientIDs into DNS-over-HTTPS hostnames as opposed to URL paths (#3418). Note that AdGuard Home checks the server name only if the URL does not contain a ClientID.
Changed
- DNS-over-TLS resolvers aren't returned anymore when the configured TLS certificate contains no IP addresses (#4927).
- Responses with
SERVFAIL
code are now cached for at least 30 seconds.
Deprecated
- The
GET /control/blocked_services/services
HTTP API; use the newGET /control/blocked_services/all
API instead (#3972).
Fixed
- ClientIDs not working when using DNS-over-HTTPS with HTTP/3.
- Editing the URL of an enabled rule list also includes validation of the filter contents preventing from saving a bad one (#4916).
- The default value of
dns.cache_size
accidentally set to 0 has now been reverted to 4 MiB (#5010). - Responses for which the DNSSEC validation had explicitly been omitted aren't cached now (#4942).
- Web UI not switching to HTTP/3 (#4986, #4993).
v0.107.16 - 2022-10-07
This is a security update. There is no GitHub milestone, since no GitHub issues were resolved.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-2879, CVE-2022-2880, and CVE-2022-41715 Go vulnerabilities fixed in Go 1.18.7.
v0.107.15 - 2022-10-03
See also the v0.107.15 GitHub milestone.
Security
- As an additional CSRF protection measure, AdGuard Home now ensures that
requests that change its state but have no body (such as
POST /control/stats_reset
requests) do not have aContent-Type
header set on them (#4970).
Added
Experimental HTTP/3 Support
See #3955 and the related issues for more details. These features are still experimental and may break or change in the future.
- DNS-over-HTTP/3 DNS and web UI client request support. This feature must be
explicitly enabled by setting the new property
dns.serve_http3
in the configuration file totrue
. - DNS-over-HTTP upstreams can now upgrade to HTTP/3 if the new configuration
file property
dns.use_http3_upstreams
is set totrue
. - Upstreams with forced DNS-over-HTTP/3 and no fallback to prior HTTP versions
using the
h3://
scheme.
Fixed
- User-specific blocked services not applying correctly (#4945, #4982, #4983).
only application/json is allowed
errors in various APIs (#4970).
v0.107.14 - 2022-09-29
See also the v0.107.14 GitHub milestone.
Security
A Cross-Site Request Forgery (CSRF) vulnerability has been discovered. We thank Daniel Elkabes from Mend.io for reporting this vulnerability to us. This is CVE-2022-32175.
SameSite
Policy
The SameSite
policy on the AdGuard Home session cookies is now set to Lax
.
Which means that the only cross-site HTTP request for which the browser is
allowed to send the session cookie is navigating to the AdGuard Home domain.
Users are strongly advised to log out, clear browser cache, and log in again after updating.
Removal Of Plain-Text APIs (BREAKING API CHANGE)
We have implemented several measures to prevent such vulnerabilities in the future, but some of these measures break backwards compatibility for the sake of better protection.
The following APIs, which previously accepted or returned text/plain
data,
now accept or return data as JSON. All new formats for the request and response
bodies are documented in openapi/openapi.yaml
and openapi/CHANGELOG.md
.
GET /control/i18n/current_language
;POST /control/dhcp/find_active_dhcp
;POST /control/filtering/set_rules
;POST /control/i18n/change_language
.
Stricter Content-Type Checks (BREAKING API CHANGE)
All JSON APIs that expect a body now check if the request actually has
Content-Type
set to application/json
.
Other Security Changes
- Weaker cipher suites that use the CBC (cipher block chaining) mode of operation have been disabled (#2993).
Added
- Support for plain (unencrypted) HTTP/2 (#4930). This is useful for AdGuard Home installations behind a reverse proxy.
Fixed
- Incorrect path template in DDR responses (#4927).
v0.107.13 - 2022-09-14
See also the v0.107.13 GitHub milestone.
Added
- The new optional
dns.ipset_file
property, which can be set in the configuration file. It allows loading theipset
list from a file, just likedns.upstream_dns_file
does for upstream servers (#4686).
Changed
- The minimum DHCP message size is reassigned back to BOOTP's constraint of 300 bytes (#4904).
Fixed
- Panic when adding a static lease within the disabled DHCP server (#4722).
v0.107.12 - 2022-09-07
See also the v0.107.12 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-27664 and CVE-2022-32190 Go vulnerabilities fixed in Go 1.18.6.
Added
-
New
bool
,dur
,u8
, andu16
DHCP options to provide more convenience on options control by setting values in a human-readable format (#4705). See also a Wiki page. -
New
del
DHCP option which removes the corresponding option from server's response (#4337). See also a Wiki page.NOTE: This modifier affects all the parameters in the response and not only the requested ones.
-
A new HTTP API,
GET /control/blocked_services/services
, that lists all available blocked services (#4535).
Changed
- The DHCP options handling is now closer to the RFC 2131 (#4705).
- When the DHCP server is enabled, queries for domain names under
dhcp.local_domain_name
not pointing to real DHCP client hostnames are now processed by filters (#4865). - The
DHCPREQUEST
handling is now closer to the RFC 2131 (#4863). - The internal DNS client, used to resolve hostnames of external clients and also during automatic updates, now respects the upstream mode settings for the main DNS client (#4403).
Deprecated
- Ports 784 and 8853 for DNS-over-QUIC in Docker images. Users who still serve
DoQ on these ports are encouraged to move to the standard port 853. These
ports will be removed from the
EXPOSE
section of ourDockerfile
in a future release. - Go 1.18 support. Future versions will require at least Go 1.19 to build.
Fixed
- The length of the DHCP server's response is now at least 576 bytes as per RFC 2131 recommendation (#4337).
- Dynamic leases created with empty hostnames (#4745).
- Unnecessary logging of non-critical statistics errors (#4850).
v0.107.11 - 2022-08-19
See also the v0.107.11 GitHub milestone.
Added
- Bilibili service blocking (#4795).
Changed
- DNS-over-QUIC connections now use keepalive.
Fixed
- Migrations from releases older than v0.107.7 failing (#4846).
v0.107.10 - 2022-08-17
See also the v0.107.10 GitHub milestone.
Added
- Arabic localization.
- Support for Discovery of Designated Resolvers (DDR) according to the RFC draft (#4463).
Changed
- Our snap package now uses the
core22
image as its base (#4843).
Fixed
- DHCP not working on most OSes (#4836).
invalid argument
errors during update checks on older Linux kernels (#4670).- Data races and concurrent map access in statistics module (#4358, #4342).
v0.107.9 - 2022-08-03
See also the v0.107.9 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-32189 Go vulnerability fixed in Go 1.18.5. Go 1.17 support has also been removed, as it has reached end of life and will not receive security updates.
Added
- Domain-specific upstream servers test. If such test fails, a warning message is shown (#4517).
windows/arm64
support (#3057).
Changed
- UI and update links have been changed to make them more resistant to DNS blocking.
Fixed
Removed
- Go 1.17 support, as it has reached end of life.
v0.107.8 - 2022-07-13
See also the v0.107.8 GitHub milestone.
Security
-
Go version has been updated to prevent the possibility of exploiting the CVE-2022-1705, CVE-2022-32148, CVE-2022-30631, and other Go vulnerabilities fixed in Go 1.17.12.
Fixed
- DHCP lease validation incorrectly letting users assign the IP address of the gateway as the address of the lease (#4698).
- Updater no longer expects a hardcoded name for
AdGuardHome
executable (#4219). - Inconsistent names of runtime clients from hosts files (#4683).
- PTR requests for addresses leased by DHCP will now be resolved into hostnames
under
dhcp.local_domain_name
(#4699). - Broken service installation on OpenWrt (#4677).
v0.107.7 - 2022-06-06
See also the v0.107.7 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-29526, CVE-2022-30634, CVE-2022-30629, CVE-2022-30580, and CVE-2022-29804 Go vulnerabilities.
- Enforced password strength policy (#3503).
Added
- Support for the final DNS-over-QUIC standard, RFC 9250 (#4592).
- Support upstreams for subdomains of a domain only (#4503).
- The ability to control each source of runtime clients separately via
clients.runtime_sources
configuration object (#3020). - The ability to customize the set of networks that are considered private
through the new
dns.private_networks
property in the configuration file (#3142). - EDNS Client-Subnet information in the request details section of a query log record (#3978).
- Support for hostnames for plain UDP upstream servers using the
udp://
scheme (#4166). - Logs are now collected by default on FreeBSD and OpenBSD when AdGuard Home is installed as a service (#4213).
Changed
-
On OpenBSD, the daemon script now uses the recommended
/bin/ksh
shell instead of the/bin/sh
one (#4533). To apply this change, backup your data and runAdGuardHome -s uninstall && AdGuardHome -s install
. -
The default DNS-over-QUIC port number is now
853
instead of754
in accordance with RFC 9250 (#4276). -
Reverse DNS now has a greater priority as the source of runtime clients' information than ARP neighborhood.
-
Improved detection of runtime clients through more resilient ARP processing (#3597).
-
The TTL of responses served from the optimistic cache is now lowered to 10 seconds.
-
Domain-specific private reverse DNS upstream servers are now validated to allow only
*.in-addr.arpa
and*.ip6.arpa
domains pointing to locally-served networks (#3381).NOTE: If you already have invalid entries in your configuration, consider removing them manually, since they essentially had no effect.
-
Response filtering is now performed using the record types of the answer section of messages as opposed to the type of the question (#4238).
-
Instead of adding the build time information, the build scripts now use the standardized environment variable
SOURCE_DATE_EPOCH
to add the date of the commit from which the binary was built (#4221). This should simplify reproducible builds for package maintainers and those who compile their own AdGuard Home. -
The property
local_domain_name
is now in thedhcp
object in the configuration file to avoid confusion (#3367). -
The
dns.bogus_nxdomain
property in the configuration file now supports CIDR notation alongside IP addresses (#1730).
Configuration Changes
In this release, the schema version has changed from 12 to 14.
-
Object
clients
, which in schema versions 13 and earlier was an array of actual persistent clients, is now consist ofpersistent
andruntime_sources
properties:# BEFORE: 'clients': - name: client-name # … # AFTER: 'clients': 'persistent': - name: client-name # … 'runtime_sources': whois: true arp: true rdns: true dhcp: true hosts: true
The value for
clients.runtime_sources.rdns
field is taken fromdns.resolve_clients
property. To rollback this change, remove theruntime_sources
property, move the contents ofpersistent
into theclients
itself, the value ofclients.runtime_sources.rdns
into thedns.resolve_clients
, and change theschema_version
back to13
. -
Property
local_domain_name
, which in schema versions 12 and earlier used to be a part of thedns
object, is now a part of thedhcp
object:# BEFORE: 'dns': # … 'local_domain_name': 'lan' # AFTER: 'dhcp': # … 'local_domain_name': 'lan'
To rollback this change, move the property back into the
dns
object and change theschema_version
back to12
.
Deprecated
- The
--no-etc-hosts
option. Its functionality is now controlled byclients.runtime_sources.hosts
configuration property. v0.109.0 will remove the flag completely.
Fixed
- Query log occasionally going into an infinite loop (#4591).
- Service startup on boot on systems using SysV-init (#4480).
- Detection of the stopped service status on macOS and Linux (#4273).
- Case-sensitive ClientID (#4542).
- Slow version update queries making other HTTP APIs unresponsive (#4499).
- ARP tables refreshing process causing excessive PTR requests (#3157).
v0.107.6 - 2022-04-13
See also the v0.107.6 GitHub milestone.
Security
User-Agent
HTTP header removed from outgoing DNS-over-HTTPS requests.- Go version has been updated to prevent the possibility of exploiting the CVE-2022-24675, CVE-2022-27536, and CVE-2022-28327 Go vulnerabilities.
Added
- Support for SVCB/HTTPS parameter
dohpath
in filtering rules with thednsrewrite
modifier according to the RFC draft (#4463).
Changed
- Filtering rules with the
dnsrewrite
modifier that create SVCB or HTTPS responses should useech
instead ofechconfig
to conform with the latest drafts.
Deprecated
- SVCB/HTTPS parameter name
echconfig
in filtering rules with thednsrewrite
modifier. Useech
instead. v0.109.0 will remove support for the outdated nameechconfig
. - Obsolete
--no-mem-optimization
option (#4437). v0.109.0 will remove the flag completely.
Fixed
- I/O timeout errors when checking for the presence of another DHCP server.
- Network interfaces being incorrectly labeled as down during installation.
- Rules for blocking the QQ service (#3717).
Removed
- Go 1.16 support, since that branch of the Go compiler has reached end of life and doesn't receive security updates anymore.
v0.107.5 - 2022-03-04
This is a security update. There is no GitHub milestone, since no GitHub issues were resolved.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-24921 Go vulnerability.
v0.107.4 - 2022-03-01
See also the v0.107.4 GitHub milestone.
Security
- Go version has been updated to prevent the possibility of exploiting the CVE-2022-23806, CVE-2022-23772, and CVE-2022-23773 Go vulnerabilities.
Fixed
- Optimistic cache now responds with expired items even if those can't be resolved again (#4254).
- Unnecessarily complex hosts-related logic leading to infinite recursion in some cases (#4216).
v0.107.3 - 2022-01-25
See also the v0.107.3 GitHub milestone.
Added
- Support for a
dnsrewrite
modifier with an emptyNOERROR
response (#4133).
Fixed
- Wrong set of ports checked for duplicates during the initial setup (#4095).
- Incorrectly invalidated service domains (#4120).
- Poor testing of domain-specific upstream servers (#4074).
- Omitted aliases of hosts specified by another line within the OS's hosts file (#4079).
v0.107.2 - 2021-12-29
See also the v0.107.2 GitHub milestone.
Fixed
- Infinite loops when TCP connections time out (#4042).
v0.107.1 - 2021-12-29
See also the v0.107.1 GitHub milestone.
Changed
- The validation error message for duplicated allow- and blocklists in DNS settings now shows the duplicated elements (#3975).
Fixed
ipset
initialization bugs (#4027).- Legacy DNS rewrites from a wildcard pattern to a subdomain (#4016).
- Service not being stopped before running the
uninstall
service action (#3868). - Broken
reload
service action on FreeBSD. - Legacy DNS rewrites responding from upstream when a request other than
A
orAAAA
is received (#4008). - Panic on port availability check during installation (#3987).
- Incorrect application of rules from the OS's hosts files (#3998).
v0.107.0 - 2021-12-21
See also the v0.107.0 GitHub milestone.
Added
- Upstream server information for responses from cache (#3772). Note that old log entries concerning cached responses won't include that information.
- Finnish and Ukrainian localizations.
- Setting the timeout for IP address pinging in the "Fastest IP address" mode
through the new
fastest_timeout
field in the configuration file (#1992). - Static IP address detection on FreeBSD (#3289).
- Optimistic cache (#2145).
- New possible value of
6h
forquerylog_interval
property (#2504). - Blocking access using ClientIDs (#2624, #3162).
source
directives support in/etc/network/interfaces
on Linux (#3257).- RFC 9000 support in QUIC.
- Completely disabling statistics by setting the statistics interval to zero (#2141).
- The ability to completely purge DHCP leases (#1691).
- Settable timeouts for querying the upstream servers (#2280).
- Configuration file properties to change group and user ID on startup on Unix (#2763).
- Experimental OpenBSD support for AMD64 and 64-bit ARM CPUs (#2439, #3225, #3226).
- Support for custom port in DNS-over-HTTPS profiles for Apple's devices (#3172).
darwin/arm64
support (#2443).freebsd/arm64
support (#2441).- Output of the default addresses of the upstreams used for resolving PTRs for private addresses (#3136).
- Detection and handling of recurrent PTR requests for locally-served addresses (#3185).
- The ability to completely disable reverse DNS resolving of IPs from locally-served networks (#3184).
- New flag
--local-frontend
to serve dynamically changeable frontend files from disk as opposed to the ones that were compiled into the binary.
Changed
- Port bindings are now checked for uniqueness (#3835).
- The DNSSEC check now simply checks against the AD flag in the response (#3904).
- Client objects in the configuration file are now sorted (#3933).
- Responses from cache are now labeled (#3772).
- Better error message for ED25519 private keys, which are not widely supported (#3737).
- Cache now follows RFC more closely for negative answers (#3707).
dnsrewrite
rules and other DNS rewrites will now be applied even when the protection is disabled (#1558).- DHCP gateway address, subnet mask, IP address range, and leases validations (#3529).
- The
systemd
service script will now create the/var/log
directory when it doesn't exist (#3579). - Items in allowed clients, disallowed clients, and blocked hosts lists are now required to be unique (#3419).
- The TLS private key previously saved as a string isn't shown in API responses anymore (#1898).
- Better OpenWrt detection (#3435).
- DNS-over-HTTPS queries that come from HTTP proxies in the
trusted_proxies
list now use the real IP address of the client instead of the address of the proxy (#2799). - Clients who are blocked by access settings now receive a
REFUSED
response when a protocol other than DNS-over-UDP and DNSCrypt is used. dns.querylog_interval
property is now formatted in hours.- Query log search now supports internationalized domains (#3012).
- Internationalized domains are now shown decoded in the query log with the original encoded version shown in request details (#3013).
- When
/etc/hosts
-type rules have several IPs for one host, all IPs are now returned instead of only the first one (#1381). - Property
rlimit_nofile
is now in theos
object of the configuration file, together with the newgroup
anduser
properties (#2763). - Permissions on filter files are now
0o644
instead of0o600
(#3198).
Configuration Changes
In this release, the schema version has changed from 10 to 12.
-
Property
dns.querylog_interval
, which in schema versions 11 and earlier used to be an integer number of days, is now a string with a human-readable duration:# BEFORE: 'dns': # … 'querylog_interval': 90 # AFTER: 'dns': # … 'querylog_interval': '2160h'
To rollback this change, convert the property back into days and change the
schema_version
back to11
. -
Property
rlimit_nofile
, which in schema versions 10 and earlier used to be on the top level, is now moved to the newos
object:# BEFORE: 'rlimit_nofile': 42 # AFTER: 'os': 'group': '' 'rlimit_nofile': 42 'user': ''
To rollback this change, move the property on the top level and change the
schema_version
back to10
.
Deprecated
- Go 1.16 support. v0.108.0 will require at least Go 1.17 to build.
Fixed
- EDNS0 TCP keepalive option handling (#3778).
- Rules with the
denyallow
modifier applying to IP addresses when they shouldn't (#3175). - The length of the EDNS0 client subnet option appearing too long for some upstream servers (#3887).
- Invalid redirection to the HTTPS web interface after saving enabled encryption settings (#3558).
- Incomplete propagation of the client's IP anonymization setting to the statistics (#3890).
- Incorrect results with the
dnsrewrite
modifier for entries from the operating system's hosts file (#3815). - Matching against rules with
|
at the end of the domain name (#3371). - Incorrect assignment of explicitly configured DHCP options (#3744).
- Occasional panic during shutdown (#3655).
- Addition of IPs into only one as opposed to all matching ipsets on Linux (#3638).
- Removal of temporary filter files (#3567).
- Panic when an upstream server responds with an empty question section (#3551).
- 9GAG blocking (#3564).
- DHCP now follows RFCs more closely when it comes to response sending and option selection (#3443, #3538).
- Occasional panics when reading old statistics databases (#3506).
reload
service action on macOS and FreeBSD (#3457).- Inaccurate using of service actions in the installation script (#3450).
- ClientID checking (#3437).
- Discovering other DHCP servers on
darwin
andfreebsd
(#3417). - Switching listening address to unspecified one when bound to a single specified IPv4 address on Darwin (macOS) (#2807).
- Incomplete HTTP response for static IP address.
- DNSCrypt queries weren't appearing in query log (#3372).
- Wrong IP address for proxied DNS-over-HTTPS queries (#2799).
- Domain name letter case mismatches in DNS rewrites (#3351).
- Conflicts between IPv4 and IPv6 DNS rewrites (#3343).
- Letter case mismatches in
CNAME
filtering (#3335). - Occasional breakages on network errors with DNS-over-HTTP upstreams (#3217).
- Errors when setting static IP on Linux (#3257).
- Treatment of domain names and FQDNs in custom rules with the
dnsrewrite
modifier that use thePTR
type (#3256). - Redundant hostname generating while loading static leases with empty hostname (#3166).
- Domain name case in responses (#3194).
- Custom upstreams selection for clients with ClientIDs in DNS-over-TLS and DNS-over-HTTP (#3186).
- Incorrect client-based filtering applying logic (#2875).
Removed
- Go 1.15 support.
v0.106.3 - 2021-05-19
See also the v0.106.3 GitHub milestone.
Added
- Support for reinstall (
-r
) and uninstall (-u
) flags in the installation script (#2462). - Support for DHCP
DECLINE
andRELEASE
message types (#3053).
Changed
- Add microseconds to log output.
Fixed
- Intermittent "Warning: ID mismatch" errors ([#3087]).
- Error when using installation script on some ARMv7 devices (#2542).
- DHCP leases validation (#3107, #3127).
- Local PTR request recursion in Docker containers (#3064).
- Ignoring client-specific filtering settings when filtering is disabled in general settings (#2875).
- Disallowed domains are now case-insensitive (#3115).
v0.106.2 - 2021-05-06
See also the v0.106.2 GitHub milestone.
Fixed
- Uniqueness validation for dynamic DHCP leases (#3056).
v0.106.1 - 2021-04-30
See also the v0.106.1 GitHub milestone.
Fixed
- Local domain name handling when the DHCP server is disabled (#3028).
- Normalization of previously-saved invalid static DHCP leases (#3027).
- Validation of IPv6 addresses with zones in system resolvers (#3022).
v0.106.0 - 2021-04-28
See also the v0.106.0 GitHub milestone.
Added
- The ability to block user for login after configurable number of unsuccessful attempts for configurable time (#2826).
denyallow
modifier for filters (#2923).- Hostname uniqueness validation in the DHCP server (#2952).
- Hostname generating for DHCP clients which don't provide their own (#2723).
- New flag
--no-etc-hosts
to disable client domain name lookups in the operating system's/etc/hosts
files (#1947). - The ability to set up custom upstreams to resolve PTR queries for local addresses and to disable the automatic resolving of clients' addresses (#2704).
- Logging of the client's IP address after failed login attempts (#2824).
- Search by clients' names in the query log (#1273).
- Verbose version output with
-v --version
(#2416). - The ability to set a custom TLD or domain name for known hosts in the local network (#2393, #2961).
- The ability to serve DNS queries on multiple hosts and interfaces (#1401).
ips
andtext
DHCP server options (#2385).SRV
records support in filtering rules with thednsrewrite
modifier (#2533).
Changed
- Our DoQ implementation is now updated to conform to the latest standard draft (#2843).
- Quality of logging (#2954).
- Normalization of hostnames sent by DHCP clients (#2945, #2952).
- The access to the private hosts is now forbidden for users from external networks (#2889).
- The reverse lookup for local addresses is now performed via local resolvers (#2704).
- Stricter validation of the IP addresses of static leases in the DHCP server with regards to the netmask (#2838).
- Stricter validation of
dnsrewrite
filtering rule modifier parameters (#2498). - New, more correct versioning scheme (#2412).
Deprecated
- Go 1.15 support. v0.107.0 will require at least Go 1.16 to build.
Fixed
- Multiple answers for a
dnsrewrite
rule matching requests with repeating patterns in it (#2981). - Root server resolving when custom upstreams for hosts are specified (#2994).
- Inconsistent resolving of DHCP clients when the DHCP server is disabled (#2934).
- Comment handling in clients' custom upstreams (#2947).
- Overwriting of DHCPv4 options when using the HTTP API (#2927).
- Assumption that MAC addresses always have the length of 6 octets (#2828).
- Support for more than one
/24
subnet in DHCP (#2541). - Invalid filenames in the
mobileconfig
API responses (#2835).
Removed
- Go 1.14 support.
v0.105.2 - 2021-03-10
Security
- Session token doesn't contain user's information anymore (#2470).
See also the v0.105.2 GitHub milestone.
Fixed
- Incomplete hostnames with trailing zero-bytes handling (#2582).
- Wrong DNS-over-TLS ALPN configuration (#2681).
- Inconsistent responses for messages with EDNS0 and AD when DNS caching is enabled (#2600).
- Incomplete OpenWrt detection (#2757).
- DHCP lease's
expired
field incorrect time format (#2692). - Incomplete DNS upstreams validation (#2674).
- Wrong parsing of DHCP options of the
ip
type (#2688).
v0.105.1 - 2021-02-15
See also the v0.105.1 GitHub milestone.
Changed
- Increased HTTP API timeouts (#2671, #2682).
- "Permission denied" errors when checking if the machine has a static IP no longer prevent the DHCP server from starting (#2667).
- The server name sent by clients of TLS APIs is not only checked when
strict_sni_check
is enabled (#2664). - HTTP API request body size limit for the
POST /control/access/set
andPOST /control/filtering/set_rules
HTTP APIs is increased (#2666, #2675).
Fixed
- Error when enabling the DHCP server when AdGuard Home couldn't determine if the machine has a static IP.
- Optical issue on custom rules (#2641).
- Occasional crashes during startup.
- The field
"range_start"
in theGET /control/dhcp/status
HTTP API response is now correctly named again (#2678). - DHCPv6 server's
ra_slaac_only
andra_allow_slaac
properties aren't reset tofalse
on update anymore (#2653). - The
Vary
header is now added along withAccess-Control-Allow-Origin
to prevent cache-related and other issues in browsers (#2658). - The request body size limit is now set for HTTPS requests as well.
- Incorrect version tag in the Docker release (#2663).
- DNSCrypt queries weren't marked as such in logs (#2662).
v0.105.0 - 2021-02-10
See also the v0.105.0 GitHub milestone.
Added
- Added more services to the "Blocked services" list (#2224, #2401).
ipset
subdomain matching, just likednsmasq
does (#2179).- ClientID support for DNS-over-HTTPS, DNS-over-QUIC, and DNS-over-TLS (#1383).
- The new
dnsrewrite
modifier for filters (#2102). - The host checking API and the query logs API can now return multiple matched rules (#2102).
- Detecting of network interface configured to have static IP address via
/etc/network/interfaces
(#2302). - DNSCrypt protocol support (#1361).
- A 5 second wait period until a DHCP server's network interface gets an IP address (#2304).
dnstype
modifier for filters (#2337).- HTTP API request body size limit (#2305).
Changed
Access-Control-Allow-Origin
is now only set to the same origin as the domain, but with an HTTP scheme as opposed to*
(#2484).workDir
now supports symlinks.- Stopped mounting together the directories
/opt/adguardhome/conf
and/opt/adguardhome/work
in our Docker images (#2589). - When
dns.bogus_nxdomain
option is used, the server will now transform responses if there is at least one bogus address instead of all of them (#2394). The new behavior is the same as indnsmasq
. - Post-updating relaunch possibility is now determined OS-dependently (#2231, #2391).
- Made the mobileconfig HTTP API more robust and predictable, add parameters and improve error response (#2358).
- Improved HTTP requests handling and timeouts (#2343).
- Our snap package now uses the
core20
image as its base (#2306). - New build system and various internal improvements (#2271, #2276, #2297, #2509, #2552, #2639, #2646).
Deprecated
- Go 1.14 support. v0.106.0 will require at least Go 1.15 to build.
- The
darwin/386
port. It will be removed in v0.106.0. - The
"rule"
and"filter_id"
fields inGET /filtering/check_host
andGET /querylog
responses. They will be removed in v0.106.0 (#2102).
Fixed
- Autoupdate bug in the Darwin (macOS) version (#2630).
- Unnecessary conversions from
string
tonet.IP
, and vice versa (#2508). - Inability to set DNS cache TTL limits (#2459).
- Possible freezes on slower machines (#2225).
- A mitigation against records being shown in the wrong order on the query log page (#2293).
- A JSON parsing error in query log (#2345).
- Incorrect detection of the IPv6 address of an interface as well as another
infinite loop in the
/dhcp/find_active_dhcp
HTTP API (#2355).
Removed
- The undocumented ability to use hostnames as any of
bind_host
values in configuration. Documentation requires them to be valid IP addresses, and now the implementation makes sure that that is the case (#2508). Dockerfile
(#2276). Replaced with the scriptscripts/make/build-docker.sh
which usesscripts/make/Dockerfile
.- Support for pre-v0.99.3 format of query logs (#2102).
v0.104.3 - 2020-11-19
See also the v0.104.3 GitHub milestone.
Fixed
- The accidentally exposed profiler HTTP API (#2336).
v0.104.2 - 2020-11-19
See also the v0.104.2 GitHub milestone.
Added
- This changelog :-) (#2294).
HACKING.md
, a guide for developers.
Changed
- Improved tests output (#2273).
Fixed
- Query logs from file not loading after the ones buffered in memory (#2325).
- Unnecessary errors in query logs when switching between log files (#2324).
404 Not Found
errors on the DHCP settings page on Windows. The page now correctly shows that DHCP is not currently available on that OS (#2295).- Infinite loop in
/dhcp/find_active_dhcp
(#2301).