Skip to main content
Version: latest

Gadget snisnoop

The snisnoop gadget retrieves Server Name Indication (SNI) from TLS requests.

Example CR

apiVersion: gadget.kinvolk.io/v1alpha1
kind: Trace
metadata:
name: snisnoop
namespace: gadget
spec:
node: minikube
gadget: snisnoop
filter:
namespace: default
runMode: Manual
outputMode: Stream

Operations

start

Start snisnoop

$ kubectl annotate -n gadget trace/snisnoop \
gadget.kinvolk.io/operation=start

stop

Stop snisnoop

$ kubectl annotate -n gadget trace/snisnoop \
gadget.kinvolk.io/operation=stop

Output Modes

  • Stream