Posted: Wed Jan 09, 2008 9:56 pm Post subject: Segmentation fault
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
Posted: Tue Jan 29, 2008 1:18 pm Post subject: honeyd.c line 2937
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]
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