Skip to content

Commit 8bcb092

Browse files
committed
update readme
1 parent a53aa68 commit 8bcb092

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,16 @@ jpackage --name https-proxy --input ../target/universal/stage/lib --main-jar htt
5959
1. Request does not support brotli compression, would drop request header: Accept-Encoding.
6060
2. 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+
```

0 commit comments

Comments
 (0)