-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WireGuard on Antrea implementation #2243
Labels
kind/design
Categorizes issue or PR as related to design.
Comments
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 23, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 24, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 25, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 25, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 25, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 25, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 25, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 28, 2021
of antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 29, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 30, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 30, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 30, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jun 30, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 2, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 2, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 2, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 7, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 7, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 7, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 7, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 8, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 12, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Jul 22, 2021
This PR implements antrea-io#2243. Currently WireGuard only support with antrea encap mode. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 24, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 24, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 25, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 26, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 27, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 27, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 27, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
xliuxu
added a commit
to xliuxu/antrea
that referenced
this issue
Aug 27, 2021
This PR implements antrea-io#2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
tnqn
pushed a commit
that referenced
this issue
Aug 27, 2021
This PR implements #2243. Change tunnel traffic encryption option to enum type. The options contains none (default), ipsec and wireguard. Signed-off-by: Xu Liu <[email protected]>
Thank you @tnqn! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe what you are trying to solve
This proposal summarizes the first version of WireGuard on Antrea. Refer to #2204 for the proposal.
In the first version, we want to implement WireGuard on default encap mode as existing features such as EgressPolicy will not be affected.
Describe how your solution impacts user flows
Users can enable WireGuard in configmap by setting
enableWireGuard: true
to enable WireGuard encryption.Describe the main design/architecture of your solution
Control Plane
antrea-init
antrea-init should be able to load WireGuard kernel module and save the status.
antrea-agent
Node controller should check whether WireGuard is enabled in configmap. If yes the following steps should take place.
rp_filter
to 2Data plane
On the Node, antrea-agent will realize whether WireGuard is enabled and mark packets accordingly.
Routing change:
Add a new routing table to handle packets with the specific pkt_mark. The default route should be the WireGuard tunnel.
e.g.
Work breakdown
Alternative solutions that you considered
N/A
Test plan
Add E2E tests to verify all features when WireGuard is enabled. We can use user-space implementation of WireGuard to run tests in kind clusters.
Additional context
Any other relevant information.
The text was updated successfully, but these errors were encountered: