Protocol Support

Kubeshark supports a comprehensive range of network protocols across multiple layers, from low-level transport protocols to application-layer APIs.


Supported Protocols

HTTP & Web Protocols

ProtocolVersionDescription
HTTP/1.0RFC 1945Original HTTP protocol
HTTP/1.1RFC 2616Persistent connections, chunked transfer
HTTP/2RFC 7540Multiplexed streams, header compression
WebSocketRFC 6455Full-duplex communication over HTTP
GraphQLHTTP/1.1 & HTTP/2Query language for APIs

Messaging & Streaming

ProtocolDescription
Apache KafkaDistributed event streaming platform
AMQPAdvanced Message Queuing Protocol (RabbitMQ)
RedisIn-memory data structure store protocol

RPC & API Protocols

ProtocolDescription
gRPCHigh-performance RPC over HTTP/2

Authentication Protocols

ProtocolRFCDescription
LDAPRFC 4511Lightweight Directory Access Protocol
RADIUSRFC 2865Remote Authentication Dial-In User Service
DIAMETERRFC 6733Authentication, Authorization, and Accounting

Network & Transport Layer

ProtocolRFCDescription
TCPRFC 9293Transmission Control Protocol
UDPRFC 768User Datagram Protocol
SCTPRFC 4960Stream Control Transmission Protocol
DNSRFC 1035Domain Name System
ICMPRFC 792Internet Control Message Protocol

Security Protocols

ProtocolDescription
TLSTransport Layer Security with automatic decryption

TLS Decryption

Kubeshark can intercept TLS-encrypted traffic without requiring access to private keys.

Kubeshark hooks into runtime cryptographic libraries to capture plaintext data at the application layer before encryption or after decryption:

LibraryLanguage/Platform
OpenSSLC/C++, Python, Ruby, PHP, etc.
crypto/tlsGo applications
BoringSSLChrome, Android, etc.

Service Mesh Integration

Kubeshark integrates seamlessly with service mesh solutions, displaying mTLS-encrypted traffic in plaintext:

Learn more about TLS decryption →


How Protocol Dissection Works

Kubeshark uses advanced packet capture technologies:

  1. Capture: eBPF and AF_PACKET capture Layer 4 traffic (TCP, UDP, SCTP)
  2. Identify: Protocol identification based on port numbers and payload inspection
  3. Dissect: Protocol-specific parsing reconstructs application-layer messages
  4. Enrich: Traffic is enriched with Kubernetes context (pods, services, namespaces)

If Kubeshark cannot identify the protocol, the traffic is discarded and not displayed. Only traffic from targeted pods is captured.

Learn about capture filters →