diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-14 15:53:48 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-08-14 15:53:48 +0000 |
commit | 5e133f9ad11c6c18913ddc0bb2c085be7198b693 (patch) | |
tree | 66b14be72a744cf2c56f835b12dac32d3ef07788 /security/hafiye | |
parent | 455b2dd5013268da671af3adec7b96a5fa92b31d (diff) | |
download | ports-5e133f9ad11c6c18913ddc0bb2c085be7198b693.tar.gz ports-5e133f9ad11c6c18913ddc0bb2c085be7198b693.zip |
add hafiye 1.0
Multi Platform Customizable TCP/IP Packet Sniffer
Notes
Notes:
svn path=/head/; revision=64504
Diffstat (limited to 'security/hafiye')
-rw-r--r-- | security/hafiye/Makefile | 29 | ||||
-rw-r--r-- | security/hafiye/distinfo | 1 | ||||
-rw-r--r-- | security/hafiye/pkg-comment | 1 | ||||
-rw-r--r-- | security/hafiye/pkg-descr | 18 | ||||
-rw-r--r-- | security/hafiye/pkg-plist | 10 |
5 files changed, 59 insertions, 0 deletions
diff --git a/security/hafiye/Makefile b/security/hafiye/Makefile new file mode 100644 index 000000000000..6f24e494e0db --- /dev/null +++ b/security/hafiye/Makefile @@ -0,0 +1,29 @@ +# ex:ts=8 +# Ports collection makefile for: hafiye +# Date Created: Aug 14, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= hafiye +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://www.enderunix.org/hafiye/ \ + http://www.acikkod.org/hafiye/ + +MAINTAINER= ports@FreeBSD.org + +USE_REINPLACE= yes +MAKE_ENV= LDFLAGS="-lpcap" + +post-patch: + @${REINPLACE_CMD} -e "s|^CC|#CC|g ; s|^CFLAGS|#CFLAGS|g ; \ + s|^LDFLAGS|#LDFLAGS|g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hafiye ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${CP} -R ${WRKSRC}/KB/* ${DATADIR} + +.include <bsd.port.mk> diff --git a/security/hafiye/distinfo b/security/hafiye/distinfo new file mode 100644 index 000000000000..b8959eb817a8 --- /dev/null +++ b/security/hafiye/distinfo @@ -0,0 +1 @@ +MD5 (hafiye-1.0.tar.gz) = 5537acb500e9c78d448d7a9dea46f560 diff --git a/security/hafiye/pkg-comment b/security/hafiye/pkg-comment new file mode 100644 index 000000000000..94719ac1bb0b --- /dev/null +++ b/security/hafiye/pkg-comment @@ -0,0 +1 @@ +Multi Platform Customizable TCP/IP Packet Sniffer diff --git a/security/hafiye/pkg-descr b/security/hafiye/pkg-descr new file mode 100644 index 000000000000..4b80ba1576b1 --- /dev/null +++ b/security/hafiye/pkg-descr @@ -0,0 +1,18 @@ +When I looked at the source code for various famous sniffers, I've noticed +that they all had all seperate .C files for interpreting various protocols. +Why not have a sniffer that can understand user-supplied protocol details? +Here it is. + +When fired, Hafiye first visits each sub-directory under its knowledge-base +directory and opens to see whether it is a protocol knowledge-base file. If +so, It loads the necessary information from that file and places it into its +memory space. After constructing the supplied knowledge-base, Hafiye starts +looping for receiving packets. When a packet arrives, it demultiplexes the +layers according to its knowledge-base and prints protocol-based information. + +Features + - Multi Platform Support (Posix Compliant) + - Customizable Protocol Definitions (Layer II, III and IV) + - Customizable Packet Interpretation (Layer II, III and IV) + +WWW: http://www.enderunix.org/hafiye/ diff --git a/security/hafiye/pkg-plist b/security/hafiye/pkg-plist new file mode 100644 index 000000000000..c5e0fa92e1c2 --- /dev/null +++ b/security/hafiye/pkg-plist @@ -0,0 +1,10 @@ +bin/hafiye +share/hafiye/LII/IP +share/hafiye/LIII/ICMP +share/hafiye/LIII/TCP +share/hafiye/LIII/UDP +share/hafiye/LIV/DNS +@dirrm share/hafiye/LII +@dirrm share/hafiye/LIII +@dirrm share/hafiye/LIV +@dirrm share/hafiye |