Monkey.org Developments
Honeyd Discussion Forums :: View topic - Segmentation fault

Support Honeyd

Search:
Keywords:

Search Amazon
Honeyd Discussion Forums
Everything relating to Honeyd
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Segmentation fault

 
Post new topic   Reply to topic    Honeyd Discussion Forums Forum Index -> General
View previous topic :: View next topic  
Author Message
kashyap



Joined: 20 Nov 2007
Posts: 1

PostPosted: Wed Jan 09, 2008 9:56 pm    Post subject: Segmentation fault Reply with quote

Hi people,
Ive searched the forum but havent been able to find a solution to the segmentation fault problem when using honeyd-1.5c.
my conf file is somewhat similar to the paper here
http://www.paladion.net/pdf/simulating_networks_with_honeyd.pdf
Ive setup only one physical machine on the virutal network by the command -

bind 10.1.1.53 to eth1

This results in honeyd dying on pinging it, throwing a segmentation fault.
Please help!
Cheers
Kashyap
Back to top
View user's profile Send private message
guillaume.prigent



Joined: 29 Jan 2008
Posts: 5

PostPosted: Tue Jan 29, 2008 1:18 pm    Post subject: honeyd.c line 2937 Reply with quote

I found something strange in the honeyd_input() function into honeyd.c.
With lot of printf and gdb i have found that in some cases, the call of honeyd_delay_packet() function is possibly wrong !

You have to replace the honeyd.c line 2937 :

honeyd_delay_packet(NULL, ip, iplen, NULL, NULL, delay, flags, no_spoof);
by this one :
honeyd_delay_packet(tmpl, ip, iplen, NULL, NULL, delay, flags, no_spoof);

Recompile honeyd and segmentation fault disappear with dev binding.
But be careful, maybe it could introduce some side effects !

--
MinoS is not only Security but MinoS is not only Simulation[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Honeyd Discussion Forums Forum Index -> General All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.9 © 2001, 2002 phpBB Group