ssldump 安裝問題解決

2021-06-16 19:48:14 字數 1852 閱讀 9612

依次執行:

wget  ssldump-0.9b3.tar.gz

tar zxvf ssldump/ssldump-0.9b3.tar.gz

cd ssldump-0.9b3

../configure

make

make install

安裝時遇到諸多問題

1.問題一

./base/pcap-snoop.c:52:21: net/bpf.h: no such file or directory

./base/pcap-snoop.c: in function `main\':

./base/pcap-snoop.c:207: warning: passing arg 2 of `signal\' from incompatible pointer type

./base/pcap-snoop.c:329: warning: passing arg 3 of `pcap_loop\' from incompatible pointer type

make: *** [pcap-snoop.o] error 1

原因:該軟體依賴libpcap包,但是libpcap包中沒有bpf.h 而是pcap-bpf.h ,將pcap-bpf.h 拷貝到/usr/include/net下改名bpf.h,問題解決

2.問題二:找不到md5之類的變數和巨集定義

-i/usr/include -i/usr/local/include  

./ssl/ssldecode.c: in function ¡®ssl3_generate_export_iv¡¯:

./ssl/ssldecode.c:673: error: ¡®md5_ctx¡¯ undeclared (first use in this function)

./ssl/ssldecode.c:673: error: (each undeclared identifier is reported only once

./ssl/ssldecode.c:673: error: expected ¡®;¡¯ before ¡®md5¡¯

./ssl/ssldecode.c:676: error: ¡®md5¡¯ undeclared (first use in this function)

./ssl/ssldecode.c: in function ¡®ssl3_prf¡¯:

./ssl/ssldecode.c:694: error: ¡®md5_ctx¡¯ undeclared (first use in this function)

./ssl/ssldecode.c:694: error: expected ¡®;¡¯ before ¡®md5¡¯

./ssl/ssldecode.c:707: error: ¡®md5¡¯ undeclared (first use in this function)

./ssl/ssldecode.c: in function ¡®ssl_generate_keying_material¡¯:

./ssl/ssldecode.c:850: error: ¡®md5_ctx¡¯ undeclared (first use in this function)

解決辦法,

modify "ssl/ssldecode.c" and add the following line just below #ifdef openssl:

#include

3. error: couldn't create network handler

ssldump 與openssl 相容問題性問題

homebrew安裝問題解決

要安裝homebrew通常使用官方的安裝命令 usr bin ruby e curl fssl 但使用後,會出現 xcode select error command line tools are already installed,use software update to install up...

RobotFramework安裝問題解決

在安裝了ride後,並不能正常開啟操作介面,於是在python shell中輸入命令 import wx 正常,可引入 from robotide import main,不正常,結果顯示需要安裝wxpython 2.18.12 unicode版本,於是把上面的wxpython換了。後來成功開啟了r...

cuda tensorflow安裝問題解決方法記錄

loaded runtime cudnn library 7104 compatibility version 7100 but source 解決辦法 使用cudnn 9.0 windows7 x64 v7 cudnn v7.0.5 dec 5,2017 for cuda 9.0 import t...