tls/ssl sniffer; port contributed by patroklos g argyroudis
This commit is contained in:
parent
b6b9fd94db
commit
f592d34285
27
net/sslsniffer/Makefile
Normal file
27
net/sslsniffer/Makefile
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2002/11/07 18:02:16 jakob Exp $
|
||||||
|
|
||||||
|
COMMENT= "SSLv3/TLS and SSLv2 sniffer"
|
||||||
|
|
||||||
|
DISTNAME= sslsniffer-1.21
|
||||||
|
CATEGORIES= net security
|
||||||
|
HOMEPAGE= http://crypto.stanford.edu/~eujin/sslsniffer/
|
||||||
|
MASTER_SITES= ${HOMEPAGE}
|
||||||
|
|
||||||
|
MAINTAINER= Patroklos Argyroudis <argp@ieee.org>
|
||||||
|
|
||||||
|
# GPL
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MAKE_FLAGS= CC='${CC}'
|
||||||
|
|
||||||
|
WRKDIST= ${WRKDIR}/sslsniffer
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/sslsniffer ${PREFIX}/sbin
|
||||||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sslsniffer
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sslsniffer
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
net/sslsniffer/distinfo
Normal file
3
net/sslsniffer/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (sslsniffer-1.21.tar.gz) = 8a3b8e72c393d1fffbe1060e834ebfe5
|
||||||
|
RMD160 (sslsniffer-1.21.tar.gz) = 2b42ff5f6aad20a226dab22f0208bce4ae6c86ba
|
||||||
|
SHA1 (sslsniffer-1.21.tar.gz) = 6c5cb518a9574a24f1b1c589b64659258d4d7ee3
|
35
net/sslsniffer/patches/patch-Makefile
Normal file
35
net/sslsniffer/patches/patch-Makefile
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# $OpenBSD: patch-Makefile,v 1.1.1.1 2002/11/07 18:02:16 jakob Exp $
|
||||||
|
--- Makefile.orig Mon Oct 8 23:11:16 2001
|
||||||
|
+++ Makefile Thu Nov 7 16:52:05 2002
|
||||||
|
@@ -1,26 +1,23 @@
|
||||||
|
-CC= gcc
|
||||||
|
PFLAGS= -cache-dir=/tmp/${USER}
|
||||||
|
PURIFY= purify ${PFLAGS}
|
||||||
|
-INCS= -I/usr/local/ssl/include
|
||||||
|
-LIBS= -L/usr/local/ssl/lib -L. -lnsl -lssl -lcrypto -lutl
|
||||||
|
+INCS= -I/usr/include
|
||||||
|
+LIBS= -L/usr/lib -L. -lssl -lcrypto -lutl
|
||||||
|
SRCS= sslsniffer.c
|
||||||
|
OBJS= ${SRCS:.c=.o}
|
||||||
|
BINS= sslsniffer
|
||||||
|
UTL_LIB= libutl.a
|
||||||
|
UTL_SRCS= general_utilities.c net_utilities.c
|
||||||
|
AR= ar
|
||||||
|
-ARFLAGS= rs
|
||||||
|
+ARFLAGS= r
|
||||||
|
BINS.PURIFY= sslpure
|
||||||
|
|
||||||
|
-CCFLAGS= -g -Wall -O3 -pedantic ${INCS}
|
||||||
|
-
|
||||||
|
all: $(UTL_LIB) ${BINS}
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
- ${CC} ${CCFLAGS} -c $<
|
||||||
|
+ ${CC} ${CFLAGS} ${INCS} -c $<
|
||||||
|
|
||||||
|
${BINS}: ${OBJS}
|
||||||
|
- ${CC} ${CCFLAGS} -o $@ ${OBJS} ${LIBS}
|
||||||
|
+ ${CC} ${CFLAGS} ${INCS} -o $@ ${OBJS} ${LIBS}
|
||||||
|
|
||||||
|
$(UTL_LIB): general_utilities.o net_utilities.o
|
||||||
|
${AR} ${ARFLAGS} $@ general_utilities.o net_utilities.o
|
6
net/sslsniffer/pkg/DESCR
Normal file
6
net/sslsniffer/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
A SSLv3/TLS and SSLv2 proxy server that sniffs SSL/TLS packets and prints
|
||||||
|
out the contents of packets in stdout. It can also serve as a (not very
|
||||||
|
efficient) proxy server. Note that this tool does not decrypt or even
|
||||||
|
attempt to decrypt the traffic that is routed through it.
|
||||||
|
|
||||||
|
WWW: ${HOMEPAGE}
|
4
net/sslsniffer/pkg/PLIST
Normal file
4
net/sslsniffer/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/11/07 18:02:16 jakob Exp $
|
||||||
|
sbin/sslsniffer
|
||||||
|
share/doc/sslsniffer/README
|
||||||
|
@dirrm share/doc/sslsniffer
|
Loading…
Reference in New Issue
Block a user