H: deny IPv6 link-local and metadata addresses by default Add fe80::/10, ::/128 and fd00:ec2::254/128 to the default deny_cidrs and sync config.example.toml, README and docs/consolidator.md

This commit is contained in:
ari committed 2026-10-20 16:13:25 -04:00
1 parent 6e74d3d99b
commit 97c81f899c
6 files changed
+54 -5

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ request_timeout_secs = 10 # SKYG_PEERS__REQUEST_TIMEOUT_SECS
max_response_bytes = 8388608 # SKYG_PEERS__MAX_RESPONSE_BYTES
max_concurrent_per_peer = 4 # SKYG_PEERS__MAX_CONCURRENT_PER_PEER
max_concurrent_total = 16 # SKYG_PEERS__MAX_CONCURRENT_TOTAL
deny_cidrs = ["169.254.0.0/16", "0.0.0.0/8"] # resolved peer addresses in these ranges are refused; SKYG_PEERS__DENY_CIDRS
deny_cidrs = ["169.254.0.0/16", "0.0.0.0/8", "fe80::/10", "::/128", "fd00:ec2::254/128"] # resolved peer addresses in these ranges are refused (link-local, metadata, unspecified); SKYG_PEERS__DENY_CIDRS
# [[peers.peer]]
# name = "minipc1" # ^[a-z0-9][a-z0-9_-]{0,31}$, unique, at most 64