快速业务通道

linux下安装honeyd蜜罐系统【原创】

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-07
Echo Reply: 192.168.100.100 -> 192.168.100.1

如果上面的内容还不能解决您的问题,可以与我qq联系.qq:297020555

Empire CMS,phome.net

出错:configure: error: libdnsres not found

解决办法:

wget http://www.monkey.org/~provos/libdnsres-0.1a.tar.gz

tar zxvf libdnsres-0.1a.tar.gz

cd libdnsres-0.1a

./configure ;make;make install

错误:

yacc -d ./parse.y
make: yacc: Command not found
make: *** [parse.c] Error 127

解决办法:

yum install -y byacc

编译libpcap时出错:

configure: error: Your operating system''s lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .

问题:

缺少flex包

解决办法:

yum install -y flex

出错:

make all-recursive
make[1]: Entering directory `/home/jlawre23/Desktop/honeyd-1.5c''
Making all in .
make[2]: Entering directory `/home/jlawre23/Desktop/honeyd-1.5c''
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./compat/libdnet -I./compat -I/usr/local/include -I/usr/include/pcap -I/usr/include -O2 -Wall -g -DPATH_HONEYDINCLUDE=""/usr/local/include/honeyd"" -DPATH_HONEYDDATA=""/usr/local/share/honeyd"" -DPATH_HONEYDLIB=""/usr/local/lib/honeyd"" -DHONEYD_PLUGINS_DECLARE="" -DHONEYD_PLUGINS="" -DPATH_RRDTOOL="""" -c honeyd.c

Empire CMS,phome.net

In file included from honeyd.c:97:
tagging.h:89: error: expected declaration specifiers or ‘...’ before ‘(’ token
tagging.h:89: error: expected declaration specifiers or ‘...’ before ‘(’ token
In file included from stats.h:36,
from honeyd.c:98:
./compat/sha1.h:23: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:23: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:26: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:28: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:30: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:32: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:35: warning: ‘__bounded__’ attribute directive ignored
./compat/sha1.h:35: warning: ‘__bounded__’ attribute directive ignored
make[2]: *** [honeyd.o] Error 1
make[2]: Leaving directory `/home/jlawre23/Desktop/honeyd-1.5c''
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jlawre23/Desktop/honeyd-1.5c''
make: *** [all] Error 2

解决办法:

卸掉其他版本的libevent包,安装本文提供的libevent-1.4.14b-stable.

本文出自 “netcat” 博客,请务必保留此出处http://297020555.blog.51cto.com/1396304/538183

Empire CMS,phome.net

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号