Add hping3 v0.0.20051105 (#6162)
Co-authored-by: Ameet Porwal <ameetporwal@microsoft.com>
This commit is contained in:
Родитель
115ecc713d
Коммит
6d613801b9
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Naur hping3-20051105-orig/statistics.c hping3-20051105/statistics.c
|
||||||
|
--- hping3-20051105-orig/statistics.c 2004-04-09 19:38:56.000000000 -0400
|
||||||
|
+++ hping3-20051105/statistics.c 2012-07-17 18:47:06.306378289 -0400
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
lossrate = 100;
|
||||||
|
|
||||||
|
fprintf(stderr, "\n--- %s hping statistic ---\n", targetname);
|
||||||
|
- fprintf(stderr, "%d packets tramitted, %d packets received, "
|
||||||
|
+ fprintf(stderr, "%d packets transmitted, %d packets received, "
|
||||||
|
"%d%% packet loss\n", sent_pkt, recv_pkt, lossrate);
|
||||||
|
if (out_of_sequence_pkt)
|
||||||
|
fprintf(stderr, "%d out of sequence packets received\n",
|
|
@ -0,0 +1,22 @@
|
||||||
|
--- bytesex.h.orig 2003-08-31 19:23:48.000000000 +0200
|
||||||
|
+++ bytesex.h 2009-05-25 09:40:31.000000000 +0200
|
||||||
|
@@ -9,13 +9,19 @@
|
||||||
|
|
||||||
|
#if defined(__i386__) \
|
||||||
|
|| defined(__alpha__) \
|
||||||
|
+ || defined(__x86_64__) \
|
||||||
|
+ || defined(__ia64__) \
|
||||||
|
+ || defined(__sh__) \
|
||||||
|
+ || (defined(__arm__) && defined(__ARMEL__)) || defined(__AARCH64EL__) \
|
||||||
|
|| (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__)))
|
||||||
|
#define BYTE_ORDER_LITTLE_ENDIAN
|
||||||
|
#elif defined(__mc68000__) \
|
||||||
|
+ || defined (__s390__) \
|
||||||
|
|| defined (__sparc__) \
|
||||||
|
|| defined (__sparc) \
|
||||||
|
|| defined (__PPC__) \
|
||||||
|
|| defined (__BIG_ENDIAN__) \
|
||||||
|
+ || (defined(__arm__) && defined(__ARMEB__)) || defined(__AARCH64EB__) \
|
||||||
|
|| (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)))
|
||||||
|
#define BYTE_ORDER_BIG_ENDIAN
|
||||||
|
#else
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- Makefile.in.org 2006-05-12 15:29:02.000000000 -0400
|
||||||
|
+++ Makefile.in 2006-05-12 15:29:10.000000000 -0400
|
||||||
|
@@ -9,7 +9,7 @@
|
||||||
|
CC= gcc
|
||||||
|
AR=/usr/bin/ar
|
||||||
|
RANLIB=/usr/bin/ranlib
|
||||||
|
-CCOPT= -O2 -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
|
||||||
|
+CCOPT= $(CFLAGS) -Wall @PCAP_INCLUDE@ @TCL_INC@ @USE_TCL@
|
||||||
|
DEBUG= -g
|
||||||
|
#uncomment the following if you need libpcap based build under linux
|
||||||
|
#(not raccomanded)
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/hping2.h b/hping2.h
|
||||||
|
index 70e2035..3766e1d 100644
|
||||||
|
--- a/hping2.h
|
||||||
|
+++ b/hping2.h
|
||||||
|
@@ -353,7 +353,7 @@ struct delaytable_element {
|
||||||
|
int status;
|
||||||
|
};
|
||||||
|
|
||||||
|
-volatile struct delaytable_element delaytable[TABLESIZE];
|
||||||
|
+extern volatile struct delaytable_element delaytable[TABLESIZE];
|
||||||
|
|
||||||
|
/* protos */
|
||||||
|
void nop(void); /* nop */
|
|
@ -0,0 +1,12 @@
|
||||||
|
diff -Nur hping3-20051105-orig/getifname.c hping3-20051105/getifname.c
|
||||||
|
--- hping2-rc3-orig/getifname.c 2004-05-03 10:55:53.000000000 +0200
|
||||||
|
+++ hping2-rc3/getifname.c 2005-07-26 18:23:34.000000000 +0200
|
||||||
|
@@ -60,7 +60,7 @@
|
||||||
|
known_output_if = 1;
|
||||||
|
if (opt_debug)
|
||||||
|
printf("DEBUG: Output interface address: %s\n",
|
||||||
|
- inet_ntoa(sa.sin_addr));
|
||||||
|
+ inet_ntoa(output_if_addr.sin_addr));
|
||||||
|
} else {
|
||||||
|
fprintf(stderr, "Warning: Unable to guess the output "
|
||||||
|
"interface\n");
|
|
@ -0,0 +1,22 @@
|
||||||
|
--- script.c.orig 2006-05-12 15:32:49.000000000 -0400
|
||||||
|
+++ script.c 2006-05-12 15:33:17.000000000 -0400
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <pcap.h>
|
||||||
|
-#include <net/bpf.h>
|
||||||
|
+#include <pcap-bpf.h>
|
||||||
|
|
||||||
|
#include "release.h"
|
||||||
|
#include "hping2.h"
|
||||||
|
--- libpcap_stuff.c.orig 2006-05-12 15:32:44.000000000 -0400
|
||||||
|
+++ libpcap_stuff.c 2006-05-12 15:33:07.000000000 -0400
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <pcap.h>
|
||||||
|
-#include <net/bpf.h>
|
||||||
|
+#include <pcap-bpf.h>
|
||||||
|
|
||||||
|
#include "globals.h"
|
||||||
|
|
|
@ -0,0 +1,253 @@
|
||||||
|
--- docs/hping3.8.old 2008-11-10 00:00:00.000000000 -0500
|
||||||
|
+++ docs/hping3.8 2008-11-10 00:01:39.000000000 -0500
|
||||||
|
@@ -1,8 +1,8 @@
|
||||||
|
-.TH HPING2 8 "2001 Aug 14"
|
||||||
|
+.TH HPING3 8 "2005 Nov 5"
|
||||||
|
.SH NAME
|
||||||
|
-hping2 \- send (almost) arbitrary TCP/IP packets to network hosts
|
||||||
|
+hping3 \- send (almost) arbitrary TCP/IP packets to network hosts
|
||||||
|
.SH SYNOPSIS
|
||||||
|
-.B hping2
|
||||||
|
+.B hping3
|
||||||
|
[
|
||||||
|
.B \-hvnqVDzZ012WrfxykQbFSRPAUXYjJBuTG
|
||||||
|
] [
|
||||||
|
@@ -116,11 +116,11 @@ hostname
|
||||||
|
.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
|
||||||
|
+hping3 is a network tool able to send custom TCP/IP packets and to
|
||||||
|
+display target replies like ping program does with ICMP replies. hping3
|
||||||
|
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:
|
||||||
|
+hping3 you are able to perform at least the following stuff:
|
||||||
|
|
||||||
|
- Test firewall rules
|
||||||
|
- Advanced port scanning
|
||||||
|
@@ -136,7 +136,7 @@ hping2 you are able to perform at least
|
||||||
|
- 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
|
||||||
|
+hping3 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 @@ or
|
||||||
|
.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 hping3 wait COUNTREACHED_TIMEOUT
|
||||||
|
seconds target host replies. You are able to tune COUNTREACHED_TIMEOUT editing
|
||||||
|
-hping2.h
|
||||||
|
+hping3.h
|
||||||
|
.TP
|
||||||
|
.I -i --interval
|
||||||
|
Wait
|
||||||
|
@@ -171,10 +171,10 @@ to X seconds, --interval uX set
|
||||||
|
.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 hping3 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
|
||||||
|
+hping3 to perform idle/spoofing scanning you should tune this option, see
|
||||||
|
+.B HPING3-HOWTO
|
||||||
|
for more information.
|
||||||
|
.TP
|
||||||
|
.I --fast
|
||||||
|
@@ -195,13 +195,13 @@ Quiet output. Nothing is displayed excep
|
||||||
|
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 hping3 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
|
||||||
|
+hping3 uses the first non-loopback interface.
|
||||||
|
+However you are able to force hping3 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 hping3 will try to use lo.
|
||||||
|
.TP
|
||||||
|
.I -V --verbose
|
||||||
|
Enable verbose output. TCP replies will be shown as follows:
|
||||||
|
@@ -211,7 +211,7 @@ tos=0 iplen=40 seq=0 ack=1380893504 sum=
|
||||||
|
.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
|
||||||
|
+hping3. 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 @@ so you will able to increment/decrement
|
||||||
|
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 hping3.
|
||||||
|
.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 hping3 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 hping3 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 hping3 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 hping3 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 @@ at this additional information when you
|
||||||
|
shows interesting details.
|
||||||
|
.TP
|
||||||
|
.I -9 --listen signature
|
||||||
|
-HPING2 listen mode, using this option hping2 waits for packet that contain
|
||||||
|
+HPING3 listen mode, using this option hping3 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 hping3 --listen TEST reads a packet
|
||||||
|
that contain
|
||||||
|
.B 234-09sdflkjs45-TESThello_world
|
||||||
|
it will display
|
||||||
|
@@ -304,7 +304,7 @@ Use this option in order to set a fake I
|
||||||
|
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 HPING3-HOWTO .
|
||||||
|
.TP
|
||||||
|
.I --rand-source
|
||||||
|
This option enables the
|
||||||
|
@@ -347,7 +347,7 @@ of outgoing packets, it's likely that yo
|
||||||
|
or
|
||||||
|
.B --bind
|
||||||
|
options. If in doubt try
|
||||||
|
-.BR "" "`" "hping2 some.host.com -t 1 --traceroute" "'."
|
||||||
|
+.BR "" "`" "hping3 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 @@ Set the ip protocol in RAW IP mode.
|
||||||
|
.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.
|
||||||
|
+hping3 will properly display id replies from those Windows.
|
||||||
|
.TP
|
||||||
|
.I -r --rel
|
||||||
|
Display id increments instead of id. See the
|
||||||
|
-.B HPING2-HOWTO
|
||||||
|
+.B HPING3-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 @@ Alias for --icmptype 17 (to send ICMP ad
|
||||||
|
.SH TCP/UDP RELATED OPTIONS
|
||||||
|
.TP
|
||||||
|
.I -s --baseport source port
|
||||||
|
-hping2 uses source port in order to guess replies sequence number. It
|
||||||
|
+hping3 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" .
|
||||||
|
@@ -474,10 +474,10 @@ Set TCP window size. Default is 64.
|
||||||
|
.I -O --tcpoff
|
||||||
|
Set fake tcp data offset. Normal data offset is tcphdrlen / 4.
|
||||||
|
.TP
|
||||||
|
-.I -M --tcpseq
|
||||||
|
+.I -M --setseq
|
||||||
|
Set the TCP sequence number.
|
||||||
|
.TP
|
||||||
|
-.I -L --tcpack
|
||||||
|
+.I -L --setack
|
||||||
|
Set the TCP ack.
|
||||||
|
.TP
|
||||||
|
.I -Q --seqnum
|
||||||
|
@@ -485,7 +485,7 @@ This option can be used in order to coll
|
||||||
|
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 #hping3 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 @@ Set Ymas tcp flag.
|
||||||
|
.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 hping3 will not generate
|
||||||
|
+0 byte packets but protocol_header+40 bytes. hping3 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 @@ will be resent. For example in order to
|
||||||
|
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 # hping3 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 # hping3 host_a --listen signature --safe --icmp
|
||||||
|
.fi
|
||||||
|
.TP
|
||||||
|
.I -u --end
|
||||||
|
@@ -587,13 +587,13 @@ If you are using
|
||||||
|
.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 HPING3-HOWTO .
|
||||||
|
.TP
|
||||||
|
.I -T --traceroute
|
||||||
|
-Traceroute mode. Using this option hping2 will increase ttl for each
|
||||||
|
+Traceroute mode. Using this option hping3 will increase ttl for each
|
||||||
|
.B ICMP time to live 0 during transit
|
||||||
|
received. Try
|
||||||
|
-.BR "hping2 host --traceroute" .
|
||||||
|
+.BR "hping3 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 @@ using the --ttl option. Since 2.0.0 stab
|
||||||
|
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 "hping3 host --traceroute --ttl 5 --tr-keep-ttl" .
|
||||||
|
.TP
|
||||||
|
.I --tr-stop
|
||||||
|
If this option is specified hping will exit once the first packet
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"Signatures": {
|
||||||
|
"hping3-20051105.tar.gz": "f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,187 @@
|
||||||
|
Summary: TCP/IP stack auditing and much more
|
||||||
|
Name: hping3
|
||||||
|
Version: 0.0.20051105
|
||||||
|
Release: 41%{?dist}
|
||||||
|
License: MIT
|
||||||
|
Vendor: Microsoft Corporation
|
||||||
|
Distribution: Mariner
|
||||||
|
URL: http://www.hping.org/
|
||||||
|
Source0: https://src.fedoraproject.org/lookaside/pkgs/hping3/hping3-20051105.tar.gz/ca4ea4e34bcc2162aedf25df8b2d1747/hping3-20051105.tar.gz
|
||||||
|
Patch0: hping3-include.patch
|
||||||
|
Patch1: hping3-bytesex.patch
|
||||||
|
Patch2: hping3-getifnamedebug.patch
|
||||||
|
Patch3: hping3-cflags.patch
|
||||||
|
Patch4: hping3-man.patch
|
||||||
|
Patch5: hping3-20051105-typo.patch
|
||||||
|
Patch6: hping3-common.patch
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: libpcap-devel
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: tcl-devel
|
||||||
|
Obsoletes: hping2
|
||||||
|
Provides: hping2
|
||||||
|
|
||||||
|
%description
|
||||||
|
hping3 is a network tool able to send custom TCP/IP packets and to
|
||||||
|
display target replies like ping do with ICMP replies. hping3 can handle
|
||||||
|
fragmentation, and almost arbitrary packet size and content, using the
|
||||||
|
command line interface.
|
||||||
|
Since version 3, hping implements scripting capabilties
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n hping3-20051105
|
||||||
|
%patch0 -b .include
|
||||||
|
%patch1 -b .bytesex
|
||||||
|
%patch2 -p1 -b .getifnamedebug
|
||||||
|
%patch3 -b .cflags
|
||||||
|
%patch4 -b .man
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1 -b .common
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --force-libpcap
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
|
||||||
|
|
||||||
|
install -m0755 hping3 %{buildroot}%{_sbindir}
|
||||||
|
install -m0644 docs/hping3.8 %{buildroot}%{_mandir}/man8
|
||||||
|
|
||||||
|
ln -sf hping3 %{buildroot}%{_sbindir}/hping
|
||||||
|
ln -sf hping3 %{buildroot}%{_sbindir}/hping2
|
||||||
|
|
||||||
|
%check
|
||||||
|
# no upstream tests available yet
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc *BUGS CHANGES README TODO docs/AS-BACKDOOR docs/HPING2-HOWTO.txt
|
||||||
|
%doc docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/SPOOFED_SCAN.txt
|
||||||
|
%doc docs/HPING3.txt
|
||||||
|
%attr(755,root,root) %{_sbindir}/*
|
||||||
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 28 2023 Ameet Porwal <ameetporwal@microsoft.com> - 0.0.20051105-41
|
||||||
|
- Initial CBL-Mariner import from Fedora 38 (license: MIT).
|
||||||
|
- License verified
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-40
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-39
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-38
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-37
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-36
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Jeff Law <law@redhat.com> - 0.0.20051105-35
|
||||||
|
- Avoid multiple definitions of delaytable.
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-34
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-33
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-32
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-31
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-30
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-29
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-28
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-27
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20051105-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Sep 10 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.0.20051105-24
|
||||||
|
- Handle AArch64
|
||||||
|
|
||||||
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 0.0.20051105-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 17 2012 Paul Wouters <pwouters@redhat.com> - 0.0.20051105-18
|
||||||
|
- Fix typo in output (tramitting -> transmitting), rhbz#781325
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 25 2009 Dan Horak <dan[at]danny.cz> - 0.0.20051105-14
|
||||||
|
- update the bytesex patch to include s390/s390x arch
|
||||||
|
|
||||||
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 27 2008 Paul Wouters <paul@xelerance.com> - 0.0.20051105-12
|
||||||
|
- Fix for "sh" arch, see https://bugzilla.redhat.com/show_bug.cgi?id=471709
|
||||||
|
|
||||||
|
* Fri Nov 7 2008 Paul Wouters <paul@xelerance.com> - 0.0.20051105-11
|
||||||
|
- Fix for man page, see https://bugzilla.redhat.com/show_bug.cgi?id=456675
|
||||||
|
|
||||||
|
* Thu Jul 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.20051105-10
|
||||||
|
- fix license tag
|
||||||
|
|
||||||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.20051105-9
|
||||||
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
* Thu Jan 3 2008 Alex Lancaster <alexlan[AT]fedoraproject.org> - 0.0.20051105-8
|
||||||
|
- Rebuild against new Tcl 8.5
|
||||||
|
|
||||||
|
* Fri Feb 22 2007 Paul Wouters <paul@xelerance.com> 0.0.20051105-7
|
||||||
|
- Rebuild for new tcl 8.4 dependancy (it got rolled back)
|
||||||
|
|
||||||
|
* Fri Feb 2 2007 Paul Wouters <paul@xelerance.com> 0.0.20051105-6
|
||||||
|
- Rebuild for new tcl 8.5 dependancy
|
||||||
|
|
||||||
|
* Wed Nov 29 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-5
|
||||||
|
- Rebuild for new libpcap dependancy
|
||||||
|
|
||||||
|
* Thu Sep 7 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-4
|
||||||
|
- Rebuild requested for PT_GNU_HASH support from gcc
|
||||||
|
|
||||||
|
* Sun May 19 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-2
|
||||||
|
- Added Provides hping2 to fix upgrade path
|
||||||
|
|
||||||
|
* Sun May 07 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-1
|
||||||
|
- Initial Release based on hping2 package
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -323,6 +323,7 @@
|
||||||
"highlight",
|
"highlight",
|
||||||
"hivex",
|
"hivex",
|
||||||
"hostname",
|
"hostname",
|
||||||
|
"hping3",
|
||||||
"hsakmt",
|
"hsakmt",
|
||||||
"htop",
|
"htop",
|
||||||
"hunspell",
|
"hunspell",
|
||||||
|
|
|
@ -5385,6 +5385,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"component": {
|
||||||
|
"type": "other",
|
||||||
|
"other": {
|
||||||
|
"name": "hping3",
|
||||||
|
"version": "0.0.20051105",
|
||||||
|
"downloadUrl": "https://src.fedoraproject.org/lookaside/pkgs/hping3/hping3-20051105.tar.gz/ca4ea4e34bcc2162aedf25df8b2d1747/hping3-20051105.tar.gz"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
"type": "other",
|
"type": "other",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче