LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-21-2010, 01:31 AM   #1
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Rep: Reputation: 0
Unhappy How to install Honeyd


Hello friends,

I am very much new to linux environment and I have a final year project of emulating services on Honeyd. I don't know how to install honeyd on Centos virtual PC. I will be very obliged if someone guide me.

I tried to install honeyd as mentioned on different websites but it is constantly giving me errors. I will be very greatful if someone help me in this regards Please Please/
 
Old 08-21-2010, 04:48 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
- Which Centos release and patch level?
- Which kernel version?
- Which installation instructions? (locations)
- Which Honeyd version and from where?
- What errors? (Post exact error messages)
 
Old 08-21-2010, 05:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Welcome to LQ. .. .. ..

The SVN version seems to compile on any Linux, with any compiler.

svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only
cd honeyd/ && autoreconf -vfi && ./configure

Required : libpcap-devel libevent-devel libdnet-devel
'libdnet-devel' is in the "Rpmforge repo"
https://rpmrepo.org/RPMforge/Using
..

Also : LQ Search → "Tag Name" = honeyd
..

Last edited by knudfl; 08-21-2010 at 05:33 AM.
 
Old 08-22-2010, 12:40 AM   #4
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your replies.

As I told you I am very much new to Linux and I don't know much about Linux and HoneyD. I read details about honeyd.
We have Centos 5.0 images in our lab and I am running it on Virtual PC.
I have no idea about these questions which you asked.
Which kernel version?
- Which installation instructions? (locations)
- Which Honeyd version and from where?
- What errors? (Post exact error messages)

What I will do is I will follow readme file of the link which KNUDFL mentioned and if i have problem i will ask you guys. Please I have 2 months for this project and I have to do it. I will be really greatful if you guys guide me. Feel free to suggest.

My project details are

.-Investigate honeypot software (Honeyd)
.-create and implement scripts for emulating wide variety of servers, hosts and hardware.
.-develop logging software which records the IP addresses of attackers.
.-develop reporting software for informing system administrators of attacks.

Please comment what are the views on this project.

I am willing to learn and trying to install honeyd but uptill now no success. Just need support and guidance. Thanks in advance.

Last edited by aliash; 08-22-2010 at 01:08 AM.
 
Old 08-22-2010, 01:09 AM   #5
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Welcome to LQ. .. .. ..

The SVN version seems to compile on any Linux, with any compiler.

svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only
cd honeyd/ && autoreconf -vfi && ./configure

Required : libpcap-devel libevent-devel libdnet-devel
'libdnet-devel' is in the "Rpmforge repo"
https://rpmrepo.org/RPMforge/Using
..

Also : LQ Search → "Tag Name" = honeyd
..
Brother,
I have to do it on Linux environment. That is our project requirement. I would be greatfull if you can share anything which can guide me how to install honeyd in Linux.
 
Old 08-22-2010, 02:55 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

cd honeyd/ && autoreconf -vfi && ./configure && make ; su ; make install



The above is all it takes.
The honeyd/ folder is inside the honeyd-read-only/ in /home/<name>/

You will of course first have to install the prerequisites :
1) su ,
2) yum install subversion libpcap-devel libevent-devel libdnet-devel
..
 
Old 08-22-2010, 05:54 AM   #7
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

cd honeyd/ && autoreconf -vfi && ./configure && make ; su ; make install



The above is all it takes.
The honeyd/ folder is inside the honeyd-read-only/ in /home/<name>/

You will of course first have to install the prerequisites :
1) su ,
2) yum install subversion libpcap-devel libevent-devel libdnet-devel
..

Hello,

I couldnt find read only file in honeyd folder.
These are the only files I can see in honeyd folder
honeyd.8
honeyd.c
honeyd.h
honeyd_overload.c
honeyd_overload.h
honeydctl.1
honeydctl.c
honeydstats.c
honeydstats.h
honeydstats_main.c

And can you confirm pre-requisite means

libevent
- libdnet
- libpcap
- libpcre

These Library files I have to Install?

I am doing my work on VMWare with Centos 5 images. Can you please guide me as a beginer. I know I sound frustrating and annoying but I am new to this and I hope these forum users can guide me with this installation.

Thanks a lot in advance. I am really sorry to sound annoying but I hope you understand my situation.

Thanks
 
Old 08-22-2010, 02:17 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Quote:
And can you confirm pre-requisite means
libevent - libdnet - libpcap - libpcre
No.

Start with this : 1) su , <your-password>
2) yum install libpcap-devel libevent-devel libdnet-devel pcre-devel

And if you haven't installed 'subversion', then : 3) yum install subversion
4) exit
5) svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

6) cd honeyd-read-only/honeyd/ : And see 126 items : 118 files + 8 folders.
7) autoreconf -vfi && ./configure && make ; su ; make install
..
Good luck ! .. .. ..

