-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request 2284: AG-32257-file-permission-mitigation
Squashed commit of the following: commit 6e0e61e Merge: e3cccc0 5b5b397 Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 20:51:29 2024 +0300 Merge branch 'master' into AG-32257-file-permission-mitigation commit e3cccc0 Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 19:57:32 2024 +0300 dnsforward: imp test commit 16ecebb Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 19:22:10 2024 +0300 configmigrate: imp tests commit da8777c Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 18:58:46 2024 +0300 all: imp types, tests commit 58822a0 Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 18:28:37 2024 +0300 all: imp chlog commit 8ce81f9 Author: Ainar Garipov <[email protected]> Date: Wed Oct 2 18:09:57 2024 +0300 all: improve permissions, add safe_fs_patterns
- Loading branch information
Showing
31 changed files
with
879 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
internal/configmigrate/testdata/TestMigrateConfig_Migrate/v29/input.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
http: | ||
address: 127.0.0.1:3000 | ||
session_ttl: 3h | ||
pprof: | ||
enabled: true | ||
port: 6060 | ||
users: | ||
- name: testuser | ||
password: testpassword | ||
dns: | ||
bind_hosts: | ||
- 127.0.0.1 | ||
port: 53 | ||
parental_sensitivity: 0 | ||
upstream_dns: | ||
- tls://1.1.1.1 | ||
- tls://1.0.0.1 | ||
- quic://8.8.8.8:784 | ||
bootstrap_dns: | ||
- 8.8.8.8:53 | ||
edns_client_subnet: | ||
enabled: true | ||
use_custom: false | ||
custom_ip: "" | ||
filtering: | ||
filtering_enabled: true | ||
parental_enabled: false | ||
safebrowsing_enabled: false | ||
safe_search: | ||
enabled: false | ||
bing: true | ||
duckduckgo: true | ||
google: true | ||
pixabay: true | ||
yandex: true | ||
youtube: true | ||
protection_enabled: true | ||
blocked_services: | ||
schedule: | ||
time_zone: Local | ||
ids: | ||
- 500px | ||
blocked_response_ttl: 10 | ||
filters: | ||
- url: https://adaway.org/hosts.txt | ||
name: AdAway | ||
enabled: false | ||
- url: FILEPATH | ||
name: Local Filter | ||
enabled: false | ||
clients: | ||
persistent: | ||
- name: localhost | ||
ids: | ||
- 127.0.0.1 | ||
- aa:aa:aa:aa:aa:aa | ||
use_global_settings: true | ||
use_global_blocked_services: true | ||
filtering_enabled: false | ||
parental_enabled: false | ||
safebrowsing_enabled: false | ||
safe_search: | ||
enabled: true | ||
bing: true | ||
duckduckgo: true | ||
google: true | ||
pixabay: true | ||
yandex: true | ||
youtube: true | ||
blocked_services: | ||
schedule: | ||
time_zone: Local | ||
ids: | ||
- 500px | ||
runtime_sources: | ||
whois: true | ||
arp: true | ||
rdns: true | ||
dhcp: true | ||
hosts: true | ||
dhcp: | ||
enabled: false | ||
interface_name: vboxnet0 | ||
local_domain_name: local | ||
dhcpv4: | ||
gateway_ip: 192.168.0.1 | ||
subnet_mask: 255.255.255.0 | ||
range_start: 192.168.0.10 | ||
range_end: 192.168.0.250 | ||
lease_duration: 1234 | ||
icmp_timeout_msec: 10 | ||
schema_version: 28 | ||
user_rules: [] | ||
querylog: | ||
enabled: true | ||
file_enabled: true | ||
interval: 720h | ||
size_memory: 1000 | ||
ignored: | ||
- '|.^' | ||
statistics: | ||
enabled: true | ||
interval: 240h | ||
ignored: | ||
- '|.^' | ||
os: | ||
group: '' | ||
rlimit_nofile: 123 | ||
user: '' | ||
log: | ||
file: "" | ||
max_backups: 0 | ||
max_size: 100 | ||
max_age: 3 | ||
compress: true | ||
local_time: false | ||
verbose: true |
Oops, something went wrong.