系统相关
首页 > 系统相关> > tcpdump抓包-HTTP/2

tcpdump抓包-HTTP/2

作者:互联网

kubectl cp static-tcpdump helloworld-7fb98fb75b-rzjz6:/
kubectl exec -it helloworld-7fb98fb75b-rzjz6 sh
./static-tcpdump  -i any -X tcp -s0 port 80 -w wlf1.cap &
./grpcurl -plaintext 127.0.0.1:80 list
./grpcurl -plaintext 127.0.0.1:80 list helloworld.Greeter
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.Greeter
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.HelloRequest
./grpcurl -plaintext 127.0.0.1:80 describe helloworld.HelloReply
./grpcurl -plaintext -d '{"name":"aaa"}' 127.0.0.1:80 helloworld.Greeter.SayHello
kubectl cp helloworld-7fb98fb75b-rzjz6:wlf1.cap ./wlf1.cap

标签:127.0,HTTP,0.1,helloworld,grpcurl,plaintext,80,tcpdump,抓包
来源: https://www.cnblogs.com/gdut17/p/15024426.html