2)install the dependence packages oflibpcap: sudo apt-get install flex sudo apt-get install bison 3)install libpcap: unzip ./configure make sudo make install 4)install rpm: sudo apt-get install rpm or you may receive following message: error while loading shared libraries:libpcap.so.1: cannot open shared object file… || ||== /usr/local/lib/ 5)run the program as root, or you mayrelease: a. no suitable device found(function pcap_lookupdev()); b. You don’t have permissionto capture on that device (socket: Operation not permitted) (functionpcap_open(), pcap_open_live()). 2.
4.
下面是源代码的下载地址(注意其中的rules文件中每一行的每个“变量”之间仅以一个tab键隔开):
http://download.csdn.net/source/2514975
文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门初识Linux24720 人正在系统学习中
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!