How to install sipp in linux?
1. Download the stable linux verison from the sipp source web.
Example: I downloaded "sipp-3.3.tar.gz" file and copied it to the ROOT folder of my linux machine.
2. Execute command "gunzip sipp-XXX.tar.gz" command, here i used command 'gunzip sipp-3.3.tar.gz'
3. Then execute command 'tar -xvf sipp-xxx.tar' command, here i used command 'tar -xvf sipp.3.3.tar' to extrac the sipp tar file.
4. The folder sipp.xxx contains all th extracted files and available in the same location. Go to the folder 'cd sipp-xxx'
5. Now execute the command 'make' - Just executig 'make' command without any extensions means we are using SIPP without TLS and Authentication support.
a) Execute command 'make ossl' for TLS & Authentication support.
b) Execute command 'make pcapplay' for PCAP Play & No authentication support.
c) Execute command 'make pcapplay_ossl' for PCAP Play & Authentication support.
Oh no !!! I had faced above error while executing 'make' command
6. I had executed the command 'yum install ncurses-dlevel ncurses' to install ncurses package (Note:- Linux machine should be connected with internet for yum update )
7. I've executed the 'make' command again to complete the sipp installation.
while executing the bellow command observed that pcap.h header file missing.
ReplyDelete[root@scrum2-sys-nano sipp-3.3]# make pcapplay
make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` OBJ_PCAPPLAY="send_packets.o prepare_pcap.o" PCAPPLAY_LIBS="-lpcap" PCAPPLAY="-DPCAPPLAY" sipp
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
make[1]: Entering directory `/root/sipp-3.3'
gcc -D__LINUX -pthread -DSVN_VERSION="\"\"" -DPCAPPLAY -I. -I/usr/include/openssl -c -o send_packets.o send_packets.c
send_packets.c:44:18: error: pcap.h: No such file or directory
send_packets.c: In function ‘send_packets_cleanup’:
send_packets.c:118: warning: cast from pointer to integer of different size
send_packets.c: In function ‘send_packets’:
send_packets.c:187: warning: cast to pointer from integer of different size
make[1]: *** [send_packets.o] Error 1
make[1]: Leaving directory `/root/sipp-3.3'
make: *** [pcapplay] Error 2