Bug 1276949

Summary: ettercap cannot daemonize from cli using -D. "Terminating ettercap... Unified sniffing is not running..."
Product: [Fedora] Fedora Reporter: Mark <tsimblist80>
Component: ettercapAssignee: Gwyn Ciesla <gwync>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-02 15:48:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark 2015-11-01 17:10:48 UTC
Description of problem:

ettercap will not daemonize as advertised


Version-Release number of selected component (if applicable):

Installed Packages
ettercap.x86_64                      0.8.2-1.fc21


How reproducible:
always


Steps to Reproduce:
1. "sudo ettercap -T -i br0 -M arp:remote -m etterlog /192.168.1.1// /192.168.1.206//"  #This works as advertised in interactive mode.

2. "[mds@k450 ~]$ sudo ettercap -T -D -i br0 -M arp:remote -m etterlog-D /192.168.1.1// /192.168.1.206//

ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team

Daemonizing ettercap...

[mds@k450 ~]$"   #It fails immediately after this


Actual results:


[mds@k450 ~]$ cat etterlog-D
Listening on:
   br0 -> 44:8A:5B:4A:B6:7E
	  192.168.1.98/255.255.255.0
	  fe80::468a:5bff:fe4a:b67e/64
	  2002:473e:74f0:0:468a:5bff:fe4a:b67e/64

SSL dissection needs a valid 'redir_command_on' script in the etter.conf file
Privileges dropped to EUID 65534 EGID 65534...

  33 plugins
  42 protocol dissectors
  57 ports monitored
20388 mac vendor fingerprint
1766 tcp OS fingerprint
2182 known services
Scanning for merged targets (2 hosts)...

6 hosts added to the hosts list...

Terminating ettercap...
Unified sniffing is not running...
Regained root privileges: 0 0[mds@k450 ~]$


Expected results:


[mds@k450 ~]$ cat etterlog
Listening on:
   br0 -> 44:8A:5B:4A:B6:7E
	  192.168.1.98/255.255.255.0
	  fe80::468a:5bff:fe4a:b67e/64
	  2002:473e:74f0:0:468a:5bff:fe4a:b67e/64

SSL dissection needs a valid 'redir_command_on' script in the etter.conf file
Privileges dropped to EUID 65534 EGID 65534...

  33 plugins
  42 protocol dissectors
  57 ports monitored
20388 mac vendor fingerprint
1766 tcp OS fingerprint
2182 known services

Scanning for merged targets (2 hosts)...

3 hosts added to the hosts list...

ARP poisoning victims:

 GROUP 1 : 192.168.1.1 44:94:FC:75:47:B0

 GROUP 2 : 192.168.1.206 6C:33:A9:D4:51:36
Starting Unified sniffing...



Additional info:

Was following instructions to configure sip2ncid gateway for ncid when I discovered this issue.

Comment 1 Fedora End Of Life 2015-11-04 09:59:33 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-12-02 15:49:06 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.