forked from kumahq/kuma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(transparent-proxy): fix IPv6 iptables rules when no IPv6 DNS serv…
…ers (kumahq#10800) When the `--redirect-dns` flag is present during the execution of `kumactl install transparent-proxy`, the `/etc/resolv.conf` file is parsed to obtain DNS servers. However, when the transparent proxy is configured to include IPv6 and no valid IPv6 servers are found, incorrect iptables rules were generated. This commit fixes this when in such situation logs warning and skip IPv6 DNS traffic redirection. Signed-off-by: Bart Smykla <[email protected]>
- Loading branch information
1 parent
ddef32c
commit 7def52d
Showing
4 changed files
with
45 additions
and
17 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