Commit Graph

1793 Commits

Author SHA1 Message Date
Simon Zolin
3b9d758510 * refactor 2020-01-10 19:08:07 +03:00
Simon Zolin
0ef8e5cdae * dnsforward: get per-client settings only once
+ dnsforward: add 'ProtectionEnabled = false' test
2020-01-10 19:08:05 +03:00
Simon Zolin
b3ddae7f85 * clients: manual clients don't exclude auto-clients anymore 2020-01-10 15:52:40 +03:00
Simon Zolin
995373c74b * clients: Upstreams cache: refactor
don't use a separate container
2020-01-10 15:52:38 +03:00
Simon Zolin
87bcb67f8f * clients: remove WHOIS info for manually-added clients 2020-01-10 15:51:57 +03:00
Simon Zolin
688a5d84c8 Merge: * dnsfilter: change DNS answer for host rules
Close #1328

* commit '8d2a9ce923eae4673a74f4c4a7e1d9ef840f04d2':
  * dnsfilter: change DNS answer for host rules
2020-01-10 15:29:56 +03:00
Simon Zolin
0cd25cf598 Merge: - clients: fix rename
Close #1340

Squashed commit of the following:

commit 95f0291c681f98c29f4014b651c159d387301af4
Author: Simon Zolin <s.zolin@adguard.com>
Date:   Thu Jan 9 18:56:23 2020 +0300

    add test

commit 293be277e245ff2f430e8c1e9ee3e82dc7da0995
Author: Simon Zolin <s.zolin@adguard.com>
Date:   Thu Jan 9 16:04:36 2020 +0300

    - clients: fix rename
2020-01-10 15:28:58 +03:00
Andrey Meshkov
84b11ff7a5 Merge: * readme: Add note about being able to ad-block IoT devices
* commit '358a36b138b816eba2602b9ab2d44f62ccbfeff3':
  * readme: Add note about being able to ad-block IoT devices
2020-01-10 14:21:58 +03:00
Simon Zolin
d309a7e33c Merge: - clients: settings safebrowsing_enabled and safesearch_enabled were incorrect (reversed)
Close #1339

* commit '4386e8ddde296f270fada3deba43a48b53b5da4c':
  - settings safebrowsing_enabled and safesearch_enabled were incorrect (reversed)
2020-01-10 12:22:00 +03:00
Simon Zolin
e28fdd37cd Merge: - querylog: incorrect client IP when blocked by hosts filter
Close #1329

* commit '29998a8959d9ed4d31d6034eaa3a1ec9d178e191':
  - querylog: incorrect client IP when blocked by hosts filter
2020-01-10 12:21:17 +03:00
mountainsandcode
358a36b138 * readme: Add note about being able to ad-block IoT devices 2020-01-10 12:17:04 +03:00
Simon Zolin
8d2a9ce923 * dnsfilter: change DNS answer for host rules
When matched by a host rule, return only the IP address specified in rule.
Respond with an empty IP list to another request type.

:: host -- return nothing to A, return :: to AAAA request
0.0.0.0 host -- return 0.0.0.0 to A, return nothing to AAAA request
2020-01-09 19:31:14 +03:00
Simon Zolin
29998a8959 - querylog: incorrect client IP when blocked by hosts filter 2020-01-09 18:27:44 +03:00
Simon Zolin
4386e8ddde - settings safebrowsing_enabled and safesearch_enabled were incorrect (reversed) 2020-01-09 15:01:54 +03:00
Andrey Meshkov
94d86eee10 -(dnsforward): update dnsproxy to v0.23.6 2019-12-31 18:09:55 +03:00
Andrey Meshkov
d0eb5695df Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-home 2019-12-25 18:47:43 +03:00
Andrey Meshkov
4808b33c01 *(dnsfilter): update urlfilter to v0.7.2 2019-12-25 18:46:59 +03:00
Andrey Meshkov
b4220722a0 Merge: * client: update translations
* commit '1800c6583665da4672ff8dab2be410511ddf8ca6':
  * client: update chinese translations
  - client: fix translation
  * client: update translations
2019-12-25 14:30:28 +03:00
Andrey Meshkov
5556e34e7e -(dnsforward): use dnsproxy v0.23.5 - fix DO caching 2019-12-25 14:29:33 +03:00
Ildar Kamalov
1800c65836 * client: update chinese translations 2019-12-25 13:42:04 +03:00
Ildar Kamalov
d8f37093ae - client: fix translation 2019-12-25 13:30:43 +03:00
Ildar Kamalov
4aaa006c41 * client: update translations 2019-12-25 13:05:27 +03:00
Andrey Meshkov
1e36deeeda *(global): update translations 2019-12-24 12:15:27 +03:00
Andrey Meshkov
dfe47ab33b *: update translation script readme 2019-12-24 11:45:02 +03:00
Andrey Meshkov
670810c433 -(dnsforward): the issue with cache and custom upstreams
 Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1301
