ports/151670: New port: net/hexinject HexInject is a very versatile packet injector and sniffer
Sofian Brabez
sbrabez at gmail.com
Sun Oct 24 02:40:10 UTC 2010
>Number: 151670
>Category: ports
>Synopsis: New port: net/hexinject HexInject is a very versatile packet injector and sniffer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 24 02:40:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sofian Brabez
>Release: FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd81 8.1-STABLE FreeBSD 8.1-STABLE #1: Tue Aug 31 22:46:46 CEST 2010
>Description:
HexInject is a very versatile packet injector and sniffer, that provide a
command-line framework for raw network access.
It's designed to work together with others command-line utilities, and for this
reason it facilitates the creation of powerful shell scripts capable of reading,
intercepting and modifying network traffic in a transparent manner.
WWW: http://hexinject.sourceforge.net
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- hexinject-1.1.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# hexinject
# hexinject/Makefile
# hexinject/pkg-descr
# hexinject/distinfo
# hexinject/files
# hexinject/files/patch-hexinject.c
#
echo c - hexinject
mkdir -p hexinject > /dev/null 2>&1
echo x - hexinject/Makefile
sed 's/^X//' >hexinject/Makefile << '5fd54a8b95aacffb8a1886198bed0bea'
X# New ports collection makefile for: hexinject
X# Date created: 2010-10-24
X# Whom: Sofian Brabez <sbrabez at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= hexinject
XPORTVERSION= 1.1
XCATEGORIES= net security
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
X
XMAINTAINER= sbrabez at gmail.com
XCOMMENT= HexInject is a very versatile packet injector and sniffer
X
XPLIST= bin/${PORTNAME}
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
5fd54a8b95aacffb8a1886198bed0bea
echo x - hexinject/pkg-descr
sed 's/^X//' >hexinject/pkg-descr << 'c9eaaeb44db5f410d1896398f3f222ac'
XHexInject is a very versatile packet injector and sniffer, that provide a
Xcommand-line framework for raw network access.
X
XIt's designed to work together with others command-line utilities, and for this
Xreason it facilitates the creation of powerful shell scripts capable of reading,
Xintercepting and modifying network traffic in a transparent manner.
X
XWWW: http://hexinject.sourceforge.net
c9eaaeb44db5f410d1896398f3f222ac
echo x - hexinject/distinfo
sed 's/^X//' >hexinject/distinfo << '51bb2c3a31304f196ddc62e9f6fa7fcb'
XMD5 (hexinject-1.1.tar.gz) = 8542411cc5d31101e2a8f56b73dd6fa1
XSHA256 (hexinject-1.1.tar.gz) = 050852f89ea501c7bad768a694f8fd2d5f0c3de68da82647a1cb7aeb68e96e27
XSIZE (hexinject-1.1.tar.gz) = 4470
51bb2c3a31304f196ddc62e9f6fa7fcb
echo c - hexinject/files
mkdir -p hexinject/files > /dev/null 2>&1
echo x - hexinject/files/patch-hexinject.c
sed 's/^X//' >hexinject/files/patch-hexinject.c << 'a5a76621ab11d92770f9a00113de538e'
X--- ./hexinject.c.orig 2010-10-24 06:23:57.000000000 +0200
X+++ ./hexinject.c 2010-10-24 06:24:17.000000000 +0200
X@@ -424,7 +424,7 @@
X if ( (fp = pcap_open_live( options.device, // name of the device
X BUFSIZ, // portion of the packet to capture
X 1, // promiscuous mode
X- -1, // read timeout
X+ 1000, // read timeout
X errbuf // error buffer
X )) == NULL)
X
a5a76621ab11d92770f9a00113de538e
exit
--- hexinject-1.1.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list