-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IPv6 support for traffic stealing (#2976)
* E2E IPv6 steal test * e2e ipv6 service * Local E2E IPv6 testing * No ephemeral, need to delete or uncomment later * For local testing. DROP * add ipv6 flag * allow IPv6 in socket if enabled in config * enable ipv6 in test config * don't change CONTRIBUTING.md formatting * Use IpAddr instad of Ipv4Addr for pod IPs * E2E test with portforwarding * fix tests import * move ipv6 config up to network * Propagate ipv6 setting to an agent arg * fallback agent listener * stealer, iptables - start * add ipv6 listener and iptables, still need to adapt more places * iptable listeners * use filter table for ipv6 * oh no * Revert "oh no" This reverts commit 8fa0954. * try with flush connections * use input chain for IPv6 * fix dumb bug (ip6tables command switch) * add debug logs * add debug logs * revert some stuff * use nat table in ip6tables * ipv6 manual test app * fix test request * fix doc? * thanks clippy * ignore ipv6 test * fix config test * cfg test for ipv6 utils * easy way out * fix tests utils * ipv6 support default to false * fix iptables tests * remove unused methods * fix policies test * update schema * run medschool * fix kube UT * use test image agent * changelog * use published test image again * TODOs * add ipv6 test to CI * add kind cluster config for IPv6 * fix cluster config * CI IPv6 job name * patch kind config to fix fail * use kind bash script * fix cargo test command * agent logs? * maybe with a longer TTL I'll get some logs? * print intproxy logs on failure * show nodes on failure * modprobe? * exec modprobe as command * which modprobe * docker file install kmod * modprobe ip6_tables * load 3 modules * unused vars * undo modprobes * protocol cargo * don't test ipv6 on CI * delete kind cluster creation script, since not testing in CI * CR * apply change to new policy test
- Loading branch information
Showing
37 changed files
with
838 additions
and
187 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Support for stealing incoming connections that are over IPv6. |
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
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
Oops, something went wrong.