Allow hping to handle pppoe interfaces. While there, improve license marker
and add a note about PF running on the sending host to DESCR.
This commit is contained in:
parent
99f57f00f9
commit
1afe1dae0b
@ -1,15 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2013/03/11 11:35:47 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2013/04/02 15:15:53 sthen Exp $
|
||||
|
||||
COMMENT= TCP/UDP ping/traceroute tool
|
||||
|
||||
DISTNAME= hping2.0.0-rc3
|
||||
PKGNAME= hping-2.0.0rc3
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://www.hping.org/
|
||||
|
||||
# GPL
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB= c pcap
|
||||
|
11
net/hping/patches/patch-getlhs_c
Normal file
11
net/hping/patches/patch-getlhs_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-getlhs_c,v 1.1 2013/04/02 15:15:53 sthen Exp $
|
||||
--- getlhs.c.orig Tue Apr 2 16:09:52 2013
|
||||
+++ getlhs.c Tue Apr 2 16:10:57 2013
|
||||
@@ -62,6 +62,7 @@ int get_linkhdr_size(char *ifname)
|
||||
#ifdef DLT_ATM_CLIP
|
||||
case DLT_ATM_CLIP:
|
||||
#endif
|
||||
+ case DLT_PPP_ETHER:
|
||||
linkhdr_size = 8;
|
||||
break;
|
||||
#ifdef DLT_C_HDLC
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-send_c,v 1.1 2005/04/24 22:59:08 alek Exp $
|
||||
--- send.c.orig Sun Apr 24 20:29:06 2005
|
||||
+++ send.c Sun Apr 24 20:30:24 2005
|
||||
@@ -41,7 +41,7 @@ static void select_next_random_dest(void
|
||||
$OpenBSD: patch-send_c,v 1.2 2013/04/02 15:15:53 sthen Exp $
|
||||
--- send.c.orig Fri Aug 1 15:53:08 2003
|
||||
+++ send.c Tue Apr 2 15:44:57 2013
|
||||
@@ -41,7 +41,7 @@ static void select_next_random_dest(void)
|
||||
unsigned char ra[4];
|
||||
char a[4], b[4], c[4], d[4];
|
||||
|
||||
|
@ -14,3 +14,6 @@ stuff you can do using hping:
|
||||
- Remote OS fingerprinting
|
||||
- Remote uptime guessing
|
||||
- TCP/IP stacks auditing
|
||||
|
||||
N.B. the message "[send_ip] sendto: No route to host" often indicates
|
||||
that sending a packet has been blocked by PF on the local machine.
|
||||
|
Loading…
x
Reference in New Issue
Block a user