代码
books
Unix-Netzwerkprogrammierung mit Threads, Sockets und SSL
Network Security with OpenSSL
The Definitive Guide to Linux Network Programming
宏定义
如果消息里出现content-type 是21:
SSL3_RT_ALERT 21
如果content type是alert,alert消息也会被加密,需要decode tls 消息看看alert是什么
怎么解密 TLS,需要使用对应的key文件才能解压,在编辑-配置选项里,找到TLS协议,添加RSA key list;
添加一行,IP地址选择any,填上 port端口,然后解压出来之后还是明文的数据,需要点右键decode as 选项相应的协议。
https://wiki.wireshark.org/TLS#Using_the_.28Pre.29-Master-Secret
https://sharkfesteurope.wireshark.org/assets/presentations16eu/07.pdf
https://packetpushers.net/using-wires