Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 10:17:28 -0700 (PDT)
From:      joseph.scott@owp.csus.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20900: updated port : security/dsniff (1.7 -> 2.2)
Message-ID:  <200008281717.KAA69744@pebkac.owp.csus.edu>

next in thread | raw e-mail | index | archive | help

>Number:         20900
>Category:       ports
>Synopsis:       updated port : security/dsniff (1.7 -> 2.2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 28 10:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Scott
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

>Description:

	updated port : security/dsniff (1.7 -> 2.2)

	From the changes at http://www.monkey.org/~dugsong/dsniff/CHANGES :

v2.2 Wed Jun 14 00:58:37 EDT 2000
- Rewrite HTTP decoding in dsniff, adding support for QUERY_STRING and
  x-www-form-urlencoded parsing (various CGI authentication schemes).
- Alpha support (libnids and libnet still need to be fixed).
- Fix arp discovery in arpredirect on Linux.
- Add -m flag to enable automatic protocol detection in dsniff,
  based on the classic file(1) command by Ian Darwin.
- Add TDS (Sybase, Microsoft SQL Server) parsing to dsniff.
- Clean up RPC decodes, TCP half-duplex reassembly in dsniff.
- New filesnarf program.
- Add regular expression matching to mailsnarf.
- Add POP support to mailsnarf.

v2.1 Thu May 18 16:18:35 EDT 2000
- Add -c flag to specify half-duplex TCP stream reassembly in dsniff
  (better support for sniffing off switched ports using arpredirect).
- Fix > 24 char Meeting Maker passwd parsing in dsniff.
- Fix OSPF parsing in dsniff (don't truncate first two chars),
  as reported by Felix Contreras <cfelix@fisiologia.com>.
- Fix webspy URL ignoring, as reported by Interrupt <mike@eEye.com>.

v2.0 Tue May 16 13:11:22 EDT 2000
- Major dsniff rewrite, since ppl are actually reading this code. :-)
- Add configurable decode triggers to dsniff.
- Add dsniff debugging functions, split out decode routines.
- Add yppasswd parsing to dsniff.
- Rewrite dsniff RPC framework, portmap and NFS mountd decodes.
- Make dsniff savefile format portable.
- Remove findgw - to be subsumed by dsquat package.
- Add PostgreSQL parsing to dsniff.
- Add Meeting Maker parsing to dsniff.
- Add poppass parsing to dsniff.
- Add RIP, OSPF parsing to dsniff.
- Fix RSET handling in mailsnarf (from Martin Fredriksson <martin@crt.se>).

v1.8 Sun Apr  9 23:59:46 EDT 2000
- Add SOCKS parsing to dsniff.
- Fix SMB parsing in dsniff.
- Add IRC parsing to dsniff.
- Add NAI Sniffer parsing to dsniff (from Anonymous).

>How-To-Repeat:


>Fix:
	
	dsniff-2.2 builds and installs out of the box on my 4.1 system.  So I
removed the CONFIGURE_ARGS and the two patches.

diff -ruN dsniff/Makefile dsniff.update/Makefile
--- dsniff/Makefile     Fri Apr 21 01:18:17 2000
+++ dsniff.update/Makefile      Mon Aug 28 09:58:17 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      dsniff
-PORTVERSION=   1.7
+PORTVERSION=   2.2
 CATEGORIES=    security
 MASTER_SITES=  http://naughty.monkey.org/~dugsong/dsniff/
 
@@ -16,7 +16,6 @@
                ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids
 
 GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-libnet="${LOCALBASE}" --with-libnids="${LOCALBASE}"
 USE_XLIB=      yes
 
 MAN8=  arpredirect.8 dsniff.8 findgw.8 macof.8 mailsnarf.8 tcpkill.8 \
diff -ruN dsniff/files/md5 dsniff.update/files/md5
--- dsniff/files/md5    Wed Mar 29 22:27:28 2000
+++ dsniff.update/files/md5     Mon Aug 28 09:46:04 2000
@@ -1 +1 @@
-MD5 (dsniff-1.7.tar.gz) = 8ce6b888240d12e84956cfd183d77965
+MD5 (dsniff-2.2.tar.gz) = 6b4529263d390149961cf3ca74d82141
diff -ruN dsniff/patches/patch-ac dsniff.update/patches/patch-ac
--- dsniff/patches/patch-ac     Mon Aug 28 09:52:30 2000
+++ dsniff.update/patches/patch-ac      Wed Dec 31 16:00:00 1969
@@ -1,14 +0,0 @@
---- dsniff.c.orig      Fri Jan 21 00:21:17 2000
-+++ dsniff.c   Thu Jan 27 22:15:51 2000
-@@ -59,11 +59,7 @@
- #include <string.h>
- #include <ctype.h>
- #include <time.h>
--#ifdef HAVE_DB_185_H
--#include <db_185.h>
--#elif HAVE_DB_H
- #include <db.h>
--#endif
- #include <md5.h>
- #include <nids.h>
- 
diff -ruN dsniff/patches/patch-ad dsniff.update/patches/patch-ad
--- dsniff/patches/patch-ad     Mon Aug 28 09:52:56 2000
+++ dsniff.update/patches/patch-ad      Wed Dec 31 16:00:00 1969
@@ -1,26 +0,0 @@
---- configure.orig     Sat Mar 25 23:28:46 2000
-+++ configure  Wed Mar 29 22:21:11 2000
-@@ -2708,7 +2708,7 @@
-      if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a; then
-         owd=`pwd`
-         if cd $withval; then withval=`pwd`; cd $owd; fi
--      CFLAGS="$CFLAGS `$withval/libnet-config --defines`"
-+      CFLAGS="$CFLAGS `$withval/bin/libnet-config --defines`"
-       LNETINC="-I$withval/include"
-       LNETLIB="-L$withval/lib -lnet"
-      else
-@@ -2746,11 +2746,11 @@
-      ;;
-   *)
-      echo "$ac_t""$withval" 1>&6
--     if test -f $withval/src/nids.h -a -f $withval/src/libnids.a; then
-+     if test -f $withval/include/nids.h -a -f $withval/lib/libnids.a; then
-         owd=`pwd`
-         if cd $withval; then withval=`pwd`; cd $owd; fi
--      NIDSINC="-I$withval/src"
--      NIDSLIB="-L$withval/src -lnids"
-+      NIDSINC="-I$withval/include"
-+      NIDSLIB="-L$withval/lib -lnids"
-      else
-         { echo "configure: error: nids.h or libnids.a not found in $withval" 1>&2; exit 1; }
-      fi

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008281717.KAA69744>