Andrey Meshkov
d5b826e12f
*(global): upgrade dependencies, start using Go v1.14
2020-04-05 18:21:26 +03:00
Simon Zolin
c8285c41d7
Merge: + DNS: new settings cache_ttl_min, cache_ttl_max
...
Close #1214
Squashed commit of the following:
commit e445125556c9f9441c3d6936cb923db0a7e58260
Merge: c88b25ca 63923fa8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 19:12:21 2020 +0300
Merge remote-tracking branch 'origin/master' into 1214-cache-min-ttl
commit c88b25ca4b641918f32811212c2cf3b63a5bf654
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 19:02:17 2020 +0300
minor
commit ec3dc21bb211941c71adcec38796eeadb978b2b7
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 12:18:08 2020 +0300
+ DNS: new settings cache_ttl_min, cache_ttl_max
2020-03-20 19:16:55 +03:00
Simon Zolin
63923fa882
Merge: + DNS: use rules from /etc/hosts
...
- fix filtering logic: don't do DNS response check for Rewrite rules
Close #1478
Squashed commit of the following:
commit 1206b94881289ff664b7c8998ea97c1455da1ff8
Merge: c462577a 5fe98474
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 15:00:25 2020 +0300
Merge remote-tracking branch 'origin/master' into 1478-auto-records
commit c462577ad84754f5b3ea4cd58339838af817fe36
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 14:33:17 2020 +0300
minor
commit 7e824ba5f432648a976bc4b8076a645ba875ef70
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 14:29:54 2020 +0300
more tests
commit a22b62136c5cfd84cd0450897aef9e7d2e20585a
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Mar 20 14:09:52 2020 +0300
rename, move
commit 9e5ed49ad3c27c57d540edf18b78d29e56afb067
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 15:33:27 2020 +0300
fix logic - don't do DNS response check for Rewrite rules
commit 6cfabc0348a41883b8bba834626a7e8760b76bf2
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 11:35:07 2020 +0300
minor
commit 4540aed9327566078e5087d43c30f4e8bffab7b9
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 11:03:24 2020 +0300
fix
commit 9ddddf7bded812da48613cc07084e360c15ddd0e
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 10:49:13 2020 +0300
fix
commit c5f8ef745b6f2a768be8a2ab23ad80b01b0aa54f
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Mar 19 10:37:26 2020 +0300
fix
commit f4be00947bf0528c9a7cd4f09c4090db444c4694
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Mar 16 20:13:00 2020 +0300
+ auto DNS records from /etc/hosts
2020-03-20 15:05:43 +03:00
Andrey Meshkov
9d5f201ddf
*(dnsforward): added QLogFile struct
...
This struct is supposed to use an easier algorithm for scanning query
log files. The end goal is allow us scanning multiple query log files.
2020-02-18 13:02:59 +03:00
Simon Zolin
1a88a63415
Merge: - filtering: fix host rules matching
...
Close #1365
Squashed commit of the following:
commit 9cbca2d330ae12b222633201f4864abb7f7cd7a3
Merge: 8ce6b015 be93dc34
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Jan 30 19:03:21 2020 +0300
Merge remote-tracking branch 'origin/master' into 1365-hostrules
commit 8ce6b0151a2b552c4ccb3ee1f7e36ce260ba96ea
Merge: c752ab33 5c814b29
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Jan 30 18:57:20 2020 +0300
Merge remote-tracking branch 'origin/master' into 1365-hostrules
commit c752ab33b074312f10772467436a27a90339a919
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Jan 30 14:18:58 2020 +0300
use new Match()
commit ce2f628aca9f934c776c8c690813efeed5d5427b
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Jan 30 12:03:21 2020 +0300
minor
commit ebebe02a63821fedd3904db384406c30de52d515
Author: Simon Zolin <s.zolin@adguard.com>
Date: Thu Jan 30 11:21:47 2020 +0300
* dnsfilter: use new version of urlfilter's Match()
commit 84edc44f2ee5a67316114f048740825259cc87ff
Author: Simon Zolin <s.zolin@adguard.com>
Date: Fri Jan 24 14:10:41 2020 +0300
- filtering: fix host rules matching
Match by both IPv4 and IPv6 rules, not just the first one in list.
2020-01-30 19:06:09 +03:00
Simon Zolin
91c2712366
+ clients: support per-client tags
2020-01-28 14:06:52 +03:00
Simon Zolin
749dc30064
dnsproxy v0.23.7
2020-01-16 15:10:27 +03:00
Andrey Meshkov
94d86eee10
-(dnsforward): update dnsproxy to v0.23.6
2019-12-31 18:09:55 +03:00
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