rpms/ettercap/F-8 ettercap-NG-0.7.3-daemon-textmode.patch, NONE, 1.1 ettercap-NG-0.7.3-daemon-ui.patch, NONE, 1.1 ettercap-NG-0.7.3-mitm-loop.patch, NONE, 1.1 ettercap.spec, 1.9, 1.10

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Tue Jun 17 12:51:24 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/ettercap/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31775

Modified Files:
	ettercap.spec 
Added Files:
	ettercap-NG-0.7.3-daemon-textmode.patch 
	ettercap-NG-0.7.3-daemon-ui.patch 
	ettercap-NG-0.7.3-mitm-loop.patch 
Log Message:
BZ 450029, 450923.


ettercap-NG-0.7.3-daemon-textmode.patch:

--- NEW FILE ettercap-NG-0.7.3-daemon-textmode.patch ---
--- src/ec_parser.c	2008-06-12 14:49:05.000000000 -0500
+++ src/ec_parser.c	2008-06-12 14:49:05.000000000 -0500
@@ -214,7 +214,7 @@
                   
          case 'o':
                   GBL_OPTIONS->only_mitm = 1;
-                  select_text_interface();
+                  //select_text_interface();
                   break;
                   
          case 'B':
@@ -459,12 +459,12 @@
     }
      
    /* force text interface for only mitm attack */
-   if (GBL_OPTIONS->only_mitm) {
-      if (GBL_OPTIONS->mitm)
-         select_text_interface();
-      else
-         FATAL_ERROR("Only mitm requires at least one mitm method");
-   }
+   //if (GBL_OPTIONS->only_mitm) {
+   //   if (GBL_OPTIONS->mitm)
+   //      select_text_interface();
+   //   else
+   //      FATAL_ERROR("Only mitm requires at least one mitm method");
+   //}
 
    DEBUG_MSG("parse_options: options combination looks good");
    

ettercap-NG-0.7.3-daemon-ui.patch:

--- NEW FILE ettercap-NG-0.7.3-daemon-ui.patch ---
--- src/ec_ui.c	2008-06-10 14:38:10.000000000 -0500
+++ src/ec_ui.c	2008-06-10 14:38:10.000000000 -0500
@@ -336,7 +336,7 @@
    BUG_IF(ops->fatal_error == NULL);
    GBL_UI->fatal_error = ops->fatal_error;
    
-   BUG_IF(ops->input == NULL);
+   BUG_IF((ops->input == NULL)&&(ops->type != UI_DAEMONIZE));
    GBL_UI->input = ops->input;
    
    BUG_IF(ops->progress == NULL);

ettercap-NG-0.7.3-mitm-loop.patch:

--- NEW FILE ettercap-NG-0.7.3-mitm-loop.patch ---
--- src/ec_mitm.c	2008-06-16 13:21:00.000000000 -0500
+++ src/ec_mitm.c	2008-06-16 13:21:00.000000000 -0500
@@ -193,6 +193,11 @@
    mitm_start();
 
    INSTANT_USER_MSG("Activated the mitm attack only... (press 'q' to exit)\n");
