Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL: NDP poisoning failed to start #1182

Closed
marcoroda opened this issue Apr 28, 2022 · 0 comments
Closed

FATAL: NDP poisoning failed to start #1182

marcoroda opened this issue Apr 28, 2022 · 0 comments

Comments

@marcoroda
Copy link

marcoroda commented Apr 28, 2022

Hello,

I am using ettercap on a dual stack spoofing environment and while testing only NDP spoofing I faced the following issue:
Note: This issue is not present when in ettercap GUI mode.

How to reproduce:

Run ettercap as follwoing:

ettercap -i <network_interface> -T -o -z -j /tmp/fork_ettercap_network.txt -M ndp /// //<IPv6_HomeRouter_LinkLocal>/

My target list file for testing:
Just have the home router IPv4 and IPv6 gateways and my Phone's IPv4.

192.168.88.1 **:B2:DC:5B:**:06 -
192.168.88.62 **:A2:EA:92:**:96 -
fe80::****:eaff:fe92:**** **:A2:EA:92:**:96 -

Then I get:

Loading hosts list from file /tmp/fork_ettercap_network.txt
3 hosts added to the hosts list...

FATAL: NDP poisoning failed to start

This happens because, if I am not mistaken, when using ettercap from the command line and explicitly providing a hostfile, the if located in line 94 of src/mitm/ec_ip6nd_poison.c is not testing for when we provide a hostfile like ec_arp_poisoning.c is.

I managed to fix it and would be glad to create a PR to fix this. ;)

Thanks for the project, keep up the good work.
Marco Roda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants