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

/docs/tasks/security/authentication/mtls-migration/index.md #1985

Open
SataQiu opened this issue Mar 25, 2020 · 1 comment
Open

/docs/tasks/security/authentication/mtls-migration/index.md #1985

SataQiu opened this issue Mar 25, 2020 · 1 comment
Labels
lang/zh pending 待认领(新任务/有更新) priority/P0 sync/update 官方文档发生变更 version/1.6

Comments

@SataQiu
Copy link
Member

SataQiu commented Mar 25, 2020

Source File: /docs/tasks/security/authentication/mtls-migration/index.md
Diff:

 diff --git a/content/en/docs/tasks/security/authentication/mtls-migration/index.md b/content/en/docs/tasks/security/authentication/mtls-migration/index.md
index ce292353e..88f676229 100644
--- a/content/en/docs/tasks/security/authentication/mtls-migration/index.md
+++ b/content/en/docs/tasks/security/authentication/mtls-migration/index.md
@@ -106,6 +106,18 @@ command terminated with exit code 56
 sleep.legacy to httpbin.bar: 200
 {{< /text >}}
 
+If you installed Istio with `values.global.proxy.privildeged=true`, you can use `tcpdump` to verify
+traffic is encrypted or not.
+
+{{< text bash >}}
+$ kubectl exec -nfoo $(kubectl get pod -nfoo -lapp=httpbin -ojsonpath={.items..metadata.name}) -c istio-proxy -it -- sudo tcpdump dst port 80  -A
+tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
+listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
+{{< /text >}}
+
+You will see plain text and encrypted text in the output when requests are sent from `sleep.legacy` and `sleep.foo`
+respectively.
+
 If you can't migrate all your services to Istio (i.e., inject Envoy sidecar in all of them), you will need to continue to use `PERMISSIVE` mode.
 However, when configured with `PERMISSIVE` mode, no authentication or authorization checks will be performed for plaintext traffic by default.
 We recommend you use [Istio Authorization](/docs/tasks/security/authorization/authz-http/) to configure different paths with different authorization policies.
@mesher-bot mesher-bot added the welcome 新 Issue,尚未处理 label Mar 25, 2020
@SataQiu SataQiu added lang/zh sync/update 官方文档发生变更 priority/P0 pending 待认领(新任务/有更新) and removed welcome 新 Issue,尚未处理 labels Mar 25, 2020
@6boris
Copy link
Member

6boris commented May 26, 2020

/accept

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/zh pending 待认领(新任务/有更新) priority/P0 sync/update 官方文档发生变更 version/1.6
Projects
None yet
Development

No branches or pull requests

3 participants