+
+   if (GBL_UI->type == UI_DAEMONIZE)
+       LOOP {
+           sleep(1);
+       }
   
    /* wait for user to exit */
    while (ch != 'q' && ch != 'Q') {


Index: ettercap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ettercap/F-8/ettercap.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ettercap.spec	17 Aug 2007 13:29:50 -0000	1.9
+++ ettercap.spec	17 Jun 2008 12:50:30 -0000	1.10
@@ -1,6 +1,6 @@
 Name: ettercap
 Version: 0.7.3
-Release: 20%{?dist}
+Release: 26%{?dist}
 Summary: Network traffic sniffer/analyser, NCURSES interface version
 Group: Applications/Internet
 License: GPLv2+
@@ -10,6 +10,9 @@
 Source2: ettercap-README.fedora
 Patch0: ettercap-NG-0.7.3-UI.patch
 Patch1: ettercap-NG-0.7.3-ec_log.patch
+Patch2: ettercap-NG-0.7.3-daemon-ui.patch
+Patch3: ettercap-NG-0.7.3-daemon-textmode.patch
+Patch4: ettercap-NG-0.7.3-mitm-loop.patch
 BuildRoot: %{_tmppath}/%{name}-NG-%{version}-%{release}-root%(%{__id_u} -n)
 
 BuildRequires: desktop-file-utils
@@ -91,6 +94,9 @@
 
 %patch0 -p1
 %patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
 
 %build
 %configure --enable-gtk
@@ -184,58 +190,94 @@
 %{_datadir}/icons/hicolor/32x32/apps/ettercap.png
 
 %changelog
+* Mon Jun 16 2008 Jon Ciesla <limb at jcomserv.net> - 0.7.3-26
+- Fix for mitm CPU util bug.
+
+* Thu Jun 12 2008 Jon Ciesla <limb at jcomserv.net> - 0.7.3-25
+- Corrected -24 patch.
+
+* Thu Jun 12 2008 Jon Ciesla <limb at jcomserv.net> - 0.7.3-24
+- Patch to fix daemon mode mitm behaviour BZ 450923.
+
+* Tue Jun 10 2008 Jon Ciesla <limb at jcomserv.net> - 0.7.3-23
+- Patch to fix ui in daemon mode BZ 450029.
+
+* Fri Feb 08 2008 Jon Ciesla <limb at jcomserv.net> - 0.7.3-22
+- GCC 4.3 rebuild.
+
+* Wed Dec 05 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-21
+- Rebuild due to openssl soname bump.
+- Fixed desktop icon path.
+
 * Thu Aug 16 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-20
 - License tag correction.
 - Fixed open() in ec_log.c
+
 * Wed Mar 28 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-19
 - /usr/bin/ettercap ownership fix.
+
 * Tue Mar 27 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-18
 - Obsoletes fix.
+
 * Mon Mar 26 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-17
 - Provides/obsoletes fixes.
+
 * Mon Mar 26 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-16
 - Merged -plugins into common.
 - Fixed UI patch from Till Maas.
+
 * Sat Mar 24 2007 Manuel Wolfshant <wolfy at pcnet.ro> - 0.7.3-15
 - Unified spec for epel / FC5 / FC6; build for epel is not possible until
  libnet is made available
+
 * Fri Mar 23 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-14
 - Alternatives fix by Manuel Wolfshant.
 - Please run rpm -e ettercap ettercap-gtk --noscripts before upgrading.
 - Bump to unified FC5 compat.
+
 * Thu Mar 15 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-12
 - Added ettercap-README.fedora
 - Fixed Requires versioning.
+
 * Thu Mar 15 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-11
 - Fixed several typos, clarified a few minor things.
+
 * Thu Mar 15 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-10
 - Added doc and README.
 - Replaced symlinks with alternatives solution.
+
 * Thu Mar 15 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-9
 - Removed libtool BR.
 - Removed .la files.
 - Moved plugins to subpackage.
 - Re-added Provides to GTK package.
+
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-8
 - Added libtool-ltdl-devel BR.
 - Removed full path from desktop.
 - Dropped provides from gtk package
+
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-7
 - Fixed .desktop icon path
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-6
 - Moved to consistent buildroot.
 - Fixed BR, Rs.
+
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-5
 - Removed dupes, moved symlinks for t and c to common only
 - Moved desktop scriptlets to gtk package.
 - Moved curses man page to curses package.
+
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-4
 - Added Provides
+
 * Tue Mar 13 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-3
 - Updated BRs.
 - Split out gtk and NCURSES versions from common package.
 - Added UI patch from Till Maas, symlinks, .desktop, icon installation.
+
 * Sat Mar 10 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-2
 - Corrected Source URL.
+
 * Sat Mar 10 2007 Jon Ciesla <limb at jcomserv.net> - 0.7.3-1
 - Initial packaging.




More information about the fedora-extras-commits mailing list