LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2010, 06:10 PM   #1
kususe
Member
 
Registered: Oct 2010
Posts: 54

Rep: Reputation: 0
Hosts list empty


My Host Lists of Ettercap is empty when I try to sniff my Lan.
I modified /etc/etter.con, obtaining this:

Code:
# 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"
and the error is this:

Code:
iptables v1.4.6: can't initialize iptables table `nat': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
I lunch ettercap as root.

Sugegstions?
 
Old 11-29-2010, 11:14 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What is your ec_uid set to in etter.conf? If it's not root, ettercap drops privileges to that uid.
 
Old 11-30-2010, 05:31 PM   #3
kususe
Member
 
Registered: Oct 2010
Posts: 54

Original Poster
Rep: Reputation: 0
I have set "ec_uid" y "ec_gid" to 0.
But hosts list is empty.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Action list for attachments in Thunderbird is empty integrale16 Slackware 1 11-18-2009 04:27 AM
Network Settings: Empty device list brumela Linux - Networking 0 09-02-2007 04:45 AM
vsftpd login only diplays empty list michaeltweak SUSE / openSUSE 1 02-18-2007 04:34 PM
hosts.deny - empty client? atanvarno Linux - Security 4 09-08-2006 04:55 AM
FC3 install left /etc/hosts empty (??) km4hr Fedora - Installation 1 02-02-2005 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration