hello world,
i have a probem with the latest version of ettercap. After the scan host on the interface eth0, ettercap display a error message "Oops, Segmentation fault ...".
Before with the old version, ettercap worked well.
i'm running kubuntu 12.04.
Thank you in advance
Hi thanks for your report, unfortunately ubuntu doesn't sync his ettercap with this upstream project anymore, so I can suggest you to try to build this version or maybe the ettercap_rc branch and tell us if the problem persists.
There were two problem about segfault in scan for host function and they were both fixed in recent versions.
(one was a bad cast and the other a problem about thread handling).
I'm referring to ubuntu bugs [1] and [2]
later I'll check if those patches are included in the original ettercap upstream branch.
[1] https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/588007
[2] https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/364917
Thank you, i will look the function ( scan host ) and i will inform !
But i think the problem is the new kernel (3.2...) of ubuntu 12.04. Because i use also backtrack 5R2 with the kernel 2.6 and not problem.
Confirmed, those changes are in ettercap_rc branch
http://ettercap.git.sourceforge.net/git/gitweb.cgi?p=ettercap/ettercap;a=commitdiff;h=da008b6939c143b62a5491cdbdf13b43b69df442
and
http://ettercap.git.sourceforge.net/git/gitweb.cgi?p=ettercap/ettercap;a=blob_plain;f=src/protocols/ec_tcp.c;hb=refs/heads/ettercap_rc contains the cast fix.
Anyway please download the ettercap_rc branch, build it and report here the stacktrace (you will find the readme instructions embedded in the source)
Are you running with any plugins? Have you modified the etter.conf file to set UID/GID to 0? Are you running it as root?