Live data from Hacker News

Kubeshark: The API Traffic Viewer for Kubernetes

github.com

11–20 of 20 posts

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#11

This is very cool and really needed, can't wait to try it out. One benefit of terminating SSL at the load balancer is that you can read the http traffic sent to your pods. But for those that have SSL terminating at their pods, it would be cool if this tool could be given the SSL certificates of the pods so it can decipher https traffic.

Just private key is not enough bc of PFS - you need to intercept key exchange to grab a temporary session key

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#12

This is very cool and really needed, can't wait to try it out. One benefit of terminating SSL at the load balancer is that you can read the http traffic sent to your pods. But for those that have SSL terminating at their pods, it would be cool if this tool could be given the SSL certificates of the pods so it can decipher https traffic.

TLS termination before the destination? Oof, are you running Cloudflare?

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#13

Kubeshark (formerly Mizu) is an observability and monitoring tool that captures all the network traffic inside a Kubernetes cluster, including ingress, egress and across containers and pods. Kubeshark can even capture and display the encrypted (TLS) traffic using various Linux kernel technologies. It supports a wide variety of application layer protocols and RPCs like gRPC, GraphQL, etc. Kubeshark is open-source and…

Can you talk about the problems it solves for your users? What are the use cases, and why would someone want to use this tool?

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#14

This is very cool and really needed, can't wait to try it out. One benefit of terminating SSL at the load balancer is that you can read the http traffic sent to your pods. But for those that have SSL terminating at their pods, it would be cool if this tool could be given the SSL certificates of the pods so it can decipher https traffic.

TLS termination before the destination? Oof, are you running Cloudflare?

Cloud Load Balancers in general have limited feature sets or don't work at all without handling TLS termination.

Terminating TLS on the LB doesn't preclude you from also using TLS or mTLS internally though.

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#16

This is very cool and really needed, can't wait to try it out. One benefit of terminating SSL at the load balancer is that you can read the http traffic sent to your pods. But for those that have SSL terminating at their pods, it would be cool if this tool could be given the SSL certificates of the pods so it can decipher https traffic.

Just private key is not enough bc of PFS - you need to intercept key exchange to grab a temporary session key

One option is to use ebpf uprobes to dump the key material or plaintext (https://github.com/ehids/ecapture ). Should be easy for c-like TLS libraries probably less useful for JIT languages.

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#17

This is very cool and really needed, can't wait to try it out. One benefit of terminating SSL at the load balancer is that you can read the http traffic sent to your pods. But for those that have SSL terminating at their pods, it would be cool if this tool could be given the SSL certificates of the pods so it can decipher https traffic.

Just private key is not enough bc of PFS - you need to intercept key exchange to grab a temporary session key

Solid point. Didn't realize that.

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#18

Kubeshark (formerly Mizu) is an observability and monitoring tool that captures all the network traffic inside a Kubernetes cluster, including ingress, egress and across containers and pods. Kubeshark can even capture and display the encrypted (TLS) traffic using various Linux kernel technologies. It supports a wide variety of application layer protocols and RPCs like gRPC, GraphQL, etc. Kubeshark is open-source and…

Can you talk about the problems it solves for your users? What are the use cases, and why would someone want to use this tool?

Traffic mapping naturally. A core pattern within Zero Trust and Cyber Security.

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#19

Earlier quoted context omitted.

Can you talk about the problems it solves for your users? What are the use cases, and why would someone want to use this tool?

Traffic mapping naturally. A core pattern within Zero Trust and Cyber Security.

What does Zero Trust have to do with traffic mapping?

Re: Kubeshark: The API Traffic Viewer for Kubernetes

#20

Earlier quoted context omitted.

Traffic mapping naturally. A core pattern within Zero Trust and Cyber Security.

What does Zero Trust have to do with traffic mapping?

Visibility and analytics is a key component of zero trust... but the comment above seems to forget that the core concept of zero trust is about any person, device, or application trying to access a network cannot be trusted until authenticated and verified... this should mean using strong identity (e.g., x509) and authentication-before-connect, not trusting or allowing network identity such as IP/DNS/ports.
Post reply on HN