Install ssldump on Centos

Source: Internet
Author: User
Ssldump official website address: workshop ..

Ssldump official website address:

Http://www.rtfm.com/ssldump/

Run the following commands in sequence:

wget  http://www.rtfm.com/ssldump/ssldump-0.9b3.tar.gz  tar zxvf ssldump/ssldump-0.9b3.tar.gz  cd ssldump-0.9b3  ../configure  make  make install 

Many problems encountered during installation

1. Question 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  

Cause: The software depends on libpcap package, but libpcap package does not bpf. h but pcap-bpf.h, copy the pcap-bpf.h to/usr/include/net rename bpf. h, the problem solved


2. Question 2: variables and macro definitions such as MD5 cannot be found.

 -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: for each function it appears in.)  ./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)

Solution,


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

# Include

3. ERROR: Couldn't create network handler

Compatibility between ssldump and openssl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.