2019-12-24 11:19:36 +03:00
Andrey Meshkov
3a077717ae *(home): do not set whois-info for manually created clients
 Closes: Do not set WhoisInfo for manually created clients
2019-12-23 20:02:06 +03:00
Andrey Meshkov
cdd55139fa *(dnsforward): cache upstream instances
 Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1296
2019-12-23 19:31:27 +03:00
Andrey Meshkov
3dd91cf179 -: add one more test 2019-12-23 17:12:50 +03:00
Andrey Meshkov
6bf512f96f -(home): fix searching clients by mac address 2019-12-23 16:59:02 +03:00
Andrey Meshkov
9b93d43ac6 -(home): fix deadlock in clients 2019-12-23 16:27:24 +03:00
Andrey Meshkov
ec7a62e123 -(home): fix duplicate check when adding a new ClientHost 2019-12-23 16:20:12 +03:00
Andrey Meshkov
b4f4111609 -(dnsfilter): match DNS response against filtering rules only
Supposedly, this will fix #1290
2019-12-23 15:59:49 +03:00
Andrey Meshkov
7c0cf641db Merge: -(dnsforward): fix client settings for CNAME matching
fix #1274

* commit '5077f1a2b31056e184156ce9602e2428c7676acb':
  -(dnsforward): fix client settings for CNAME matching
2019-12-23 15:36:14 +03:00
Andrey Meshkov
87a82f5e60 Merge: -(global): fixing the installation flow on windows
* commit 'abbf8fb87b747700ecced07c9ca0b8e1f997ece1':
  -(global): fixing the installation flow on windows
2019-12-23 15:21:29 +03:00
Andrey Meshkov
abbf8fb87b -(global): fixing the installation flow on windows
There could be a bug caused by the lack of SO_REUSEPORT
2019-12-23 14:57:10 +03:00
Ildar Kamalov
c5537968b1 Merge: + DNS Rewrites: support wildcard domain name
Closes #922

* commit '5ba45b91c9cfde84fc0866e6b3fca679504975e7':
  * client: fix render field for DNS settings
  + client: handle wildcard domains
  + DNS Rewrites: support wildcard domain name
2019-12-23 14:02:21 +03:00
Andrey Meshkov
5077f1a2b3 -(dnsforward): fix client settings for CNAME matching
 Closes: https://github.com/AdguardTeam/AdGuardHome/issues/1274
2019-12-23 13:36:59 +03:00
Andrey Meshkov
482e9fd6f3 Merge: - client: sort clients table by requests count by default
fix #1253

* commit 'ca79fc98f5d43a5ca1955e8b0056edc3a6ee9b61':
  change code style in reduce
  - client: sort clients table by requests count by default
2019-12-23 12:35:07 +03:00
Ildar Kamalov
5ba45b91c9 * client: fix render field for DNS settings 2019-12-20 17:02:42 +03:00
Ildar Kamalov
c9478592a2 + client: handle wildcard domains 2019-12-20 16:48:27 +03:00
Simon Zolin
8685584bf5 + DNS Rewrites: support wildcard domain name 2019-12-20 16:45:58 +03:00
Artem Baskal
ca79fc98f5 change code style in reduce 2019-12-20 16:22:38 +03:00
Andrey Meshkov
28096d6966 Merge: + client: add clients forms validation and cache findClients function
* commit '2e493e0226d3f22941fd09eed44ebb67a4d2874a':
  + client: add clients forms validation and cache findClients function
2019-12-20 16:15:04 +03:00
Artem Baskal
2e493e0226 + client: add clients forms validation and cache findClients function 2019-12-20 16:07:03 +03:00
Artem Baskal
cddf3ca01e Merge: - client: delete whois column in the static clients table
Close #1252

* commit 'c2f1b2d8f5c9814c3328555fc364d1360518c872':
  - client: delete whois column in the statis cients table
2019-12-20 16:02:27 +03:00
Ildar Kamalov
24e8ef6b32 Merge: DHCP: show static leases all the time
Closes #1023

* commit '60cbb93488ec3fa1ca720d88e79ae48130ac9461':
  + client: show DHCP static leases all the time
  * dhcp: now static leases functionality works before DHCP is started
2019-12-20 15:18:23 +03:00
Simon Zolin
ceab5d4c41 Merge: + DNS: Allow DOH queries via unencrypted HTTP
Close #1276

* commit '91c3149ee2dc902a5081345431f586ae72362963':
  + allow_unencrypted_doh: add test
  + DNS: Allow DOH queries via unencrypted HTTP (e.g. for reverse proxying)
2019-12-20 15:14:41 +03:00
Simon Zolin
91c3149ee2 + allow_unencrypted_doh: add test 2019-12-20 14:50:54 +03:00
Artem Baskal
57c031c1c6 - client: sort clients table by requests count by default 2019-12-20 14:15:57 +03:00
Krombel
ec8fe0b40c + DNS: Allow DOH queries via unencrypted HTTP (e.g. for reverse proxying) 2019-12-20 12:22:43 +03:00