Sipp
Sipp 설치 ( Linux - fedora9 )
Kimos
2011. 1. 18. 15:09
Sipp를 Linux에 설치 시, Pcap 및 authentication을 사용 할 것이 아니라면 sipp만 받아서 설치하시면 됩니다.
그러나 두 기능을 사용하시려면 각각 라이브러리가 설치가 되어 있어야 합니다.
1. Pcap
1.1 리눅스에서 sipp 실행시 Pcap play를 하기 위해서는 Libpcap이 sipp설치 전에 설치되어 있어야 합니다.
1.2 홈페이지
http://www.tcpdump.org
1.3 설치 확인
$> ls -l /usr/include/pcap.h
$> ls -l /usr/local/include/pcap.h
$> locate pcap.h
1.4 libpcp 파일 (libpcap-1.1.1)
http://www.tcpdump.org/release/libpcap-1.1.1.tar.gz
1.4 설치
$> tar -zxvf libpcap-1.1.1.tar.gz
$> cd libpcap-1.1.1/
$> ./configure
$> make
$> make install
2. authentication
2.1 authentication를 사용하기 위해서는 OpenSSL 라이브러리가 설치 되어있어야 합니다.
2.2 홈페이지
http://www.openssl.org/
2.3 설치 확인
$> which openssl
/usr/bin/openssl
$> locate openssl
2.3 OpenSSL 파일 (openssl-1.0.0c)
http://www.openssl.org/source/openssl-1.0.0c.tar.gz
2.4 설치
$> tar -zxvf openssl-1.0.0c.tar.gz
$> cd openssl-1.0.0c
$> ./config --prefix=/usr/local
$> make
$> make install
3. Sipp
3.1 홈페이지
http://sipp.sourceforge.net
3.2 Sipp 파일
http://sourceforge.net/projects/sipp/files/sipp/3.2/sipp.svn.tar.gz/download
3.3 설치
$> tar -zxvf sipp.svn.tar.gz
$> cd sipp.svn
$> make pcapplay_ossl
▶ Without TLS(No pcap, No authentication) : make
▶ With TLS(No pcap) : make ossl
▶ With Pcap, Without TLS(No authentication) : make pcapplay
▶ With Pcap, With TLS : make pcapplay_ossl