SIPp安裝和使用(Ubuntu系統(tǒng))_第1頁
SIPp安裝和使用(Ubuntu系統(tǒng))_第2頁
SIPp安裝和使用(Ubuntu系統(tǒng))_第3頁
SIPp安裝和使用(Ubuntu系統(tǒng))_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、SIPp安裝和使用(Ubuntu系統(tǒng))第一步:安裝sipp之前需要預(yù)安裝的一些文件apt-get install makeapt-get install gccapt-get install bison flexapt-get install build-essentialapt-get install libncurses-devapt-get install libssl-devapt-get install libpcap-devatp-get install opensslapt-get install sip-testerapt-get install ssh-主要是用CRT來登錄到

2、虛擬機(jī)中的SIPP第二步:官網(wǎng)下載最新版本 軟件包解壓到/home目錄下: tar -xvf sipp.svn.tar.gz 此外還sipp安裝文件自帶的一些預(yù)安裝文件gsl-1.9、openssl-0.9.8c.tar.gz、libpcap-0.9.5.tar.gz ,對(duì)這幾個(gè)進(jìn)行解壓縮 (文件在/sipp.svn/sipp-external-lib-src/目錄下) tar -xvf gsl-1.9.tar.gz tar -xvf libpcap-0.9.5.tar.gz tar -xvf openssl-0.9.8c.tar.gz第三步:sipp選用第四種安裝方法:支持PCAP 

3、;聲音文件播放,而且支持密碼驗(yàn)證支持:(支持407 auth驗(yàn)證支持)make cleanmake pcapplay_ossl第四步:.sipp/ -help (幫助信息出來,OK。安裝完畢)第五步:在sipp.svn創(chuàng)建或拷貝兩個(gè)目錄:uac和uasrootubuntu:/sipp.svn/uac# ls -ltotal 888-rwxrwxrwx 1 root root 219 2013-05-02 02:20 account.sh-rw-r-r- 1 root root 2444 2013-03-31 17:44 register.xml-rwxr-xr-x 1 root root 88

4、5162 2013-02-21 18:45 sipp-rw-r-r- 1 root root 5671 2013-04-24 23:09 uac_pcap.xml-rw-r-r- 1 root root 923 2013-05-02 02:22 users_uac.csvrootubuntu:/sipp.svn/uac#rootubuntu:/sipp.svn/uac# cd .rootubuntu:/sipp.svn# cd uasrootubuntu:/sipp.svn/uas# ls -ltotal 888-rwxrwxrwx 1 root root 251 2013-05-02 02:

5、22 account.sh-rw-r-r- 1 root root 2444 2013-03-26 23:26 register.xml-rwxrwxrwx 1 root root 885162 2013-02-21 18:45 sipp-rw-r-r- 1 root root 4195 2013-04-24 23:10 uas.xml-rw-r-r- 1 root root 843 2013-05-02 02:24 users_uas.csvrootubuntu:/sipp.svn/uas# 第六步:注冊(cè)測(cè)試 例如:在uac目錄下執(zhí)行命令 ./sipp -sf register.xml -i

6、nf users.csv -p 9050 -i -m 2 27:5060出錯(cuò)1解決:*如果出現(xiàn)如下報(bào)錯(cuò):send_packets.c:44:18: 錯(cuò)誤:pcap.h:沒那個(gè)文件或目錄make1: * send_packets.o 錯(cuò)誤 1make1: Leaving directory /usr/src/sipp.svn'make: * pcapplay_ossl 錯(cuò)誤 2 說明沒安裝庫pcap。到網(wǎng)站/release/下載libpca

7、p 庫,文件的格式為x.tar.gz。 pcap安裝:執(zhí)行命令解壓下載的libpcap庫文件,執(zhí)行命令:tar zxvf x.tat.gz   進(jìn)入剛才解壓的libpcap目錄,執(zhí)行命令:./configure生成Makefile文件   執(zhí)行命令:make install      報(bào)如下錯(cuò)誤:  gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="_attribute_(unused)" -c

8、./pcap-linux.cgcc -O2 -I. -DHAVE_CONFIG_H -D_U_="_attribute_(unused)" -c ./fad-getad.cIn file included from ./fad-getad.c:64:/usr/include/linux/if_packet.h:52: 錯(cuò)誤:expected specifier-qualifier-listbefore _u32make: * fad-getad.o 錯(cuò)誤 1     解決方法如下:編輯文件/usr/include/linux/if_packet.h,在文件的開頭處添加代碼:#include <linux/types.h>   回到libpcap目錄下重新執(zhí)行命令:make instal。沒報(bào)錯(cuò),OK,繼續(xù)*出錯(cuò)2解決:*error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory出現(xiàn)這類錯(cuò)誤表示,系統(tǒng)不知道xxx.so放在哪個(gè)目錄下,這時(shí)候就要在/etc/ld.so.conf中加入xxx.so

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論