ettercap-0.6.6.6 update

Now works on ELF archs thanks to additional patch from brad@

From CHANGES:

+ Ability to bind a port on which ettercap forwards the sniffed traffic
+ The -H option now supports range ip
+ NEW PLUGIN: lamia (become root of a switches spanning tree)
+ Updated the passive OS fingerprint database (825 records)
!! Fixed the -w options (openssl path related bug)
!! Fixed the conflicting options -Y and -a
!! Fixed the FindIface function under BSD
This commit is contained in:
mark 2002-06-17 02:21:43 +00:00
parent 894e66d349
commit 26916d7414
7 changed files with 72 additions and 18 deletions

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.15 2002/05/15 17:42:24 espie Exp $
# $OpenBSD: Makefile,v 1.16 2002/06/17 02:21:43 mark Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "multi-purpose sniffer/interceptor/logger"
VER= 0.6.5
VER= 0.6.6.6
DISTNAME= ettercap-${VER}
CATEGORIES= net
NEED_VERSION= 1.500
NEED_VERSION= 1.531
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
HOMEPAGE= http://ettercap.sourceforge.net/

View File

@ -1,3 +1,3 @@
MD5 (ettercap-0.6.5.tar.gz) = 75bdba8f9ea65ec89683c53a326ee015
RMD160 (ettercap-0.6.5.tar.gz) = f7d951c6a6ab0805d0e1238c3da8feec2ae3a540
SHA1 (ettercap-0.6.5.tar.gz) = cded40e093fe7bfec42b6c036e67a54ade1bb383
MD5 (ettercap-0.6.6.6.tar.gz) = 87ec7ad7b230e0ba89aa8b0cbc8d918e
RMD160 (ettercap-0.6.6.6.tar.gz) = 08e6d9a4de4a45a9e92214d9a96e0d5b8da4342e
SHA1 (ettercap-0.6.6.6.tar.gz) = a76cb193adb9a92f07c4999097e5ad76dfc37c28

View File

@ -1,8 +1,9 @@
--- Makefile.in~ Tue Dec 11 18:19:02 2001
+++ Makefile.in Wed Dec 12 23:17:50 2001
@@ -49,7 +49,7 @@ path:
@echo "#define DATA_PATH \"$(DATADIR)\"" > ./src/include/ec_install_path.h
@echo "#define PLUGIN_PATH \"$(PLUGDIR)\"" >> ./src/include/ec_install_path.h
$OpenBSD: patch-Makefile_in,v 1.8 2002/06/17 02:21:43 mark Exp $
--- Makefile.in.orig Fri May 17 06:48:19 2002
+++ Makefile.in Wed Jun 12 21:56:46 2002
@@ -59,7 +59,7 @@ src/include/ec_install_path.h:
@INCLUDE_DEPEND@
-install: @PROG@ strip
+install: @PROG@ strip plug-ins_install

View File

@ -1,8 +1,9 @@
--- configure~ Thu Apr 18 09:16:16 2002
+++ configure Thu May 2 20:05:50 2002
@@ -7878,13 +7878,13 @@ done
$OpenBSD: patch-configure,v 1.5 2002/06/17 02:21:43 mark Exp $
--- configure.orig Fri May 17 06:41:27 2002
+++ configure Wed Jun 12 21:56:47 2002
@@ -7754,13 +7754,13 @@ if test $check_ncurses -ne 0; then
curses_warn=0
if test $ncurses_warn -ne 1; then
-echo "$as_me:$LINENO: checking for newpad in -lncurses" >&5
-echo $ECHO_N "checking for newpad in -lncurses... $ECHO_C" >&6
@ -17,7 +18,7 @@
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -7938,7 +7938,7 @@ if test $ac_cv_lib_ncurses_newpad = yes;
@@ -7814,7 +7814,7 @@ if test $ac_cv_lib_ncurses_newpad = yes;
#define HAVE_LIBNCURSES 1
_ACEOF
@ -25,4 +26,31 @@
+ LIBS="-lcurses $LIBS"
else
ncurses_warn=2
ncurses_warn=1
@@ -8917,7 +8917,7 @@ if test $check_ssh -ne 0; then
if test -f $ssl_path/include/openssl/ssl.h; then
COPTS="$COPTS -I$ssl_path/include"
- LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto"
+ LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF
@@ -8927,7 +8927,7 @@ _ACEOF
echo "${ECHO_T}yes" >&6
elif test -f $ssl_path/ssl/include/openssl/ssl.h; then
COPTS="$COPTS -I$ssl_path/ssl/include"
- LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto"
+ LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF
@@ -8936,7 +8936,7 @@ _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
elif test -f /usr/include/openssl/ssl.h; then
- LIBS="$LIBS -lssl -lcrypto"
+ LIBS="$LIBS -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_ec_dissector_ssh_c,v 1.1 2002/06/17 02:21:43 mark Exp $
--- src/ec_dissector_ssh.c.orig Fri Mar 8 00:49:55 2002
+++ src/ec_dissector_ssh.c Wed Jun 12 21:56:47 2002
@@ -29,6 +29,7 @@
#else
#include <arpa/nameser.h>
#endif
+#include <des.h>
#include <openssl/ssl.h>
#include <openssl/rand.h>
#include <ctype.h>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_ec_plugins_c,v 1.1 2002/06/17 02:21:43 mark Exp $
--- src/ec_plugins.c.orig Sun Jun 16 21:23:52 2002
+++ src/ec_plugins.c Sun Jun 16 21:24:36 2002
@@ -57,7 +57,7 @@
#define RTLD_NOW DL_LAZY
#endif
-#if defined(OPENBSD) || defined(MACOSX)
+#if defined(OPENBSD) && !defined(__ELF__) || defined(MACOSX)
#define SYM_PREFIX "_" // for the symbols loaded with dlsym
#else
#define SYM_PREFIX ""

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2002/05/03 03:19:14 mark Exp $
@comment $OpenBSD: PLIST,v 1.10 2002/06/17 02:21:43 mark Exp $
lib/ettercap/ec_H00_lurker.so
lib/ettercap/ec_H01_zaratan.so
lib/ettercap/ec_H05_roper.so
@ -13,6 +13,7 @@ lib/ettercap/ec_beholder.so
lib/ettercap/ec_dummy.so
lib/ettercap/ec_golem.so
lib/ettercap/ec_imp.so
lib/ettercap/ec_lamia.so
lib/ettercap/ec_leech.so
lib/ettercap/ec_ooze.so
lib/ettercap/ec_phantom.so