rpms/ettercap/devel ettercap-NG-0.7.3-mitm-loop.patch, NONE, 1.1 ettercap.spec, 1.15, 1.16

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Mon Jun 16 19:13:57 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/ettercap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11271

Modified Files:
	ettercap.spec 
Added Files:
	ettercap-NG-0.7.3-mitm-loop.patch 
Log Message:
Fix to mitm mode CPU util. BZ 450923.


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/devel/ettercap.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ettercap.spec	12 Jun 2008 20:04:09 -0000	1.15
+++ ettercap.spec	16 Jun 2008 19:12:54 -0000	1.16
@@ -1,6 +1,6 @@
 Name: ettercap
 Version: 0.7.3
-Release: 25%{?dist}
+Release: 26%{?dist}
 Summary: Network traffic sniffer/analyser, NCURSES interface version
 Group: Applications/Internet
 License: GPLv2+
@@ -12,6 +12,7 @@
 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
@@ -95,6 +96,7 @@
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p0
 
 %build
 %configure --enable-gtk
@@ -188,6 +190,9 @@
 %{_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.
 




More information about the fedora-extras-commits mailing list