Last edited by knudfl; 08-22-2010 at 02:26 PM.
 
Old 08-23-2010, 01:49 AM   #9
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
One more dumb question but I am trying to run these commands on VMware on Centos 5.0 is it alright?

Quote:
Originally Posted by knudfl View Post
No.

Start with this : 1) su , <your-password>
2) yum install libpcap-devel libevent-devel libdnet-devel pcre-devel

And if you haven't installed 'subversion', then : 3) yum install subversion
4) exit
5) svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

6) cd honeyd-read-only/honeyd/ : And see 126 items : 118 files + 8 folders.
7) autoreconf -vfi && ./configure && make ; su ; make install
..
Good luck ! .. .. ..
 
Old 08-23-2010, 01:52 AM   #10
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Do you have any file in which there is a complete installation detail of how to install and run Honeyd on Linux ??

Quote:
Originally Posted by knudfl View Post
No.

Start with this : 1) su , <your-password>
2) yum install libpcap-devel libevent-devel libdnet-devel pcre-devel

And if you haven't installed 'subversion', then : 3) yum install subversion
4) exit
5) svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

6) cd honeyd-read-only/honeyd/ : And see 126 items : 118 files + 8 folders.
7) autoreconf -vfi && ./configure && make ; su ; make install
..
Good luck ! .. .. ..
 
Old 08-23-2010, 09:19 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Complete installation : Is described in post # 8.
What is the problem ? No internet connection ? Or ?

Honeyd can also be installed with # yum install honeyd
.. from the Rpmforge repo https://rpmrepo.org/RPMforge/Using



Using honeyd : The manual is accessed with the command 'man honeyd'
or online http://linux.die.net/man/8/honeyd

And please Google .. man honeyd .. , and: .. honeyd documentation ..
..
 
Old 08-28-2010, 06:53 AM   #12
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Dear Expert.

Thanks for your help . Today I followed step by step which you told and saw something happening. But at the end this message came.. Can you please help what is this

configure: error : dnet-config not found

Password:

I entered my admin password and it comes out to command prompt. Let me tell you also Honeyd folder is created automatically on my Virtual Desktop on which I am running centos.

Can you please guide me how to install arpd in it? and how can test honeyd?

Thanks for your help, now i feel something is going on and sorry for replying late as I was busy with my other assignments and test.
Quote:
Originally Posted by knudfl View Post
Complete installation : Is described in post # 8.
What is the problem ? No internet connection ? Or ?

Honeyd can also be installed with # yum install honeyd
.. from the Rpmforge repo https://rpmrepo.org/RPMforge/Using



Using honeyd : The manual is accessed with the command 'man honeyd'
or online http://linux.die.net/man/8/honeyd

And please Google .. man honeyd .. , and: .. honeyd documentation ..
..
 
Old 08-29-2010, 04:00 AM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
Quote:
configure: error : dnet-config not found
Which command was used, when you got that message ?

And is 'libdnet-devel' installed ? Will provide /usr/bin/dnet-config

About arpd : # yum install arpd

Using honeyd : Suggest .. Please use the 'LQ Search' and Google.
( Never used honeyd. I mostly do some software builds only.)
..
 
Old 08-29-2010, 07:14 AM   #14
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
after running this command i get error.

autoreconf -vfi && ./configure && make ; su ; make install


Quote:
Originally Posted by knudfl View Post
Which command was used, when you got that message ?

And is 'libdnet-devel' installed ? Will provide /usr/bin/dnet-config

About arpd : # yum install arpd

Using honeyd : Suggest .. Please use the 'LQ Search' and Google.
( Never used honeyd. I mostly do some software builds only.)
..
 
Old 08-29-2010, 07:31 AM   #15
aliash
LQ Newbie
 
Registered: Aug 2010
Posts: 9

Original Poster
Rep: Reputation: 0
also with installing arpd i am having issues and following error is coming.

[root@localhost ~]# yum install arpd
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: arpd
Nothing to do


Quote:
Originally Posted by knudfl View Post
Which command was used, when you got that message ?

And is 'libdnet-devel' installed ? Will provide /usr/bin/dnet-config

About arpd : # yum install arpd

Using honeyd : Suggest .. Please use the 'LQ Search' and Google.
( Never used honeyd. I mostly do some software builds only.)
..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
honeyd grumpy.biatch Linux - Newbie 6 06-27-2010 11:21 PM
honeyd problems syrushcw *BSD 3 12-02-2009 10:58 AM
Having Problems with honeyd lucky_dev36 Linux - General 1 07-22-2006 06:03 AM
Honeyd and NMAP showard Linux - Software 0 04-12-2006 01:09 PM
Need help on scripts for honeyd aikshin Linux - Security 1 12-16-2003 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration