File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,16 @@ jpackage --name https-proxy --input ../target/universal/stage/lib --main-jar htt
59591 . Request does not support brotli compression, would drop request header: Accept-Encoding.
60602 . Request would drop header remote-address
6161
62- ### TODO
63- 1 . [ ] Generate CA file with command.
64- 2 . [ ] Auto creates ssl certificates automatically with config.
65- 3 . [ ] use as http/https proxy.
62+
63+ ### Another way to log
64+
65+ ``` shell
66+ # ## Linux Server
67+ # ### Windows may need use tshark to replace it.
68+ ssh user@remote ' tcpdump -i any -w - -U port <port>' | wireshark -k -i -
69+
70+
71+ # ## K8S use debug to inject and run tcpdump, then k8s exec to get tcpdump output
72+ kubectl debug -it < pod-name> -n < namespace> --image=nicolaka/netshoot --target=< container-name>
73+
74+ ```
You can’t perform that action at this time.
0 commit comments