mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-15 02:35:53 +01:00
Temporarily parse [tls_client_auth] for backward compatibility
Document the change. Fixes #1355
This commit is contained in:
parent
d7f16f6be4
commit
5416891056
@ -26,6 +26,8 @@ require it any more.
|
||||
- Service installation is now supported on FreeBSD.
|
||||
- When stored into a file, service logs now only contain data from the most
|
||||
recent launch. This can be changed with the new `log_file_latest` option.
|
||||
- Breaking change: the `tls_client_auth` section was renamed to
|
||||
`doh_client_x509_auth`.
|
||||
|
||||
* Version 2.0.42
|
||||
- The current versions of the `dnsdist` load balancer (presumably used
|
||||
|
@ -95,6 +95,7 @@ type Config struct {
|
||||
QueryMeta []string `toml:"query_meta"`
|
||||
AnonymizedDNS AnonymizedDNSConfig `toml:"anonymized_dns"`
|
||||
DoHClientX509Auth DoHClientX509AuthConfig `toml:"doh_client_x509_auth"`
|
||||
DoHClientX509AuthLegacy DoHClientX509AuthConfig `toml:"tls_client_auth"`
|
||||
DNS64 DNS64Config `toml:"dns64"`
|
||||
}
|
||||
|
||||
@ -510,6 +511,9 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
|
||||
}
|
||||
proxy.skipAnonIncompatbibleResolvers = config.AnonymizedDNS.SkipIncompatible
|
||||
|
||||
if config.DoHClientX509AuthLegacy.Creds != nil {
|
||||
dlog.Fatal("[tls_client_auth] has been renamed to [doh_client_x509_auth] - Update your config file.")
|
||||
}
|
||||
configClientCreds := config.DoHClientX509Auth.Creds
|
||||
creds := make(map[string]DOHClientCreds)
|
||||
for _, configClientCred := range configClientCreds {
|
||||
|
Loading…
Reference in New Issue
Block a user