[Termux] ettercap error etter.conf

Hey guys! I'm having a hard time figuring out what's wrong with my etter.dns configuration.

I have root on my phone

I installed ettercap like this: pkg install tur-repo , and I had to add the ip6tables rules to etter.dns because they didn't exist

ip6tables rules :

(line 176) redir6_command_on = "ip6tables -t nat -A PREROUTING -i %iface -p tcp -d %destination --dport %port -j REDIRECT --to-port %rport"

redir6_command_off = "ip6tables -t nat -D PREROUTING -i %iface -p tcp -d %destination --dport %port -j REDIRECT --to-port %rport"

Error using ip6tables rules :

Invalid entry in etter.conf line 176

Error without ip6tables rules :

ettercap 0.8.3.1 copyright 2001-2020 Ettercap Development Team

WARNING: [/home/builder/.termux-build/ettercap/src/src/os/ec_linux.c:disable_interface_offload:281]

cannot disable offload on wlan0, do you have ethtool installed?

WARNING: [/home/builder/.termux-build/ettercap/src/src/ec_redirect.c:ec_redirect:258]

Cannot setup redirect (command: sh), please edit your etter.conf file and put a valid value in redir_command_on|redir_command_off field

FATAL: Can't insert firewall redirects

Thanks for your help!

submitted by /u/-xaxaxa-
[link] [comments]

from hacking: security in practice https://ift.tt/aHeoPJn

Comments