diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2017-11-21 21:32:19 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2017-11-21 21:32:19 +0000 |
commit | 44fb432d7195f9aa4cd233ee9fc3e9c88fc1df3b (patch) | |
tree | fbf0249a5b75b113e5a60aa0484cc147594ab5ef | |
parent | Update to WolfSSL 3.12 (diff) |
Remove expired hping-devel, missed in r454648
Notes
Notes:
svn path=/head/; revision=454655
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/hping-devel/Makefile | 57 | ||||
-rw-r--r-- | net/hping-devel/distinfo | 2 | ||||
-rw-r--r-- | net/hping-devel/files/extra-patch-sendip.c | 33 | ||||
-rw-r--r-- | net/hping-devel/files/patch-Makefile.in | 39 | ||||
-rw-r--r-- | net/hping-devel/files/patch-bytesex.h | 17 | ||||
-rw-r--r-- | net/hping-devel/files/patch-configure | 10 | ||||
-rw-r--r-- | net/hping-devel/files/patch-hping3.8 | 240 | ||||
-rw-r--r-- | net/hping-devel/pkg-descr | 12 |
9 files changed, 0 insertions, 411 deletions
diff --git a/net/Makefile b/net/Makefile index 2edbe8f6e2d2..493cf4bfff6b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -235,7 +235,6 @@ SUBDIR += hostapd SUBDIR += howl SUBDIR += hping - SUBDIR += hping-devel SUBDIR += hs-aws SUBDIR += hs-connection SUBDIR += hs-gsasl diff --git a/net/hping-devel/Makefile b/net/hping-devel/Makefile deleted file mode 100644 index 1746df0a4ba7..000000000000 --- a/net/hping-devel/Makefile +++ /dev/null @@ -1,57 +0,0 @@ -# $FreeBSD$ - -PORTNAME= hping -PORTVERSION= 3.0.20051105 -PORTREVISION= 2 -CATEGORIES= net security -MASTER_SITES= http://www.hping.org/ \ - http://200ok.org/distfiles/hping/ -PKGNAMESUFFIX= -devel -DISTNAME= hping3-20051105 - -MAINTAINER= ecu@200ok.org -COMMENT= Network auditing tool - -DEPRECATED= Tcl/Tk 8.4 is no longer maintained, please use 8.5+ -EXPIRATION_DATE= 2017-11-20 - -LIB_DEPENDS= libtcl84.so:lang/tcl84 - -CONFLICTS= hping-[0-9]* - -BROKEN_aarch64= fails to build: can not find the byte order for this architecture, fix bytesex.h - -GNU_CONFIGURE= yes -USES= alias gmake - -PLIST_FILES= sbin/hping lib/hping/hpingstdlib.htcl man/man8/hping.8.gz -PORTDOCS= AS-BACKDOOR HPING2-HOWTO.txt HPING2-IS-OPEN \ - MORE-FUN-WITH-IPID SPOOFED_SCAN.txt APD.txt \ - API.txt HPING3.txt - -PORTEXAMPLES= README apd.htcl apd2.htcl ciscoios.htcl ciscoios0.htcl \ - cloner.htcl igrp.htcl isn-spectrogram.htcl nat-noise.htcl \ - passivets.htcl ping.htcl raw.htcl show-tcpseq.htcl \ - showled.htcl - -.include <bsd.port.pre.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100030 -EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendip.c -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hping3 ${STAGEDIR}${PREFIX}/sbin/hping - ${INSTALL_MAN} ${WRKSRC}/docs/hping3.8 ${STAGEDIR}${PREFIX}/man/man8/hping.8 - ${MKDIR} ${STAGEDIR}${PREFIX}/lib/hping - ${INSTALL_DATA} ${WRKSRC}/lib/hpingstdlib.htcl ${STAGEDIR}${PREFIX}/lib/hping/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} -.for i in ${PORTEXAMPLES} - ${REINPLACE_CMD} -e \ - 's|hpingstdlib.htcl|${PREFIX}/lib/hping/hpingstdlib.htcl|' \ - ${WRKSRC}/lib/${i} -.endfor - ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${EXAMPLESDIR} - -.include <bsd.port.post.mk> diff --git a/net/hping-devel/distinfo b/net/hping-devel/distinfo deleted file mode 100644 index e8679343fa1c..000000000000 --- a/net/hping-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (hping3-20051105.tar.gz) = f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8 -SIZE (hping3-20051105.tar.gz) = 584001 diff --git a/net/hping-devel/files/extra-patch-sendip.c b/net/hping-devel/files/extra-patch-sendip.c deleted file mode 100644 index 872861983e5a..000000000000 --- a/net/hping-devel/files/extra-patch-sendip.c +++ /dev/null @@ -1,33 +0,0 @@ ---- sendip.c.orig 2003-08-01 21:28:07.000000000 +0800 -+++ sendip.c 2015-12-22 23:16:39.296072000 +0800 -@@ -48,12 +48,12 @@ - ip->ihl = (IPHDR_SIZE + optlen + 3) >> 2; - ip->tos = ip_tos; - --#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD || defined OSTYPE_BSDI --/* FreeBSD */ -+#if defined OSTYPE_NETBSD || defined OSTYPE_BSDI - /* NetBSD */ - ip->tot_len = packetsize; - #else - /* Linux */ -+/* FreeBSD */ - /* OpenBSD */ - ip->tot_len = htons(packetsize); - #endif -@@ -73,13 +73,13 @@ - htons((unsigned short) src_id); - } - --#if defined OSTYPE_FREEBSD || defined OSTYPE_NETBSD | defined OSTYPE_BSDI --/* FreeBSD */ -+#if defined OSTYPE_NETBSD | defined OSTYPE_BSDI - /* NetBSD */ - ip->frag_off |= more_fragments; - ip->frag_off |= fragoff >> 3; - #else - /* Linux */ -+/* FreeBSD */ - /* OpenBSD */ - ip->frag_off |= htons(more_fragments); - ip->frag_off |= htons(fragoff >> 3); /* shift three flags bit */ diff --git a/net/hping-devel/files/patch-Makefile.in b/net/hping-devel/files/patch-Makefile.in deleted file mode 100644 index fb85e5a541d1..000000000000 --- a/net/hping-devel/files/patch-Makefile.in +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.in.orig Sat Apr 10 01:38:56 2004 -+++ Makefile.in Mon Oct 31 10:48:24 2005 -@@ -6,10 +6,10 @@ - # $date: Sun Jul 25 17:56:15 MET DST 1999$ - # $rev: 3$ - --CC= gcc -+CC?= gcc - AR=/usr/bin/ar - RANLIB=/usr/bin/ranlib --CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@ -+CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@ - DEBUG= -g - #uncomment the following if you need libpcap based build under linux - #(not raccomanded) -@@ -50,20 +50,20 @@ - $(RANLIB) $@ - - hping3: byteorder.h $(OBJ) -- $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -+ $(CC) -o hping3 $(CCOPT) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ - @echo - ./hping3 -v - @echo "use \`make strip' to strip hping3 binary" - @echo "use \`make install' to install hping3" - - hping3-static: byteorder.h $(OBJ) -- $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl -+ $(CC) -static -o hping3-static $(CCOPT) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl - - byteorder.h: - ./configure - - .c.o: -- $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $< -+ $(CC) -c $(CCOPT) $(COMPILE_TIME) $< - - clean: - rm -rf hping3 *.o libars.a diff --git a/net/hping-devel/files/patch-bytesex.h b/net/hping-devel/files/patch-bytesex.h deleted file mode 100644 index 6159fea08192..000000000000 --- a/net/hping-devel/files/patch-bytesex.h +++ /dev/null @@ -1,17 +0,0 @@ ---- bytesex.h.orig 2003-07-28 17:00:55.000000000 +0800 -+++ bytesex.h 2015-12-22 22:30:11.367208000 +0800 -@@ -8,10 +8,14 @@ - #define ARS_BYTESEX_H - - #if defined(__i386__) \ -+ || defined (__amd64__) \ -+ || defined(__ia64__) \ - || defined(__alpha__) \ -+ || defined(__arm__) \ - || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) - #define BYTE_ORDER_LITTLE_ENDIAN - #elif defined(__mc68000__) \ -+ || (defined(__arm__) && (defined(ARMEB) || defined (__ARMEB__))) \ - || defined (__sparc__) \ - || defined (__sparc) \ - || defined (__PPC__) \ diff --git a/net/hping-devel/files/patch-configure b/net/hping-devel/files/patch-configure deleted file mode 100644 index fdc8d4fcdfad..000000000000 --- a/net/hping-devel/files/patch-configure +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.orig Fri Jun 4 08:39:10 2004 -+++ configure Mon Oct 31 10:49:39 2005 -@@ -143,6 +143,7 @@ - -e "s^@TCL_INC@^$TCL_INC^g" \ - -e "s^@TCL_VER@^$TCL_VER^g" \ - -e "s^@TCL_LIB@^$TCL_LIB^g" \ -+ -e "s^@CFLAGS@^$CFLAGS^g" \ - <Makefile.in > Makefile - - # diff --git a/net/hping-devel/files/patch-hping3.8 b/net/hping-devel/files/patch-hping3.8 deleted file mode 100644 index d4dd87cc16d2..000000000000 --- a/net/hping-devel/files/patch-hping3.8 +++ /dev/null @@ -1,240 +0,0 @@ ---- docs/hping3.8.orig Mon Oct 31 11:23:58 2005 -+++ docs/hping3.8 Mon Oct 31 11:23:27 2005 -@@ -1,8 +1,8 @@ --.TH HPING2 8 "2001 Aug 14" -+.TH hping 8 "2001 Aug 14" - .SH NAME --hping2 \- send (almost) arbitrary TCP/IP packets to network hosts -+hping \- send (almost) arbitrary TCP/IP packets to network hosts - .SH SYNOPSIS --.B hping2 -+.B hping - [ - .B \-hvnqVDzZ012WrfxykQbFSRPAUXYjJBuTG - ] [ -@@ -116,11 +116,11 @@ - .br - .ad - .SH DESCRIPTION --hping2 is a network tool able to send custom TCP/IP packets and to --display target replies like ping program does with ICMP replies. hping2 -+hping is a network tool able to send custom TCP/IP packets and to -+display target replies like ping program does with ICMP replies. hping - handle fragmentation, arbitrary packets body and size and can be used in - order to transfer files encapsulated under supported protocols. Using --hping2 you are able to perform at least the following stuff: -+hping you are able to perform at least the following stuff: - - - Test firewall rules - - Advanced port scanning -@@ -136,7 +136,7 @@ - - A lot of others. - - .IR "It's also a good didactic tool to learn TCP/IP" . --hping2 is developed and maintained by antirez@invece.org and is -+hping is developed and maintained by antirez@invece.org and is - licensed under GPL version 2. Development is open so you can send - me patches, suggestion and affronts without inhibitions. - .SH HPING SITE -@@ -158,9 +158,9 @@ - .I -c --count count - Stop after sending (and receiving) - .I count --response packets. After last packet was send hping2 wait COUNTREACHED_TIMEOUT -+response packets. After last packet was send hping wait COUNTREACHED_TIMEOUT - seconds target host replies. You are able to tune COUNTREACHED_TIMEOUT editing --hping2.h -+hping.h - .TP - .I -i --interval - Wait -@@ -171,10 +171,10 @@ - .I wait - to X micro seconds. - The default is to wait --one second between each packet. Using hping2 to transfer files tune this -+one second between each packet. Using hping to transfer files tune this - option is really important in order to increase transfer rate. Even using --hping2 to perform idle/spoofing scanning you should tune this option, see --.B HPING2-HOWTO -+hping to perform idle/spoofing scanning you should tune this option, see -+.B hping-HOWTO - for more information. - .TP - .I --fast -@@ -195,13 +195,13 @@ - startup time and when finished. - .TP - .I -I --interface interface name --By default on linux and BSD systems hping2 uses default routing interface. -+By default on linux and BSD systems hping uses default routing interface. - In other systems or when there is no default route --hping2 uses the first non-loopback interface. --However you are able to force hping2 to use the interface you need using -+hping uses the first non-loopback interface. -+However you are able to force hping to use the interface you need using - this option. Note: you don't need to specify the whole name, for - example -I et will match eth0 ethernet0 myet1 et cetera. If no interfaces --match hping2 will try to use lo. -+match hping will try to use lo. - .TP - .I -V --verbose - Enable verbose output. TCP replies will be shown as follows: -@@ -211,7 +211,7 @@ - .TP - .I -D --debug - Enable debug mode, it's useful when you experience some problem with --hping2. When debug mode is enabled you will get more information about -+hping. When debug mode is enabled you will get more information about - .B interface detection, data link layer access, interface settings, options - .B parsing, fragmentation, HCMP protocol - and other stuff. -@@ -223,30 +223,30 @@ - CTRL+Z once or twice. - .TP - .I -Z --unbind --Unbind CTRL+Z so you will able to stop hping2. -+Unbind CTRL+Z so you will able to stop hping. - .TP - .I --beep - Beep for every matching received packet (but not for ICMP errors). - .SH PROTOCOL SELECTION --Default protocol is TCP, by default hping2 will send tcp headers to target -+Default protocol is TCP, by default hping will send tcp headers to target - host's port 0 with a winsize of 64 without any tcp flag on. Often this - is the best way to do an 'hide ping', useful when target is behind - a firewall that drop ICMP. Moreover a tcp null-flag to port 0 has a good - probability of not being logged. - .TP - .I -0 --rawip --RAW IP mode, in this mode hping2 will send IP header with data -+RAW IP mode, in this mode hping will send IP header with data - appended with --signature and/or --file, see also --ipproto that - allows you to set the ip protocol field. - .TP - .I -1 --icmp --ICMP mode, by default hping2 will send ICMP echo-request, you can set -+ICMP mode, by default hping will send ICMP echo-request, you can set - other ICMP type/code using - .B --icmptype --icmpcode - options. - .TP - .I -2 --udp --UDP mode, by default hping2 will send udp to target host's port 0. -+UDP mode, by default hping will send udp to target host's port 0. - UDP header tunable options are the following: - .B --baseport, --destport, --keep. - .TP -@@ -288,11 +288,11 @@ - shows interesting details. - .TP - .I -9 --listen signature --HPING2 listen mode, using this option hping2 waits for packet that contain -+hping listen mode, using this option hping waits for packet that contain - .I signature - and dump from - .I signature --end to packet's end. For example if hping2 --listen TEST reads a packet -+end to packet's end. For example if hping --listen TEST reads a packet - that contain - .B 234-09sdflkjs45-TESThello_world - it will display -@@ -304,7 +304,7 @@ - ensures that target will not gain your real address. However replies - will be sent to spoofed address, so you will can't see them. In order - to see how it's possible to perform spoofed/idle scanning see the --.BR HPING2-HOWTO . -+.BR hping-HOWTO . - .TP - .I --rand-source - This option enables the -@@ -347,7 +347,7 @@ - or - .B --bind - options. If in doubt try --.BR "" "`" "hping2 some.host.com -t 1 --traceroute" "'." -+.BR "" "`" "hping some.host.com -t 1 --traceroute" "'." - .TP - .I -N --id - Set ip->id field. Default id is random but if fragmentation is turned on -@@ -361,11 +361,11 @@ - .I -W --winid - id from Windows* systems before Win2k has different byte ordering, if this - option is enable --hping2 will properly display id replies from those Windows. -+hping will properly display id replies from those Windows. - .TP - .I -r --rel - Display id increments instead of id. See the --.B HPING2-HOWTO -+.B hping-HOWTO - for more information. Increments aren't computed as id[N]-id[N-1] but - using packet loss compensation. See relid.c for more information. - .TP -@@ -445,7 +445,7 @@ - .SH TCP/UDP RELATED OPTIONS - .TP - .I -s --baseport source port --hping2 uses source port in order to guess replies sequence number. It -+hping uses source port in order to guess replies sequence number. It - starts with a base source port number, and increase this number for each - packet sent. When packet is received sequence number can be computed as - .IR "replies.dest.port - base.source.port" . -@@ -485,7 +485,7 @@ - by target host. This can be useful when you need to analyze whether - TCP sequence number is predictable. Output example: - --.B #hping2 win98 --seqnum -p 139 -S -i u1 -I eth0 -+.B #hping win98 --seqnum -p 139 -S -i u1 -I eth0 - .nf - HPING uaz (eth0 192.168.4.41): S set, 40 headers + 0 data bytes - 2361294848 +2361294848 -@@ -540,8 +540,8 @@ - .SH COMMON OPTIONS - .TP - .I -d --data data size --Set packet body size. Warning, using --data 40 hping2 will not generate --0 byte packets but protocol_header+40 bytes. hping2 will display -+Set packet body size. Warning, using --data 40 hping will not generate -+0 byte packets but protocol_header+40 bytes. hping will display - packet size information as first line output, like this: - .B HPING www.yahoo.com (ppp0 204.71.200.67): NO FLAGS are set, 40 headers + 40 data bytes - .TP -@@ -577,9 +577,9 @@ - A to host B you may use the following: - .nf - .I [host_a] --.B # hping2 host_b --udp -p 53 -d 100 --sign signature --safe --file /etc/passwd -+.B # hping host_b --udp -p 53 -d 100 --sign signature --safe --file /etc/passwd - .I [host_b] --.B # hping2 host_a --listen signature --safe --icmp -+.B # hping host_a --listen signature --safe --icmp - .fi - .TP - .I -u --end -@@ -587,13 +587,13 @@ - .I --file filename - option, tell you when EOF has been reached. Moreover prevent that other end - accept more packets. Please, for more information see the --.BR HPING2-HOWTO . -+.BR HPING2-HOWTO . - .TP - .I -T --traceroute --Traceroute mode. Using this option hping2 will increase ttl for each -+Traceroute mode. Using this option hping will increase ttl for each - .B ICMP time to live 0 during transit - received. Try --.BR "hping2 host --traceroute" . -+.BR "hping host --traceroute" . - This option implies --bind and --ttl 1. You can override the ttl of 1 - using the --ttl option. Since 2.0.0 stable it prints RTT information. - .TP -@@ -601,7 +601,7 @@ - Keep the TTL fixed in traceroute mode, so you can monitor just one hop - in the route. For example, to monitor how the 5th hop changes or - how its RTT changes you can try --.BR "hping2 host --traceroute --ttl 5 --tr-keep-ttl" . -+.BR "hping host --traceroute --ttl 5 --tr-keep-ttl" . - .TP - .I --tr-stop - If this option is specified hping will exit once the first packet diff --git a/net/hping-devel/pkg-descr b/net/hping-devel/pkg-descr deleted file mode 100644 index 326978a146ef..000000000000 --- a/net/hping-devel/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -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. - -hping3 adds the TCL scripting feature. - -WWW: http://www.hping.org/ |