Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 11:27:24 +0200 (CEST)
From:      Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Roman Shterenzon <roman@xpert.com>
Subject:   ports/30572: Update port: security/hping New version
Message-ID:  <20010914092724.07DF4103A13@polom.hsc.fr>

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

>Number:         30572
>Category:       ports
>Synopsis:       Update port: security/hping New version
>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:   Fri Sep 14 02:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Jombart
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD polom.hsc.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Aug 13 17:06:33 CEST 2001 ecu@polom.hsc.fr:/usr/src/sys/i386/compile/ECU i386


	
>Description:

	Update of the security/hping port to hping2.0.0-rc1.
	Roman gave me his consent, so I'm the new maintainer of this port.
	I removed the BROKEN line, since new code in hping solve the problems 
	described in PR 28974.

	Removed files: files/patch-aa
	               files/patch-ab
                       files/patch-ac
                       files/

>How-To-Repeat:
	
>Fix:

diff -ruN hping.old/Makefile hping/Makefile
--- hping.old/Makefile	Sun Jul 15 05:15:18 2001
+++ hping/Makefile	Fri Sep 14 08:40:03 2001
@@ -6,18 +6,17 @@
 #
 
 PORTNAME=	hping
-PORTVERSION=	2b54
-PORTREVISION=	1
+PORTVERSION=	2.0.0r1
 CATEGORIES=	security net
-MASTER_SITES=	http://www.kyuzz.org/antirez/hping2-src/
-DISTNAME=	hping2-beta54
+MASTER_SITES=	http://www.hping.org/
+DISTNAME=	hping2.0.0-rc1
 
-MAINTAINER=	roman@xpert.com
-
-BROKEN=		See PR 28974
+MAINTAINER=	Nicolas.Jombart@hsc-labs.com
 
+WRKSRC=		${WRKDIR}/hping2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--force-libpcap
+USE_GMAKE= 	yes
 
 MAN8=	hping.8
 
