使用 tcpflow 监控 HTTPS 流量

Ift*_*han 7 networking monitoring http-logging

我想使用 tcpflow 来监控https请求。我已经阅读了有关如何监控 http 流量的教程,但是当我使用 https 连接到主机时,输出是乱码。我以下列方式使用 tcpflow:

sudo tcpflow -s -c -i eth0 src or dst host api.linkedin.com
Run Code Online (Sandbox Code Playgroud)

bah*_*mat 6

如果您有密钥的副本,则可以使用ssldump它的语法几乎与tcpdump.

它不会像 那样漂亮tcpflow,但您可以获得加密的内容。