Skip to content
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

Vxlan - No encryption issue #3259

Open
apoprassas94 opened this issue Jan 7, 2025 · 1 comment
Open

Vxlan - No encryption issue #3259

apoprassas94 opened this issue Jan 7, 2025 · 1 comment
Labels

Comments

@apoprassas94
Copy link

I have 3 nodes topology.

One node is the submariner broker, while the rest two are the gateways.

I deployed both the broker and the join process for the gateways via helm package manager.

I used VXLAN option for the cable driver.

According to the submariner Docs, I am waiting to see unencrypted traffic between the two gateway nodes. However, using tcpdump and wireshark I see encryption with IPSEC.

The command that was used for the deployment of the broker is:

helm install "${BROKER_NS}" submariner-latest/submariner-k8s-broker --create-namespace --namespace "${BROKER_NS}"

while for the join of gateways to the broker:

helm --kubeconfig=$kubeconfig_path install submariner-operator submariner-latest/submariner-operator
--create-namespace
--namespace "${SUBMARINER_NS}"
--set ipsec.psk="${SUBMARINER_PSK}"
--set broker.server="${SUBMARINER_BROKER_URL}"
--set broker.token="${SUBMARINER_BROKER_TOKEN}"
--set broker.namespace="${BROKER_NS}"
--set broker.ca="${SUBMARINER_BROKER_CA}"
--set submariner.cableDriver=vxlan
--set submariner.clusterId="${CLUSTER_ID}"
--set submariner.clusterCidr="${CLUSTER_CIDR}"
--set submariner.serviceCidr="${SERVICE_CIDR}"
--set submariner.globalCidr="${GLOBAL_CIDR}"
--set serviceAccounts.globalnet.create="${GLOBALNET}"
--set submariner.natEnabled="false"
--set crd.create=true
--set submariner.serviceDiscovery=true
--set serviceAccounts.lighthouse.create=true

Does the submariner supports unencrypted traffic?

@yboaron
Copy link
Contributor

yboaron commented Jan 9, 2025

Hi @apoprassas94 ,
Submariner uses UDP port 4500 for inter-cluster VxLAN traffic ,

Can you try updating Wireshark decoding configuration to decode UDP port 4500 as VxLAN and see if that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants