- Deploy HPECP with this project using:
install_with_ssl = falseinetc/bluedata_infra.tfvars - Install Wireshark
- Bind Wireshark
- Install
tcpdumpon the controller
./generated/ssh_controller.sh sudo yum install -y tcpdump
- Run
tcpdumpand pipe output over ssh to wireshark:
# MAC OSX
./generated/ssh_controller.sh sudo tcpdump -i lo -U -s0 -w - 'port 8080' | sudo /Applications/Wireshark.app/Contents/MacOS/Wireshark -k -i -
-
Make API call.
-
Filter wireshark, e.g.
httphttp.request.method == "POST" or http.request.method == "GET"http.request.uri == "/api/v1/user"http.request.uri matches "k8skubeconfig"
-
Right click stream, and select follow HTTP Stream