Pull request 1828: AG-21377-default-safe-search
Merge in DNS/adguard-home from AG-21377-default-safe-search to master Squashed commit of the following: commit 35c66b97c787d02fe6f2ffb6902dcd9b6f9b9569 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Thu Apr 13 20:05:13 2023 +0300 home: fix default safe search svcs
This commit is contained in:
parent
c6d4f2317e
commit
7631ca4ab3
|
@ -25,6 +25,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- All Safe Search services being unchecked by default.
|
||||||
- Panic when a DNSCrypt stamp is invalid ([#5721]).
|
- Panic when a DNSCrypt stamp is invalid ([#5721]).
|
||||||
|
|
||||||
[#5721]: https://github.com/AdguardTeam/AdGuardHome/issues/5721
|
[#5721]: https://github.com/AdguardTeam/AdGuardHome/issues/5721
|
||||||
|
|
|
@ -296,12 +296,26 @@ var config = &configuration{
|
||||||
MaxGoroutines: 300,
|
MaxGoroutines: 300,
|
||||||
},
|
},
|
||||||
DnsfilterConf: &filtering.Config{
|
DnsfilterConf: &filtering.Config{
|
||||||
SafeBrowsingCacheSize: 1 * 1024 * 1024,
|
|
||||||
SafeSearchCacheSize: 1 * 1024 * 1024,
|
|
||||||
ParentalCacheSize: 1 * 1024 * 1024,
|
|
||||||
CacheTime: 30,
|
|
||||||
FilteringEnabled: true,
|
FilteringEnabled: true,
|
||||||
FiltersUpdateIntervalHours: 24,
|
FiltersUpdateIntervalHours: 24,
|
||||||
|
|
||||||
|
ParentalEnabled: false,
|
||||||
|
SafeBrowsingEnabled: false,
|
||||||
|
|
||||||
|
SafeBrowsingCacheSize: 1 * 1024 * 1024,
|
||||||
|
SafeSearchCacheSize: 1 * 1024 * 1024,
|
||||||
|
ParentalCacheSize: 1 * 1024 * 1024,
|
||||||
|
CacheTime: 30,
|
||||||
|
|
||||||
|
SafeSearchConf: filtering.SafeSearchConfig{
|
||||||
|
Enabled: false,
|
||||||
|
Bing: true,
|
||||||
|
DuckDuckGo: true,
|
||||||
|
Google: true,
|
||||||
|
Pixabay: true,
|
||||||
|
Yandex: true,
|
||||||
|
YouTube: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
UpstreamTimeout: timeutil.Duration{Duration: dnsforward.DefaultTimeout},
|
UpstreamTimeout: timeutil.Duration{Duration: dnsforward.DefaultTimeout},
|
||||||
UsePrivateRDNS: true,
|
UsePrivateRDNS: true,
|
||||||
|
|
Loading…
Reference in New Issue