1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add hafiye 1.0

Multi Platform Customizable TCP/IP Packet Sniffer
This commit is contained in:
Ying-Chieh Liao 2002-08-14 15:53:48 +00:00
parent 455b2dd501
commit 5e133f9ad1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64504
6 changed files with 60 additions and 0 deletions

View File

@ -69,6 +69,7 @@
SUBDIR += gringotts
SUBDIR += gtk-knocker
SUBDIR += gtkportscan
SUBDIR += hafiye
SUBDIR += hashish
SUBDIR += heimdal
SUBDIR += hlfl

29
security/hafiye/Makefile Normal file
View File

@ -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>

1
security/hafiye/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (hafiye-1.0.tar.gz) = 5537acb500e9c78d448d7a9dea46f560

View File

@ -0,0 +1 @@
Multi Platform Customizable TCP/IP Packet Sniffer

18
security/hafiye/pkg-descr Normal file
View File

@ -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/

10
security/hafiye/pkg-plist Normal file
View File

@ -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