diff -ruN hping.old/distinfo hping/distinfo
--- hping.old/distinfo	Sat Oct 28 03:57:14 2000
+++ hping/distinfo	Wed Sep  5 17:45:51 2001
@@ -1 +1 @@
-MD5 (hping2-beta54.tar.gz) = 703f2102b948f214d59d89b41bca9923
+MD5 (hping2.0.0-rc1.tar.gz) = f915af241bfac510d1a51b7113503a17
diff -ruN hping.old/files/patch-aa hping/files/patch-aa
--- hping.old/files/patch-aa	Sat Oct 28 03:57:16 2000
+++ hping/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,22 +0,0 @@
---- configure.orig	Thu Jul  6 20:06:10 2000
-+++ configure	Thu Oct  5 15:33:45 2000
-@@ -65,8 +65,8 @@
- 			;;
- 		*"--force-libpcap")
- 			FORCE_LIBPCAP="-DFORCE_LIBPCAP"
--			PCAP="PCAP=libpcap/libpcap.a"
--			PCAP_INCLUDE="-I./libpcap"
-+			PCAP="PCAP=-lpcap"
-+			PCAP_INCLUDE=""
- 			;;
- 		*"--dont-use-proc")
- 			HAVE_PROC=""
-@@ -92,7 +92,7 @@
- 			-e s/@FORCE_LIBPCAP@/"$FORCE_LIBPCAP"/g \
- 			-e s/@HAVE_PROC@/"$HAVE_PROC"/g \
- 			-e s^@PCAP@^"$PCAP"^g \
--			-e s^@PCAP_INCLUDE@^"$PCAP_INCLUDE$"^g \
-+			-e s^@PCAP_INCLUDE@^"$PCAP_INCLUDE"^g \
- 			-e s^@MANPATH@^"$INSTALL_MANPATH"^g \
- 			> Makefile
- 
diff -ruN hping.old/files/patch-ab hping/files/patch-ab
--- hping.old/files/patch-ab	Sat Oct 28 03:57:17 2000
+++ hping/files/patch-ab	Thu Jan  1 01:00:00 1970
@@ -1,13 +0,0 @@
---- Makefile.in.orig	Thu Oct  5 15:22:25 2000
-+++ Makefile.in	Thu Oct  5 15:25:28 2000
-@@ -6,8 +6,8 @@
- # $date: Sun Jul 25 17:56:15 MET DST 1999$ 
- # $rev: 3$ 
- 
--CC= gcc
--CCOPT= -O2 -Wall @PCAP_INCLUDE@
-+CC?= gcc
-+CCOPT= $(CFLAGS) -Wall @PCAP_INCLUDE@
- DEBUG= -g
- #uncomment the following if you need libpcap based build under linux
- #(not raccomanded)
diff -ruN hping.old/files/patch-ac hping/files/patch-ac
--- hping.old/files/patch-ac	Mon Jun  4 15:48:50 2001
+++ hping/files/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,28 +0,0 @@
---- getlhs.c.orig	Mon Jun  4 16:17:30 2001
-+++ getlhs.c	Mon Jun  4 16:17:32 2001
-@@ -73,6 +73,7 @@
- 	else if ( strstr(ifname, "eth") /* ? */
- 	     ||   strstr(ifname, "ed")
- 	     ||   strstr(ifname, "ne")
-+             ||   strstr(ifname, "xe")  /* Xircom */
- 	     ||   strstr(ifname, "xl")	/* 3com */
- 	     ||   strstr(ifname, "vx")	/* 3com (older model) */
- 	     ||   strstr(ifname, "ep")  /* 3com 3c589 */
-@@ -85,6 +86,17 @@
- 	     ||   strstr(ifname, "sk")	/* SysKonnect SK-984x */
- 	     ||   strstr(ifname, "tl")	/* Compaq Netelligent 10/10+TNETE100 */
- 	     ||   strstr(ifname, "tx")	/* SMC 9432TX */
-+             ||   strstr(ifname, "an")  /* Aironet 4500/4800 */
-+             ||   strstr(ifname, "awi") /* PRISM I IEEE 802.11b wireless NIC */
-+             ||   strstr(ifname, "dc")  /* DEC/Intel 21143 and workalikes */
-+             ||   strstr(ifname, "de")  /* Digital Equipment DC21040 */
-+             ||   strstr(ifname, "pcn") /* AMD Am79C79x */\
-+             ||   strstr(ifname, "sis") /* SiS 900/SiS 7016 */
-+             ||   strstr(ifname, "ste") /* Sundance ST201 */
-+             ||   strstr(ifname, "vr")  /* VIA Rhine, Rhine II */
-+             ||   strstr(ifname, "vx")  /* 3com (older model) */
-+             ||   strstr(ifname, "wi")  /* WaveLAN/IEEE 802.11 wireless NICs */
-+             ||   strstr(ifname, "wx")  /* Intel Gigabit "Wiseman" */
- 	     ||   strstr(ifname, "wb"))	/* Winbond W89C840F chip */
- 	{
- 		linkhdr_size = ETHHDR_SIZE;
diff -ruN hping.old/pkg-descr hping/pkg-descr
--- hping.old/pkg-descr	Sat Oct 28 03:57:14 2000
+++ hping/pkg-descr	Thu Sep 13 12:11:42 2001
@@ -1,10 +1,12 @@
-hping2 is a network tool able to send custom ICMP/UDP/TCP
-packets and to display target replies like ping do with
-ICMP replies. hping2 handle fragmentation, arbitrary packet
-body and size and can be used in order to transfer files
-under supported protocols. Using hping2 you are able at
-least to perform the following jobs:
-
+hping is a command-line oriented TCP/IP packet assembler/analyzer. 
+The interface is inspired to the ping(8) unix command, but hping isn't 
+only able to send ICMP echo requests. It supports TCP, UDP, ICMP and 
+RAW-IP protocols, has a traceroute mode, the ability to send files 
+between a covered channel, and many other features. 
+While hping was mainly used as a security tool in the past, it can be 
+used in many ways by people that don't care about security to test 
+networks and hosts. A subset of the stuff you can do using hping:
+ 
 	- Test firewall rules
 	- [spoofed] port scanning
 	- Test net performance using different protocols,
@@ -15,8 +17,7 @@
 	- Firewalk like usage.
 	- Remote OS fingerprint.
 	- TCP/IP stack auditing.
-	- A lot of others. 
 
-WWW: http://www.kyuzz.org/antirez/hping/
+WWW: http://www.hping.org/
 
--- Roman Shterenzon <roman@xpert.com>
+-- Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
>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?20010914092724.07DF4103A13>