Andrey Meshkov
4808b33c01
*(dnsfilter): update urlfilter to v0.7.2
2019-12-25 18:46:59 +03:00
Andrey Meshkov
5556e34e7e
-(dnsforward): use dnsproxy v0.23.5 - fix DO caching
2019-12-25 14:29:33 +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
Simon Zolin
8521635f63
- DNS: fix slow response to /status and /access/list requests
2019-12-17 13:09:03 +03:00
Simon Zolin
aa202277fb
Merge: * update translations
...
Close #1250
Squashed commit of the following:
commit e722a3e3b4b1049c5df22b3f11b5826992d3cc6c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 18:27:51 2019 +0300
update ru
commit 086e722a4dc1922ac7b8aff537050689900a8bd0
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 18:15:15 2019 +0300
fix cloudflare -> quad9, update es
commit 86c235936d2f86e536f45fc475f29b43eb695e3d
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 18:01:20 2019 +0300
* update es, ru, sr-cs
commit 2b6b510b998b7e7b2f4c3fa5d7af57dc5413a611
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 17:43:05 2019 +0300
* update 'no'
commit 1de6215aa90374ee147bbd0a685643232e98e4c8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 17:41:37 2019 +0300
* use dnsproxy v0.23.2
commit c545a1bf7e4e706b45b4670b804a50bf8d75bae3
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 17:36:37 2019 +0300
update ru
commit c22eec9bcfad67284e21cfc4e6b06fb63a64d25d
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Dec 12 17:22:03 2019 +0300
* update translations; add sr-cs, fa, hr
2019-12-12 18:42:51 +03:00
Simon Zolin
0a66913b4d
Merge: * use upstream servers directly for the internal DNS resolver
...
Close #1212
* Server.Start(config *ServerConfig) -> Start()
+ Server.Prepare(config *ServerConfig)
+ Server.Resolve(host string)
+ Server.Exchange()
* rDNS: use internal DNS resolver
- clients: fix race in WriteDiskConfig()
- fix race: move 'clients' object from 'configuration' to 'HomeContext'
Go race detector didn't like our 'clients' object in 'configuration'.
+ add AGH startup test
. Create a configuration file
. Start AGH instance
. Check Web server
. Check DNS server
. Wait until the filters are downloaded
. Stop and cleanup
* move module objects from config.* to Context.*
* don't call log.SetLevel() if not necessary
This helps to avoid Go race detector's warning
* ci.sh: 'make' and then run tests
Squashed commit of the following:
commit 86500c7f749307f37af4cc8c2a1066f679d0cfad
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 18:08:53 2019 +0300
minor
commit 6e6abb9dca3cd250c458bec23aa30d2250a9eb40
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 18:08:31 2019 +0300
* ci.sh: 'make' and then run tests
commit 114192eefea6800e565ba9ab238202c006516c27
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 17:50:04 2019 +0300
fix
commit d426deea7f02cdfd4c7217a38c59e51251956a0f
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 17:46:33 2019 +0300
tests
commit 7b350edf03027895b4e43dee908d0155a9b0ac9b
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:56:12 2019 +0300
fix test
commit 2f5f116873bbbfdd4bb7f82a596f9e1f5c2bcfd8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:48:56 2019 +0300
fix tests
commit 3fbdc77f9c34726e2295185279444983652d559e
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:45:00 2019 +0300
linter
commit 9da0b6965a2b6863bcd552fa83a4de2866600bb8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:33:23 2019 +0300
* config.dnsctx.whois -> Context.whois
commit c71ebdbdf6efd88c877b2f243c69d3bc00a997d7
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:31:08 2019 +0300
* don't call log.SetLevel() if not necessary
This helps to avoid Go race detector's warning
commit 0f250220133cefdcb0843a50000cb932802b8324
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 15:28:19 2019 +0300
* rdns: refactor
commit c460d8c9414940dac852e390b6c1b4d4fb38dff9
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 14:08:08 2019 +0300
Revert: * stats: serialize access to 'limit'
Use 'conf *Config' and update it atomically, as in querylog module.
(Note: Race detector still doesn't like it)
commit 488bcb884971276de0d5629384b29e22c59ee7e6
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 13:50:23 2019 +0300
* config.dnsFilter -> Context.dnsFilter
commit 86c0a6827a450414b50acec7ebfc5220d13b81e4
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 13:45:05 2019 +0300
* config.dnsServer -> Context.dnsServer
commit ee35ef095ccaabc89e3de0ef52c9b5ed56b36873
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 13:42:10 2019 +0300
* config.dhcpServer -> Context.dhcpServer
commit 1537001cd211099d5fad01696c0b806ae5d257b1
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 13:39:45 2019 +0300
* config.queryLog -> Context.queryLog
commit e5955fe4ff1ef6f41763461b37b502ea25a3d04c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Dec 10 13:03:18 2019 +0300
* config.httpsServer -> Context.httpsServer
commit 6153c10a9ac173e159d1f05e0db1512579b9203c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Dec 9 20:12:24 2019 +0300
* config.httpServer -> Context.httpServer
commit abd021fb94039015cd45c97614e8b78d4694f956
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Dec 9 20:08:05 2019 +0300
* stats: serialize access to 'limit'
commit 38c2decfd87c712100edcabe62a6d4518719cb53
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Dec 9 19:57:04 2019 +0300
* config.stats -> Context.stats
commit 6caf8965ad44db9dce9a7a5103aa8fa305ad9a06
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Dec 9 19:45:23 2019 +0300
fix Restart()
... and 6 more commits
2019-12-11 12:38:58 +03:00
Simon Zolin
8dbdf49c32
* use dnsproxy v0.22.0 and urlfilter v0.7.0
2019-12-03 20:55:45 +03:00
Simon Zolin
dc2c68b1e4
* use Go v1.13
2019-11-25 14:10:28 +03:00
Simon Zolin
7c81efcbcb
* go.mod: use bbolt from github
2019-11-20 20:14:28 +03:00
Simon Zolin
81e8bbe63c
* /control/querylog_config: support optional parameters
2019-11-20 20:12:46 +03:00
Simon Zolin
7f69848084
+ dnsfilter: use AG DNS server for SB/PC services
...
* move SS/SB/PC services to security.go
* remove old useless code (HTTP client)
2019-11-08 10:38:12 +03:00
Simon Zolin
60cc34dc96
* golibs v0.2.4, dnsproxy v0.19.6
2019-10-16 19:20:53 +03:00
Simon Zolin
887c8a905f
* golibs v0.2.3
...
fix travis build
2019-10-15 19:54:08 +03:00
Andrey Meshkov
453645b002
*(dnsfilter): update urlfilter to v0.6.1
2019-10-14 21:24:08 +03:00
Simon Zolin
37fe3c148f
* whois: use whois.arin.net
...
+ robust redirect mechanism
* decrease timeout 30sec -> 5sec
* faster response parsing
* don't use likexian/whois-go package
2019-10-09 18:03:22 +03:00
Andrey Meshkov
c020c1d0af
*(dnsfilter): upd dependencies
2019-10-02 15:37:41 +03:00
Simon Zolin
ccd9cee9df
* dnsproxy v0.19.4
2019-09-26 18:48:44 +03:00
Simon Zolin
fd592b4dc8
+ whois: add WHOIS information for a client
...
+ return WHOIS info in GET /clients response
2019-09-23 18:12:54 +03:00
Simon Zolin
6304a7b91b
+ Login page and web sessions
...
+ /control/login
+ /control/logout
2019-09-19 12:47:55 +03:00
Simon Zolin
adb422fedf
filtering: refactor; change API; add "filters_update_interval" setting
...
+ config: "filters_update_interval"
* add /control/filtering_info
* remove /control/filtering/enable
* remove /control/filtering/disable
* add /control/filtering_config
* remove /control/filtering/status
* add /control/filtering/set_url
* remove /control/filtering/enable_url
* remove /control/filtering/disable_url
2019-09-12 18:38:13 +03:00
Simon Zolin
4a58266ba3
+ statistics: store in separate file
...
+ GET /control/stats handler
2019-09-04 10:12:02 +03:00
Simon Zolin
4e8473f8a5
* use dnsproxy v0.19.1
2019-09-02 19:13:20 +03:00
Simon Zolin
31af6ae914
* use dnsproxy v0.18.4
2019-08-20 17:59:40 +03:00
Simon Zolin
c54e2585ac
* use dnsproxy v0.18.3
2019-08-19 17:02:19 +03:00
Simon Zolin
68d5d595b6
Revert "* dnsfilter: use fastcache instead of gcache"
...
This reverts commit 6f51df7d2e
.
2019-08-16 15:17:38 +03:00
Simon Zolin
0faf144853
* use dnsproxy v0.18.1
2019-08-14 18:49:27 +03:00
Andrey Meshkov
5c3dfd114c
*(global): update dependencies
2019-08-11 20:45:01 +03:00
Simon Zolin
272115724d
* use golibs v0.1.4
2019-08-06 18:55:56 +03:00
Simon Zolin
6f51df7d2e
* dnsfilter: use fastcache instead of gcache
2019-07-23 17:14:13 +03:00
Simon Zolin
bb00a63238
* use urlfilter v0.4.1
2019-07-19 15:20:42 +03:00
Simon Zolin
134d9275bb
* use urlfilter v0.4.0
...
Now we pass filtering rules to urlfilter as filer file names,
rather than the list of rule strings.
(Note: user rules are still passed as the list of rule strings).
As a result, we don't store the contents of filter files in memory.
2019-07-04 14:10:01 +03:00
Simon Zolin
86890a8609
* dnsproxy v0.15.0
2019-06-07 19:59:11 +03:00
Simon Zolin
821ad3edd9
* go.mod: update dnsproxy
2019-05-30 18:22:29 +03:00
Simon Zolin
36e273dfd5
* use urlfilter
2019-05-17 18:22:57 +03:00
Simon Zolin
cca61a33c6
+ http server: enable gzip compression for static documents
2019-04-04 16:58:31 +03:00
Aleksey Dmitrevskiy
9ea5c1abe1
+ control, dns, client: add ability to set DNS upstream per domain
2019-03-20 14:24:33 +03:00
Aleksey Dmitrevskiy
6b223e2992
* dnsfilter: extend logging
2019-03-18 14:50:33 +03:00
Simon Zolin
8fa2f48136
+ dhcp: use ICMP for IP conflict detection
...
+ 'icmp_timeout_msec' YAML config setting
2019-03-15 14:00:32 +03:00
Simon Zolin
a2e9d69452
* use golibs v0.1.1: file.SafeWrite()
2019-03-15 13:56:45 +03:00
Alexey Dmitrievskiy
7ec4aa91ea
Merge pull request #153 in DNS/adguard-dns from fix/595 to master
...
* commit '2dc2a0946a28f41736228db1065654716907c5b8':
Fix #595 - Start using GO 1.12
2019-02-28 18:05:27 +03:00
Simon Zolin
7b64f9ff42
* use dnsproxy v0.11.2
2019-02-27 18:28:09 +03:00
Simon Zolin
eb22d9cdd9
* use golibs v0.1.0
2019-02-27 17:55:23 +03:00
Simon Zolin
5cb6d97cd7
* use new logger - AdguardTeam/golibs/log
2019-02-27 15:02:11 +03:00
Aleksey Dmitrevskiy
2dc2a0946a
Fix #595 - Start using GO 1.12
2019-02-26 15:32:56 +03:00
Andrey Meshkov
84604e292b
Update dnsproxy to v0.11.1
2019-02-22 19:45:43 +03:00
Andrey Meshkov
ad4b58472f
Update dnsproxy to 0.11.0
2019-02-22 18:16:47 +03:00
Eugene Bujak
0820983d81
go.mod -- update dnsproxy to v0.9.11 and it's dependencies
2019-02-15 16:28:26 +03:00
Andrey Meshkov
b477b67428
go mod tidy
2019-02-10 21:52:29 +03:00
Andrey Meshkov
9a03190a62
Fix #579
...
1. Added --workdir command-line argument that lets configure the working dir.
2. Made "dnsforward" use this workdir parameter when saving/reading querylog.
3. Reworked "dnsforward" -- moved http handlers out of there to control.go
2019-02-10 20:47:43 +03:00
Eugene Bujak
fe671152c2
get rid of go-spew and cleanup go.mod from unused packages
2019-02-06 20:50:17 +03:00