Frank Denis
07266e4d4f
Update toml dep
2022-07-21 19:02:28 +02:00
Frank Denis
5977de660b
Add suport for DoH over HTTP/3
2022-07-21 18:50:10 +02:00
lifenjoiner
91388b148c
Optimize stopping CaptivePortalHandler - 2 ( #2155 )
...
1. Fix early return that triggers port rebinding error by 8e46f447
.
2. Reduce waiting time while there are multiple listen_addresses.
2022-07-19 12:35:52 +02:00
lifenjoiner
8e46f44799
Optimize stopping CaptivePortalHandler ( #2151 )
...
* Optimize stopping CaptivePortalHandler
* Still use unbuffered channel as we close it instead of sending a signal
2022-07-14 21:53:13 +02:00
Frank Denis
3d641b758a
Bump
2022-07-13 18:49:50 +02:00
Frank Denis
49ea894ce8
Update dependencies
2022-07-13 18:48:17 +02:00
lifenjoiner
568f54fabb
Reduce comparisons ( #2148 )
2022-07-08 14:11:51 +02:00
pc-v2
dc2fff05be
Adding flush dns to clean up previous dns cache ( #2141 )
2022-07-03 14:13:12 +02:00
Frank Denis
38e87f9a7b
Add a constant for the maximum number of attempts
2022-06-28 18:30:15 +02:00
lifenjoiner
0e2bb13254
Fix goroutines memory leak by unbuffered channel blocking ( #2136 )
...
* Use buffered channel to avoid goroutine hanging on
A send on an unbuffered channel can proceed if a receiver is ready.
* Balance captivePortalHandler.cancelChannels for Stop
2022-06-28 18:28:57 +02:00
Frank Denis
59ce17e0ab
No need to warn if this is then going to be an error
2022-06-24 15:41:05 +02:00
Frank Denis
ee5c9d67a4
Update miekg/dns
2022-06-24 15:18:33 +02:00
Frank Denis
8c43118b03
Stop mentioning "SERVFAIL" in info messages
2022-06-19 20:38:49 +02:00
ignoramous
7177a0ec74
dns64: preserve cnames in translated response ( #2129 )
...
* dns64: preserve cnames in translated response
* dns64: rename synthAAAAs to synth64
2022-06-16 00:53:50 +02:00
lifenjoiner
72a602577a
Raise error for invalid relay ( #2128 )
...
* Raise error for invalid relay
* Keep error messages the same
* Distinguish this from validation failed
2022-06-15 13:16:06 +02:00
lifenjoiner
0a0b69d93d
RUnlock for early exit ( #2127 )
2022-06-14 14:25:52 +02:00
lifenjoiner
6916c047e1
Use registeredServers slice copy during ServerInfo refreshing period ( #2125 )
...
goroutines:
proxy.updateRegisteredServers() versus proxy.serversInfo.refresh(proxy)
2022-06-13 17:51:33 +02:00
ignoramous
8d737a69f5
PluginDNS64: Use read and write mutexes as approp ( #2124 )
2022-06-12 11:27:55 +02:00
Frank Denis
866954fbad
PreferServerCipherSuites has been deprecated
2022-06-11 19:26:26 +02:00
Frank Denis
e477d0e126
We may not have a configured IP address
2022-06-11 19:23:58 +02:00
Frank Denis
e24fdd2235
Nits
2022-06-07 21:33:50 +02:00
livingentity
74fb5dabb9
fix negative rtt / shorten lines ( #2118 )
...
* fix negative rtt / shorten lines
* Update serversInfo.go
2022-05-18 17:57:57 +02:00
Frank Denis
1afd573b0d
Add builds for linux/riscv64
2022-05-18 13:31:46 +02:00
Frank Denis
c367a82ac0
Bump miekg/dns
2022-05-11 19:38:45 +02:00
dependabot[bot]
9c8c327703
Bump github/codeql-action from 1 to 2 ( #2102 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 08:20:41 -07:00
livingentity
207d44323d
Update serversInfo.go ( #2092 )
2022-04-16 21:26:38 +02:00
Frank Denis
3eac156789
Update burntSushi/toml
2022-04-05 14:05:53 +02:00
Frank Denis
5fca7ea49e
Back to VividCortex/ewma
2022-04-05 14:04:26 +02:00
Frank Denis
77dc3b1e85
Update miekg/dns
2022-04-03 23:08:29 +02:00
Frank Denis
66f019d886
Revert "regression: fix ewma warmup again ( #2079 )"
...
This reverts commit f67e9cab32
.
2022-04-03 23:01:03 +02:00
livingentity
f67e9cab32
regression: fix ewma warmup again ( #2079 )
...
* Update estimators.go
* Update go.mod
* Update modules.txt
* Update go.sum
* Update serversInfo.go
* Update estimators.go
* Update serversInfo.go
2022-04-02 17:41:36 +02:00
Frank Denis
5d023d2a7c
Revert "New feature: sleep mode"
...
This reverts commit e931b234b7
.
2022-04-02 09:33:49 +02:00
Frank Denis
e931b234b7
New feature: sleep mode
2022-03-31 20:51:34 +02:00
quindecim
ed2c880648
Add sources in [domains-blocklist.conf] ( #2039 )
...
* Remove duplicate in [domains-blocklist.conf]
__NextDNS CNAME cloaking list__ is already contained in [your big source](https://github.com/notracking/hosts-blocklists/blob/master/SOURCES.md?plain=1#L47 ). No reasons to merge it two times.
* Remove more duplicates in [domains-blocklist.conf]
* Revert previous commit
* Add anudeepND and lightswitch05 blocklists
2022-03-29 14:46:46 +02:00
Frank Denis
c467e20311
Update deps
2022-03-28 12:35:01 +02:00
Frank Denis
df3fb0c9f8
Keep lines short
...
$ golines -w -m 120 --shorten-comments .
2022-03-23 17:48:48 +01:00
Frank Denis
c0435772d4
-resolve: report ECS support
...
Note that we can't randomize the source network, as Google and
possible others refuse networks that don't get BGP announcements.
2022-03-14 17:04:54 +01:00
Frank Denis
49c17f8e98
-resolve: use TXT records to get resolver information
2022-03-14 16:11:10 +01:00
Frank Denis
0465cd35ef
miekg/dns update
2022-03-14 16:02:51 +01:00
dependabot[bot]
08420917a5
Bump actions/setup-go from 2.2.0 to 3 ( #2054 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.2.0...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 17:01:40 +01:00
livingentity
87d9653ec2
Remove unused functions ( #2057 )
...
They aren't used anywhere.
2022-03-07 17:01:18 +01:00
BigDargon
d30c44a6a8
Change bootstrap resolver Quad9 (with ECS) ( #2056 )
2022-03-02 13:18:20 +01:00
dependabot[bot]
911108149b
Bump actions/checkout from 2 to 3 ( #2055 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 10:15:29 +01:00
dependabot[bot]
a8aa4cb8e6
Bump actions/setup-go from 2.1.5 to 2.2.0 ( #2035 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.5...v2.2.0 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 14:17:33 +01:00
Frank Denis
ca076ce133
Size estimator: provide the slide size
2022-02-21 14:16:13 +01:00
Frank Denis
034d3bd424
Switch to lifenjoiner's ewma variant
2022-02-21 09:14:24 +01:00
Frank Denis
c08852feb1
Update deps; sync vendor
2022-02-21 09:00:21 +01:00
Frank Denis
9373cc7162
Use SimpleEWMA for the question size estimator
2022-02-20 23:40:32 +01:00
Frank Denis
cb140673fa
Set the number of warmup samples to 1 for the RTT estimator
2022-02-20 23:38:42 +01:00
Frank Denis
7956ba5b10
Switch to an ewma fork that allows setting the warmup samples #
2022-02-20 23:38:06 +01:00