mirror of
https://github.com/Monadical-SAS/network-filter.git
synced 2025-12-20 04:09:06 +00:00
fix: ensure only ipv4 is supported, ipv6 support will come later
This commit is contained in:
@@ -114,7 +114,7 @@ docker run --rm --network "container:net-filter" alpine ping -c 3 google.com
|
||||
|
||||
## Limitations
|
||||
|
||||
- Only supports IPv4 addresses
|
||||
- **IPv4 only**: Currently only supports IPv4 addresses. IPv6 traffic is blocked and AAAA DNS records are filtered out
|
||||
- Requires periodic refresh to handle DNS changes
|
||||
- All containers sharing the network namespace share the same restrictions
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ no-hosts
|
||||
no-resolv
|
||||
no-poll
|
||||
log-queries
|
||||
filter-AAAA
|
||||
$(if [[ -n "$ALLOWED_DOMAINS" ]]; then
|
||||
IFS=',' read -ra DOMAINS <<< "$ALLOWED_DOMAINS"
|
||||
for domain in "${DOMAINS[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user