From owner-freebsd-ports Fri Sep 14 2:30:28 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55AEE37B410 for ; Fri, 14 Sep 2001 02:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8E9U1h30177; Fri, 14 Sep 2001 02:30:01 -0700 (PDT) (envelope-from gnats) Received: from itesec.hsc.fr (itesec.hsc.fr [192.70.106.33]) by hub.freebsd.org (Postfix) with ESMTP id C298637B411 for ; Fri, 14 Sep 2001 02:27:29 -0700 (PDT) Received: from polom.hsc.fr (polom.hsc.fr [192.70.106.68]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "ecureuil.hsc.fr", Issuer CN "HSC CA" (verified OK)) by itesec.hsc.fr (Postfix) with ESMTP id ABEF710EC1; Fri, 14 Sep 2001 11:27:28 +0200 (CEST) Received: by polom.hsc.fr (Postfix, from userid 1000) id 07DF4103A13; Fri, 14 Sep 2001 11:27:24 +0200 (CEST) Message-Id: <20010914092724.07DF4103A13@polom.hsc.fr> Date: Fri, 14 Sep 2001 11:27:24 +0200 (CEST) From: Nicolas Jombart Reply-To: Nicolas Jombart To: FreeBSD-gnats-submit@freebsd.org Cc: Roman Shterenzon X-Send-Pr-Version: 3.113 Subject: ports/30572: Update port: security/hping New version Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 +-- Nicolas Jombart >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message