ArtemBaskal
c1f5fdaee4
Merge branch 'master' into 1920-client-find
2020-09-23 20:29:48 +03:00
Artem Baskal
756f97ede1
+ upstream: Allow entering comments to the Upstreams box
...
Close #2083
Squashed commit of the following:
commit 113ad3c4ae2ca184b3945dcaa357b57303ee5fd6
Merge: 4ca1f005 bf23aa4d
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Tue Sep 22 14:41:30 2020 +0300
Merge branch 'master' into feature/2083
commit 4ca1f0056708eb23bb751587a0ec284508f35edf
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Tue Sep 22 13:14:31 2020 +0300
Simplify filterOutComments, use assert in tests
commit bba03568aa979300e0534a2bd2f03086e25b3f87
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Tue Sep 22 12:05:00 2020 +0300
Add ValidateUpstreams test cases
commit 181de508cf266e3a47058f2b7e1b4b4accbab827
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Tue Sep 22 11:47:03 2020 +0300
Refactor testUpstream
commit 19c189cf7b64f4d252428dec5a608595c8e4cbc7
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Tue Sep 22 10:38:37 2020 +0300
Move functions to utils
commit 003937e90e0ff02e696d45c21045a27a49cd0202
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Mon Sep 21 19:00:49 2020 +0300
Review changes
commit b26bf64d8cef0266f33bce51c5bad324c74bb6da
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Mon Sep 21 17:58:01 2020 +0300
+ upstream: Filter out the upstream comments
commit 920975d2ba14fade07282cdb5c72a699c8083463
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Mon Sep 21 17:51:00 2020 +0300
Trim upstreams, extract comment token
commit a9958eb305ed9af10de68ef3bffe63f216805efe
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Mon Sep 21 10:34:11 2020 +0300
Fix markup styles
commit 6efa41d944c7b09454a4011d2c9ea52b5ce91bbf
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Fri Sep 18 17:59:57 2020 +0300
Fix upstream form positioning
commit 6eb12158d0bca49d4b41eb65a3ebed44eafbe486
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Fri Sep 18 17:16:49 2020 +0300
Update example_upstream_comment locale
commit aa9317b0243f5d30f0fcb9cbfcdf502547a8e954
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Fri Sep 18 13:28:30 2020 +0300
Highlight comments in custom rules form, extract highlight logic
commit dc55245d3db9edbde60fda0a0e50e1e045e71403
Author: ArtemBaskal <a.baskal@adguard.com>
Date: Thu Sep 17 22:48:29 2020 +0300
+ client: Allow entering comments to the Upstreams box
2020-09-22 15:04:17 +03:00
ArtemBaskal
da1e235052
Merge branch 'master' into 1920-client-find
2020-09-15 10:45:32 +03:00
Andrey Meshkov
cb8afde629
* (dnsforward): fix reverse lookups from /etc/hosts
...
There was a bug with empty PTR responses for IPs that are in the hosts
file
Closes : #2085
2020-09-11 11:53:36 +03:00
Andrey Meshkov
75d680ff30
* (dnsforward): added some hosts to disallowed by default
2020-09-10 12:32:36 +03:00
Andrey Meshkov
88c67764b9
* (dnsforward): don't fail when default upstream is not set
2020-09-09 18:12:11 +03:00
Andrey Meshkov
7720d0dfbc
Merge branch 'master' into 1680-upstreams-file
2020-09-09 14:51:27 +03:00
Andrey Meshkov
e781ff0cae
* : merge with master
2020-09-09 14:35:11 +03:00
Andrey Meshkov
1fadc27615
Merge branch 'master' into 1914-refused-blocking-mode
2020-09-09 13:51:53 +03:00
Andrey Meshkov
7d7609cf7a
* (dnsforward): moved setting upstream.RootCAs
2020-09-08 17:28:01 +03:00
Andrey Meshkov
314867734a
- (dnsforward): fixed running only quic, added a test
...
QUIC was not initialized if DOT port is not set. Also, there were no
tests on DoQ functionality.
2020-09-08 17:20:24 +03:00
Andrey Meshkov
2c12d5f860
Improve the clients/find API response
2020-09-08 13:56:45 +03:00
Simon Zolin
dd3027afe7
+ GET /control/clients/find: add "disallowed" property
2020-09-04 10:58:33 +03:00
Simon Zolin
d53e32259a
+ DNS: "port_dns_over_quic" setting
2020-09-04 10:55:13 +03:00
Simon Zolin
dfab6597cd
+ DNS: "dns.upstream_dns_file" setting
2020-09-04 10:41:04 +03:00
Simon Zolin
b6193c32ce
+ DNS: new blocking mode: "refused"
2020-09-04 10:33:55 +03:00
Simon Zolin
8f017d2c0e
* DNS: use REFUSED DNS error code as the default blocking method
2020-09-04 10:33:09 +03:00
Simon Zolin
7931e50673
+ DNS: add "ipset" configuration setting
...
Close #1191
Squashed commit of the following:
commit ba14b53f9e3d98ad8127aa3af1def0da4269e8c4
Merge: 362f4c44 6b614295
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 14:03:19 2020 +0300
Merge remote-tracking branch 'origin/master' into 1191-ipset
commit 362f4c44915cb8946db2e80f9a3f5afd74fe5de1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 12:50:56 2020 +0300
minor
commit 28e12459166fe3d13fb0dbe59ac11b7d86adb9b4
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 12:43:25 2020 +0300
minor
commit bdbd7324501f6111bea1e91eda7d730c7ea57b11
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 18:40:04 2020 +0300
move code, ipset-v6
commit 77f4d943e74b70b5bc5aea279875ab1e2fab2192
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 15:53:27 2020 +0300
comment
commit 16401325bbefeba08e447257b12a8424b78c9475
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 31 17:43:23 2020 +0300
minor
commit c8410e9a519b87911bc50f504e8b4aaf8dce6e02
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 31 15:30:52 2020 +0300
+ DNS: add "ipset" configuration setting
2020-09-02 14:13:45 +03:00
Simon Zolin
cb6ca3b0c4
- windows: install: fix crash due to empty DHCP server pointer
...
#2036
Squashed commit of the following:
commit 5c70d28b241d1a98e034f6798dade073b1b42511
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 24 18:42:21 2020 +0300
- windows: install: fix crash due to empty DHCP server pointer
We should not assign a Go interface value, otherwise `==nil` check doesn't work.
2020-08-24 20:06:53 +03:00
Simon Zolin
eb3999a261
* /control/dns_config: allow all valid bootstrap server notations
...
Close #1843
Squashed commit of the following:
commit cc82b373816b76a803d29e4baae18384aa0f8c67
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Aug 20 14:20:35 2020 +0300
* /control/dns_config: allow all valid bootstrap server notations
* use dnsproxy v0.31.1
2020-08-21 15:54:16 +03:00
Simon Zolin
a3317c08c4
+ dhcpv6 server; rewrite dhcpv4 server; changed API
2020-08-19 18:32:23 +03:00
Simon Zolin
c3123473cf
* DNS: resolve host names from DHCP: improve
...
#1956
Squashed commit of the following:
commit efeacd92b8b82a9a0a0cce8c5648f2d024b4bc9e
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Aug 18 13:54:15 2020 +0300
* DNS: resolve host names from DHCP: improve
. Require a valid host name from DHCP lease
. Use lower-case names
2020-08-18 17:40:36 +03:00
Simon Zolin
8d0c8ad438
+ DNS: resolve host names to IP addresses leased by AGH DHCP server
...
Close #1956
Squashed commit of the following:
commit 21f11632c871e9c17faa77f9cd6a7aa836559779
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 17 19:54:24 2020 +0300
+ DNS: resolve host names to IP addresses leased by AGH DHCP server
2020-08-18 12:36:52 +03:00
Simon Zolin
9e09dffbc3
- dns: limit the number of active goroutines for incoming requests processing
...
Close #2015
Squashed commit of the following:
commit 90ba06f1fce22a452b4d61db62bd950b976debd1
Merge: 9494b29b 473d8818
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 19:14:26 2020 +0300
Merge remote-tracking branch 'origin/master' into max-go
commit 9494b29b65ae8fe593a487984bed051aa78e4ff9
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 17:03:00 2020 +0300
+ max_goroutines setting
commit 87071a5e0ed43be192a7755fb25764cd4519da5a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 14 15:29:00 2020 +0300
- dns: limit the number of active goroutines for incoming requests processing
2020-08-14 19:27:36 +03:00
Simon Zolin
705a9d909d
* SB/PC: use 4-character hash in request
...
* use hash prefix as the cache key
Squashed commit of the following:
commit d719a84ee9b9cf43aaab4f53d07451645ea836db
Merge: d9d6d443 97df1989
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Aug 13 11:41:28 2020 +0300
Merge remote-tracking branch 'origin/master' into sbpc
commit d9d6d44376c44959f2216b08e577d8e5c5f65bff
Merge: 0a8b2483 de92c852
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Aug 13 11:23:14 2020 +0300
Merge remote-tracking branch 'origin/master' into sbpc
commit 0a8b24839683683a9d327ecf57a7d182b3996b1d
Merge: 0255a24a 9b9902f0
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Aug 12 20:21:22 2020 +0300
Merge remote-tracking branch 'origin/master' into sbpc
commit 0255a24a191efd2e4ef23d6a00a7a9fed8831730
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Aug 12 17:16:57 2020 +0300
- TestServerCustomClientUpstream(): fix
commit d2311902f887be9621a9d9312c73f899dd269440
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Aug 12 17:07:12 2020 +0300
* SB/PC: hard-code Family server IP addresses to prevent from requesting them at runtime
commit ee340108f11f98d49a7af2a7e8a228c25ab1537a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Aug 12 17:05:57 2020 +0300
* dnsproxy v0.30.1
commit f5f53ba7116ad525204d00b80352202eee88b78c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Aug 12 14:53:23 2020 +0300
minor
commit fb4631e2cd570b0fd5ae26ec2b1890361275a5a8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 10 20:07:27 2020 +0300
* SB/PC: implement new cache
commit f9f58461a6efbcfacd798f7640a4645cf1971cb2
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 7 19:31:05 2020 +0300
doc
commit ed69626a6c119ab1a3b187f5afbd4cef708c3159
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Aug 7 18:25:57 2020 +0300
* SB/PC: use hostname prefix for cache
commit afa8040c8c0836c7e59e6fb9aaf1caccd132ea8f
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Jul 31 11:19:49 2020 +0300
* SB/PC: use 4-character hash in request
2020-08-13 11:49:42 +03:00
Simon Zolin
ad4e85d8f5
add test
2020-07-24 13:27:14 +03:00
Simon Zolin
4b9ab97271
- rewrites: return NOERROR without A records instead of NXDOMAIN
...
For rule "host -> ipv6" we return "ipv6" address for AAAA request
and empty answer for A request
2020-07-24 13:18:05 +03:00
Andrey Meshkov
4f8138bdce
Fix #1764
...
+ rewrites: support IP exception; support "pass A only" case
* commit '32610840f9a0769bb58c7443a485c5e5b0cd2b68':
+ rewrites: support IP exception; support "pass A only" case
2020-07-06 17:00:10 +03:00
Simon Zolin
4303b3dd2f
+ dns: new settings for cache
...
Squashed commit of the following:
commit e5b488249a4d972efd63c6e96830d9f30829aee1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Jun 16 15:38:27 2020 +0300
+ dns: new settings for cache
2020-07-03 20:35:04 +03:00
Simon Zolin
5980db1a2d
+ rewrites: support IP exception; support "pass A only" case
...
+ rewrites: support IP exception
host.com -> 1.2.3.4
host.com -> AAAA
Response:
A:
A = 1.2.3.4
AAAA:
AAAA = <IPv6 address of host.com>
+ rewrites: support "pass A only" case
host.com -> A
Response:
A:
A = <IPv4 address of host.com>
AAAA:
<empty>
2020-07-03 17:37:51 +03:00
Simon Zolin
890876cb05
+ pass client Name and IP to dnsfilter
...
* use urlfilter v0.11.0
2020-06-23 14:36:26 +03:00
Simon Zolin
49a92605b8
+ dns: respond to PTR requests for internal IP addresses from DHCP
...
Close #1682
Squashed commit of the following:
commit 2fad3544bf8853b1f8f19ad8b7bc8a490c96e533
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 22 17:32:45 2020 +0300
minor
commit 7c17992424702d95e6de91f30e8ae2dfcd8de257
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 22 16:09:34 2020 +0300
build
commit 16a52e11a015a97d3cbf30362482a4abd052192b
Merge: 7b6a73c8 2c47053c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 22 16:08:32 2020 +0300
Merge remote-tracking branch 'origin/master' into 1682-dhcp-resolve
commit 7b6a73c84b5cb9a073a9dfb7d7bdecd22e1e1318
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 22 16:01:34 2020 +0300
tests
commit c2654abb2e5e7b7e3a04e4ddb8e1064b37613929
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 1 15:15:13 2020 +0300
+ dnsforward: respond to PTR requests for internal IP addresses
{[IP] => "host"} <- DNSforward <-(leases)-- DHCP
2020-06-23 12:13:13 +03:00
Andrey Meshkov
b1c951fb2c
Merge: + new query logs API
...
* commit '59c4a2886a97143e3a36912ec895dc1a06be88cc':
openapi
If there are no more older entries, `"oldest":""` is returned.
fix search by "whitelisted", "rewritten"
doc
fix whois test
+ "dot"
openapi
* minor
+ client_proto
* openapi
+ new query logs API
2020-06-18 00:23:52 +03:00
Simon Zolin
ec6ca93acd
* dns: disable cache with "cache_size: 0" setting
...
Close #1591
Squashed commit of the following:
commit 547a971f5c4f11c519dfabd52d42fa626abf931a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Jun 16 14:46:06 2020 +0300
* dns: disable cache with "cache_size: 0" setting
2020-06-16 15:13:38 +03:00
Simon Zolin
a869ec4cbb
* DNS API: new setting "upstream_mode"; remove "fastest_addr", "parallel_requests"
...
* use dnsproxy v0.29.0
Squashed commit of the following:
commit f18b7231f3f3f84446c0d837855af342f3c971b4
Merge: 501a4e06 dae275e6
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Jun 10 15:24:15 2020 +0300
Merge remote-tracking branch 'origin/master' into update-dnsproxy
commit 501a4e06ab350e46ff78656141d925de9f2e4996
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Jun 5 12:47:13 2020 +0300
openapi
commit 3930bd196572924f164ed011629356a0ac0ec631
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Jun 5 12:21:32 2020 +0300
* DNS API: new setting "upstream_mode"; remove "fastest_addr", "parallel_requests"
* use dnsproxy v0.29.0
2020-06-10 15:33:23 +03:00
Simon Zolin
9a030aa99f
- rewrites: fix invalid question in response
...
#1746
for a rule:
cname -> domain
with IP of 'domain' resolved by upstream
Squashed commit of the following:
commit fb3ad25ac8a7963a8fa6587cdc33e2fc35f79dfb
Merge: a6794989 67dacdf8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 1 15:15:23 2020 +0300
Merge remote-tracking branch 'origin/master' into 1746-rewrites
commit a679498904a817011b55c58ee579e55f27fa0bc8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Jun 1 10:42:16 2020 +0300
test: check question
commit 7491e753c5eb6df54c9c050b0fa198c81dded2a0
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri May 29 18:22:32 2020 +0300
test
commit 12cb2e194191ca489c9025b55f8571ae2dd7c33d
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri May 29 14:51:06 2020 +0300
- rewrites: fix invalid question in response
for a rule:
cname -> domain
with IP of 'domain' resolved by upstream
2020-06-01 15:23:08 +03:00
Simon Zolin
bccb939346
+ "dot"
2020-05-29 11:46:37 +03:00
Simon Zolin
d971bb9957
* minor
2020-05-29 11:15:31 +03:00
Simon Zolin
0904eeffa8
+ client_proto
2020-05-29 11:15:22 +03:00
Simon Zolin
0848ca0e69
- rewrites: fix crash when handling name->cname->A chain
...
crash.adguard -> adguard.a.record
adguard.a.record -> 1.2.3.4
2020-05-21 14:48:31 +03:00
Andrey Meshkov
2fca419c7f
*(home): fix TLS module initialization
...
Continue to work even when TLS cert-key pair is invalid
Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1677
2020-05-16 02:02:50 +03:00
Andrey Meshkov
fb79416ebe
-: fix #1632
2020-05-14 18:24:59 +03:00
Andrey Meshkov
5d7b3fb7d5
-(dnsforward): fix handling RRSIG records
2020-05-14 18:08:47 +03:00
Andrey Meshkov
ae51de9335
Added a unit-test for custom upstreams
2020-05-14 12:57:41 +03:00
Andrey Meshkov
67a39045fc
-(dnsforward): custom client per-domain upstreams
...
Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1539
2020-05-13 20:31:43 +03:00
Andrey Meshkov
cd87169ee4
*: comments fix
2020-05-08 19:02:16 +03:00
Andrey Meshkov
8909599739
+(dnsforward): added bogus-nxdomain setting
...
Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1545
2020-05-08 18:39:37 +03:00
Simon Zolin
e2ddc82d70
+ DNS: add fastest_addr setting
...
* API: /dns_info, /dns_config: add "parallel_requests" instead of "all_servers" from /set_upstreams_config
* API: /status: removed fields
#715
Squashed commit of the following:
commit 7dd913bd336ecbaa7419b998d0bf913d89702fe6
Merge: 43706970 8170955a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Apr 22 19:09:36 2020 +0300
Merge remote-tracking branch 'origin/master' into 715-fastest-addr
commit 437069702a3e91e0b066e4b22b08cdc02ff19eaf
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Apr 22 19:08:55 2020 +0300
minor
commit 9e713df80c5bf113c98794c0a20915c756a76938
Merge: e3bf4037 9b7c1181
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Apr 21 16:02:03 2020 +0300
Merge remote-tracking branch 'origin/master' into 715-fastest-addr
commit e3bf4037f49198e42bde55305d6f9077341b556a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Apr 21 15:40:49 2020 +0300
minor
commit d6e6a823c5e51acc061b2850d362772efcb827e1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Apr 17 17:56:24 2020 +0300
* API changes
. removed POST /set_upstreams_config
. removed fields from GET /status: bootstrap_dns, upstream_dns, all_servers
. added new fields to /dns_config and /dns_info
commit 237a452d09cc48ff8f00e81c7fd35e7828bea835
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Apr 17 16:43:13 2020 +0300
* API: /dns_info, /dns_config: add "parallel_requests" instead of "all_servers" from /set_upstreams_config
commit 9976723b9725ed19e0cce152d1d1198b13c4acc1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Mar 23 10:28:25 2020 +0300
openapi
commit 6f8ea16c6332606f29095b0094d71e8a91798f82
Merge: 36e4d4e8 c8285c41
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 19:18:48 2020 +0300
Merge remote-tracking branch 'origin/master' into 715-fastest-addr
commit 36e4d4e82cadeaba5a11313f0d69d66a0924c342
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 18:13:43 2020 +0300
+ DNS: add fastest_addr setting
2020-04-22 19:14:04 +03:00
Simon Zolin
1a1c09135d
+ auto-hosts: respond to PTR requests
...
Close #1562
Squashed commit of the following:
commit d5c6bb0e5f0c8c1618bd0df764ae86a5e62a850b
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Apr 13 14:10:10 2020 +0300
+ auto-hosts: respond to PTR requests
2020-04-16 18:56:47 +03:00
Andrey Meshkov
7b8588afa4
*: fix golangci-lint warnings
2020-04-05 18:34:43 +03:00