Commit Graph

2536 Commits

Author SHA1 Message Date
Andrey Meshkov a22db5f358 Merge branch 'master' of ssh://bit.adguard.com:7999/dns/adguard-home 2020-09-11 13:22:39 +03:00
Andrey Meshkov 1c88667306 * (home): added tests for no-mem-optimization flag 2020-09-11 13:21:37 +03:00
Andrey Meshkov b3a68bb806 * (global): added --no-mem-optimization flag
This commit adds a new command-line argument that disables memory
optimizations AGH is using. These memory optimizations might be
necessary on low-memory devices, but they aren't free and there's a
performance hit (see #2044). Now they can be disabled - just pass
--no-mem-optimization when you run AGH or when you install the service
-- ./AdGuardHome -s install --no-mem-optimization

Closes: #2044
2020-09-11 13:19:37 +03:00
Artem Baskal 6fddccfb65 - client: Fix dashboard client names display
Close #2090

* commit '8533081da7632cca634e400c5b14b3bf52a55b61':
  - client: Fix dashboard client names display
2020-09-11 12:35:29 +03:00
ArtemBaskal 8533081da7 - client: Fix dashboard client names display 2020-09-11 12:06:52 +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 caee4b86fa * (dnsforward): upgrade dnsproxy to v0.32.5 2020-09-10 23:54:15 +03:00
Andrey Meshkov 67e6b7d3e8 * (dnsforward): upgrade dnsproxy to v0.32.4 2020-09-10 18:19:09 +03:00
ArtemBaskal bce69809bc Change back div to label 2020-09-10 12:54:36 +03:00
Andrey Meshkov 75d680ff30 * (dnsforward): added some hosts to disallowed by default 2020-09-10 12:32:36 +03:00
ArtemBaskal c5773577bc Update Link of port_53_faq_link 2020-09-09 22:12:56 +03:00
ArtemBaskal 071a1f77a4 Update upstream_dns_help 2020-09-09 21:51:02 +03:00
ArtemBaskal 7177361016 + client: Update locales 2020-09-09 20:13:29 +03:00
Andrey Meshkov b6e5863058 Merge: + DNS: "dns.upstream_dns_file" setting
Merge in DNS/adguard-home from 1680-upstreams-file to master
Fix #1680

* commit '88c67764b9515902514b0a8e4f00af29a353c584':
  * (dnsforward): don't fail when default upstream is not set
  * (dnsforward): upgrade dnsproxy to v0.32.1
  * (ui): fix strings
  + client: Display upstreams list loaded from a file
  + DNS: "dns.upstream_dns_file" setting
2020-09-09 18:49:26 +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 f8010902ce * (dnsforward): upgrade dnsproxy to v0.32.1 2020-09-09 17:50:39 +03:00
Andrey Meshkov 0818d51493 Merge: - client: Fix delay of custom filter editor
Merge in DNS/adguard-home from fix/1657 to master
Fix #1657

* commit '474306d46546097700d5c767c7283f33f63f53d7':
  - client: Fix delay of custom filter editor
2020-09-09 15:48:41 +03:00
Andrey Meshkov 7720d0dfbc Merge branch 'master' into 1680-upstreams-file 2020-09-09 14:51:27 +03:00
Andrey Meshkov 90e4316cfc * (ui): fix strings 2020-09-09 14:50:21 +03:00
Andrey Meshkov e781ff0cae * : merge with master 2020-09-09 14:35:11 +03:00
Andrey Meshkov 9a49161f15 Merge: * DNS: use REFUSED DNS error code as the default blocking method
Merge in DNS/adguard-home from 1914-refused-blocking-mode to master
Fix #1914

* commit '382cddea47452abd02adeab2a1539dcd3c74c1dd':
  fix pre-commit hook
  * (ui): added refused string
  + client: Add REFUSED DNS error code as the default blocking method
  + DNS: new blocking mode: "refused"
  * locales: blocking_mode_default: NXDOMAIN -> REFUSED
  * DNS: use REFUSED DNS error code as the default blocking method
2020-09-09 14:21:55 +03:00
Andrey Meshkov 382cddea47 fix pre-commit hook 2020-09-09 14:03:27 +03:00
Andrey Meshkov 317e030554 * (ui): added refused string 2020-09-09 13:59:18 +03:00
Andrey Meshkov 1fadc27615 Merge branch 'master' into 1914-refused-blocking-mode 2020-09-09 13:51:53 +03:00
Andrey Meshkov ccb903c9a0 Merge: + DoQ client/server
Merge in DNS/adguard-home from 2049-doq to master
Fix #2049

* commit '7d7609cf7a2c0c3c539649776f0eebd35adb08c7':
  * (dnsforward): moved setting upstream.RootCAs
  - (dnsforward): fixed running only quic, added a test
  Change link and translation
  Resolve conflict
  + client: Add experimental DNS-over-QUIC support
  + DNS: "port_dns_over_quic" setting
  * dnsproxy v0.32.0
2020-09-09 13:51:21 +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 120d5304c2 Merge branch 'master' into 2049-doq 2020-09-08 17:03:40 +03:00
Andrey Meshkov abc08b7572 Merge: + client: Add experimental DNS-over-QUIC support
Merge in DNS/adguard-home from feature/2049 to 2049-doq

* commit 'c588b891975eecda91408661bb3b3de0572437c3':
  Change link and translation
  Resolve conflict
  + client: Add experimental DNS-over-QUIC support
2020-09-08 16:19:21 +03:00
Andrey Meshkov 3c85b994d3 Merge: Dsheets service options
Merge in DNS/adguard-home from dsheets-service-options to master

* commit '7be0cc72df9b01922e6bc5b3e6e9c6ab57b3fc26':
  Don't run home_test with race detection
  service: installation and running of AGH as a service with CLI args
  home/options: add options -> args serialization
  cli: factor options struct and parsing into home/options.go
2020-09-08 16:11:21 +03:00
Andrey Meshkov 7be0cc72df Don't run home_test with race detection 2020-09-08 15:53:25 +03:00
Andrey Meshkov c826c976af Merge branch 'service-options' of git://github.com/dsheets/AdGuardHome into dsheets-service-options 2020-09-08 15:27:10 +03:00
Andrey Meshkov 22d0341a4c Merge branch 'dsheets-auth-gosec-rand-ignore' 2020-09-08 15:25:09 +03:00
Andrey Meshkov 3c2481f91d Merge branch 'auth-gosec-rand-ignore' of git://github.com/dsheets/AdGuardHome into dsheets-auth-gosec-rand-ignore 2020-09-08 15:24:38 +03:00
ArtemBaskal c588b89197 Merge branch '2049-doq' into feature/2049 2020-09-08 14:16:43 +03:00
Artem Baskal b04e12e189 + client: Display upstreams list loaded from a file
Squashed commit of the following:

commit b5abc9115806f345c8d0dd5ea00b8552d27813f9
Merge: 92708411 c1c8abdd
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 7 14:38:06 2020 +0300

    Merge branch '1680-upstreams-file' into feature/1680

commit 92708411f07638c037e049ee8012d15bdeda77e4
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 4 13:54:24 2020 +0300

    + client: Display upstreams list loaded from a file
2020-09-08 14:06:19 +03:00
Artem Baskal c5ca2e60c6 - client: Count client requests correctly
Close #2037

Squashed commit of the following:

commit f19b5f5919ab0c9c31e03728a0def04f02b8d7db
Merge: b51cf160 06594bde
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 8 13:18:39 2020 +0300

    Merge branch 'master' into fix/2037

commit b51cf16008f516bfeed6d8212d27902514d3251c
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Fri Sep 4 18:06:17 2020 +0300

    - client: Count client requests correctly
2020-09-08 14:05:26 +03:00
Artem Baskal 366fdab605 + client: Add REFUSED DNS error code as the default blocking method
* commit '12ed67ab1154138c0008f18b6fb7ac8a17f43860':
  + client: Add REFUSED DNS error code as the default blocking method
2020-09-08 14:04:28 +03:00
Andrey Meshkov 2c12d5f860 Improve the clients/find API response 2020-09-08 13:56:45 +03:00
Andrey Meshkov 49a5bab267 Merge branch 'master' into 1920-client-find 2020-09-08 13:36:10 +03:00
Artem Baskal 06594bde8f - client: Add link to 'update_failed' error toast
Close #2062

Squashed commit of the following:

commit a1a1d4fe74dd414f83477d972bc07062e2c890ab
Merge: 9535e109 84938c56
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Tue Sep 8 10:21:47 2020 +0300

    Merge branch 'master' into fix/2062

commit 9535e10934c57c2592df234a030bad183c0086cd
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 7 13:59:57 2020 +0300

    Fix translation

commit e6f912d1d2793fd008c22b4418681abcc54896d0
Author: ArtemBaskal <a.baskal@adguard.com>
Date:   Mon Sep 7 12:03:45 2020 +0300

    - client: Add link to 'update_failed' error toast
2020-09-08 13:18:19 +03:00
Artem Baskal 84938c5603 - client: Fix whois cell styles
Close #2069

* commit '15a82233f3dc8b5307e3edef2214f98ab408de64':
  - client: Fix whois cell styles
2020-09-08 10:20:59 +03:00
ArtemBaskal 9f3c27c03a Change link and translation 2020-09-08 10:17:39 +03:00
ArtemBaskal 458d9f49cb Merge branch 'master' into 1920-client-find 2020-09-07 16:13:42 +03:00
ArtemBaskal c1c8abdd0f Merge branch 'master' into 1680-upstreams-file 2020-09-07 14:33:36 +03:00
ArtemBaskal 71213bcbf3 Merge branch 'master' into 2049-doq 2020-09-07 14:32:42 +03:00
ArtemBaskal 4d1666eff1 Resolve conflict 2020-09-07 13:52:23 +03:00
ArtemBaskal 14bc5297ac + client: Add experimental DNS-over-QUIC support 2020-09-07 13:50:03 +03:00
ArtemBaskal 12ed67ab11 + client: Add REFUSED DNS error code as the default blocking method 2020-09-07 12:38:35 +03:00
David Sheets 90ef204d04 service: installation and running of AGH as a service with CLI args 2020-09-07 10:26:40 +01:00