If AGH is restarted, file rotation timer is reset
which can lead to the situation when file rotation procedure is never started.
Squashed commit of the following:
commit 427ae91a512cd146ebfffad06ed24eb723cb9e7d
Merge: 067fac65 e56c746b
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 18:18:46 2020 +0300
Merge remote-tracking branch 'origin/master' into qlogs-rotate
commit 067fac65b1a87d499900f4860ffa96ed8208967c
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 15:30:48 2020 +0300
minor
commit c2059a15700e5696cb1bb5cd49129c6020d986f4
Author: Simon Zolin <s.zolin@adguard.com>
Date: Wed Sep 2 14:53:07 2020 +0300
improve
commit a279438eaf1cf40b820652093fb56d56784de7d8
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 18:49:14 2020 +0300
minor
commit 26ac130f139f565de39200e484b3bd4a04afcfcc
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 13:54:27 2020 +0300
rename
commit 0fad7b88dbeadcddd4d77536a18da72f3203ea80
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 13:05:36 2020 +0300
+ TestQLogSeek
commit fa6afc6d4dc592b1fef67c4a069ea50fae600a58
Author: Simon Zolin <s.zolin@adguard.com>
Date: Tue Sep 1 13:05:34 2020 +0300
minor
commit 11e6ab9131e5c37467e8530a2db95a82bbb0603b
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 31 19:45:47 2020 +0300
fix tests
commit 7cbb89948df0e69b1bae8f8cde1879b5b1c4b1d6
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 31 19:29:43 2020 +0300
- querylog: fix entry searching algorithm
commit 745d44863d88b321bd7001f24a68620f7ef05819
Author: Simon Zolin <s.zolin@adguard.com>
Date: Mon Aug 31 18:34:14 2020 +0300
- querylog: file rotation didn't work properly
If AGH is restarted, file rotation timer is reset
which can lead to the situation when file rotation procedure is never started.
Close#2040
* commit '06af130bb7c042d8a44720cc9423b3fc76deadee':
- DHCP: fix crash after adding static lease which replaces the dynamic one
* DHCP: don't replace the host name from static lease
When a static lease contains a host name
and client sends its own host name:
1. don't replace the host name from static lease with it
2. send option FQDN to the client in Ack response packet
#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.
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
#779
* commit '888c9d571450ca1b934d94446b4eed462207a2d2':
Get rid of extra toast when static IP is not set
Fix DHCP check when there is no V6 interface
Check interface before showing alert
+ client: Refactor DHCP settings
* upgrade yaml schema 6->7: DHCP settings
* copy dhcpv4/nclient4 package with minor enhancement
* POST /control/dhcp/find_active_dhcp: add dhcpv6 server info
- dhcp: CheckIfOtherDHCPServersPresent: fix
* GET /control/dhcp/interfaces: remove 'mtu'; add 'gateway_ip'
* GET /control/dhcp/interfaces: split IPv4 and IPv6 addresses
* dhcp: fail on startup if couldn't initialize DHCP module
+ dhcpv6 server; rewrite dhcpv4 server; changed API
#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
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
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