mxcl/homebrew — Issue #8236: Ettercap is not working with OS X 10.7  
Author: cubiic
Created: 2011-10-22 22:43:55+00:00
State: open

Dear Team,

It sounds that Ettercap is not working properly with my Lion OSX .
When you run it with Graphic mode 'sudo ettercap -G', and after trying to use "scan for hosts"
It shutdowns with the following error :

Ooops ! This shouldn't happen...
Segmentation Fault...

Please recompile in debug mode, reproduce the bug and send a bugreport

Now after googling this issue, it sounds like a patch is supposed to be applied . (https://bugs.launchpad.net/debian/+source/ettercap/+bug/364917)

- opt_end = (u_char *)((int)tcp + tcp->off * 4);
+ opt_end = (u_char *)(tcp + tcp->off * 4);

Thanks