librelist archives

« back to archive

ettercap formula problem

ettercap formula problem

From:
Marco Martins
Date:
2011-06-19 @ 12:23
Hi,


I've installed ettercap-ng using ports and everything worked fine.


Then i've moved to brew and removed all the ports stuff, including 
installed modules.


I then installed all with brew, one of these things was ettercap that now 
don't work properly when I perform a MIT attack!


i get this error all the time:
SEND L3 ERROR: 28 byte packet (0800:01) destined to xxx.xxx.xxx.xxx 
(http://xxx.xxx.xxx.xxx) was not forwarded (libnet_write_raw_ipv4(): -1 
bytes written (Invalid argument)


any idea of what can be wrong?


-- 
Marco Martins

Re: [homebrew] ettercap formula problem

From:
Max Howell
Date:
2011-06-19 @ 12:34
I don’t thing anyone here knows much about Ettercap. People who understand
Ettercap, like yourself, will have to fix it. I suggest `brew edit 
ettercap-ng` and comparing with the macports description: `brew search 
--macports ettercap`. Good luck!

On Sunday, 19 June 2011 at 13:23, Marco Martins wrote:

> 
> Hi,
> 
> 
> I've installed ettercap-ng using ports and everything worked fine.
> 
> 
> Then i've moved to brew and removed all the ports stuff, including 
installed modules.
> 
> 
> I then installed all with brew, one of these things was ettercap that 
now don't work properly when I perform a MIT attack!
> 
> 
> i get this error all the time:
> SEND L3 ERROR: 28 byte packet (0800:01) destined to xxx.xxx.xxx.xxx 
(http://xxx.xxx.xxx.xxx) was not forwarded (libnet_write_raw_ipv4(): -1 
bytes written (Invalid argument)
> 
> 
> any idea of what can be wrong?
> 
> 
> -- 
> Marco Martins
> 

Re: [homebrew] ettercap formula problem

From:
Marco Martins
Date:
2011-06-19 @ 12:39
hi thanks!

I will do my best, i'm on it since friday. But i guess that the problem is
the libnet lib... 
-- 
Marco Martins


On domingo, 19 de Junho de 2011 at 13:34, Max Howell wrote:

> I don’t thing anyone here knows much about Ettercap. People who 
understand Ettercap, like yourself, will have to fix it. I suggest `brew 
edit ettercap-ng` and comparing with the macports description: `brew 
search --macports ettercap`. Good luck!
> 
> On Sunday, 19 June 2011 at 13:23, Marco Martins wrote:
> 
> > 
> > Hi,
> > 
> > 
> > I've installed ettercap-ng using ports and everything worked fine.
> > 
> > 
> > Then i've moved to brew and removed all the ports stuff, including 
installed modules.
> > 
> > 
> > I then installed all with brew, one of these things was ettercap that 
now don't work properly when I perform a MIT attack!
> > 
> > 
> > i get this error all the time:
> > SEND L3 ERROR: 28 byte packet (0800:01) destined to xxx.xxx.xxx.xxx 
(http://xxx.xxx.xxx.xxx) was not forwarded (libnet_write_raw_ipv4(): -1 
bytes written (Invalid argument)
> > 
> > 
> > any idea of what can be wrong?
> > 
> > 
> > -- 
> > Marco Martins
> > 
> 

Re: [homebrew] ettercap formula problem

From:
Mike McQuaid
Date:
2011-06-20 @ 08:44
On 19 Jun 2011, at 13:39, Marco Martins wrote:

> I will do my best, i'm on it since friday. But i guess that the problem 
is the libnet lib...

I've little idea either but this may be to do with the fact that we don't 
install things as setuid root and Macports does sometimes. When things 
require privileged networking operations they therefore sometimes need to 
be sudo'd on Homebrew. Try that and see if it helps.
--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] ettercap formula problem

From:
Marco Martins
Date:
2011-06-20 @ 09:24
Thanks Mike,

are you suggesting that I call ettercap with sudo? (I do that always) or 
that i call the formula with sudo?

thanks
-- 
Marco Martins


On segunda-feira, 20 de Junho de 2011 at 09:44, Mike McQuaid wrote:

> 
> On 19 Jun 2011, at 13:39, Marco Martins wrote:
> 
> > I will do my best, i'm on it since friday. But i guess that the 
problem is the libnet lib...
> 
> I've little idea either but this may be to do with the fact that we 
don't install things as setuid root and Macports does sometimes. When 
things require privileged networking operations they therefore sometimes 
need to be sudo'd on Homebrew. Try that and see if it helps.
> --
> Mike McQuaid
> http://mikemcquaid.com

Re: [homebrew] ettercap formula problem

From:
Mike McQuaid
Date:
2011-06-20 @ 09:27
On 20 Jun 2011, at 10:24, Marco Martins wrote:

> are you suggesting that I call ettercap with sudo? (I do that always) or
that i call the formula with sudo?

Was suggesting ettercap with sudo. Never call Homebrew with sudo.

--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] ettercap formula problem

From:
Marco Martins
Date:
2011-06-20 @ 09:32
ettercap with sudo its always necessary otherwise he give an error

-- 
Marco Martins


On segunda-feira, 20 de Junho de 2011 at 10:27, Mike McQuaid wrote:

> 
> On 20 Jun 2011, at 10:24, Marco Martins wrote:
> 
> > are you suggesting that I call ettercap with sudo? (I do that always) 
or that i call the formula with sudo?
> 
> Was suggesting ettercap with sudo. Never call Homebrew with sudo.
> 
> --
> Mike McQuaid
> http://mikemcquaid.com