diff --git a/security/didentd/Makefile b/security/didentd/Makefile new file mode 100644 index 000000000000..aa75c5d5091e --- /dev/null +++ b/security/didentd/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: publicfile +# Date created: 15 Oct 2001 +# Whom: Doobee R. Tzeck +# +# $FreeBSD$ +# + +PORTNAME= didentd +PORTVERSION= 0.2 +CATEGORIES= security +MASTER_SITES= http://untergrund.bewaff.net/~drt/c0re.jp/c0de/didentd/ http://c0re.jp/c0de/didentd/ + +MAINTAINER= drt@un.bewaff.net + +RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp + +ALL_TARGET= all +INSTALL_TARGET= install + +post-patch: + ${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/BLURB ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/INTERNALS ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/THANKS ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/WHY-ENCRYPT ${PREFIX}/share/doc/didentd + ${INSTALL_MAN} ${WRKSRC}/WHY-TAP ${PREFIX}/share/doc/didentd +.endif + +.include diff --git a/security/didentd/distinfo b/security/didentd/distinfo new file mode 100644 index 000000000000..a7aafc659d6e --- /dev/null +++ b/security/didentd/distinfo @@ -0,0 +1 @@ +MD5 (didentd-0.2.tar.gz) = 57dcf69b4a3dce6324e14aa29938ba13 diff --git a/security/didentd/files/patch-aa b/security/didentd/files/patch-aa new file mode 100644 index 000000000000..bf9c22460466 --- /dev/null +++ b/security/didentd/files/patch-aa @@ -0,0 +1,26 @@ +--- Makefile.orig Sun Oct 14 13:58:33 2001 ++++ Makefile Sat Oct 20 22:24:04 2001 +@@ -2,7 +2,7 @@ + + PROGS = didentd didentd-decrypt didentd-name didentd-static didentd-conf didentd-name-conf didentd-static-conf + +-CFLAGS = -g -Wall -Idjblib ++CFLAGS = -Wall -Idjblib + + all: djblib.a $(PROGS) + +@@ -64,10 +64,10 @@ + ranlib djblib.a + + install: $(PROGS) +- install -m 755 -s didentd didentd-name didentd-static /usr/local/bin +- install -m 755 -s didentd-conf didentd-name-conf didentd-static-conf /usr/local/bin +- install -m 755 -s didentd-decrypt /usr/local/bin +- install -m 644 didentd.8 didentd-name.8 didentd-decrypt.8 /usr/local/man/man8 ++ install -m 755 -s didentd didentd-name didentd-static %%LOCALBASE%%/bin ++ install -m 755 -s didentd-conf didentd-name-conf didentd-static-conf %%LOCALBASE%%/bin ++ install -m 755 -s didentd-decrypt %%LOCALBASE%%/bin ++ install -m 644 didentd.8 didentd-name.8 didentd-decrypt.8 %%LOCALBASE%%/man/man8 + + clean: + rm -f $(PROGS) *.o diff --git a/security/didentd/pkg-comment b/security/didentd/pkg-comment new file mode 100644 index 000000000000..b6ab5303af5f --- /dev/null +++ b/security/didentd/pkg-comment @@ -0,0 +1 @@ +Modular RfC1423 (identd) server sending encrypted audit tokens. diff --git a/security/didentd/pkg-descr b/security/didentd/pkg-descr new file mode 100644 index 000000000000..5ff30e5b2867 --- /dev/null +++ b/security/didentd/pkg-descr @@ -0,0 +1,22 @@ +didentd is a modular RfC1423 (identd) server for FreeBSD and Linux written +with security in mind. The Server normally runs chrooted under /proc/net on +an unprivileged id. + +Normally didentd does not send an username but an encrypted audit token to +the client. This token contains all information about the requested +connection: userid owning the connection, source ip:port, destination ip:port, +a timestamp. + +If a remote admin has a complaint about something from your machine he can +send this audit token back to you, you can pipe it through didentd-decrypt +and find out which user did the connection. didentd-decrypt outputs all the +information from the audit token. So you can have the benefit of ident +without revealing internal information from your system. + +There is also didentd-name which is a server returning the username of the +uid owning the requested connection. This is the classic ident approach. + +didentd-static is a server which delivers a fixed reply defined by the +administrator to every request. + +WWW: http://c0re.jp/c0de/didentd/ diff --git a/security/didentd/pkg-plist b/security/didentd/pkg-plist new file mode 100644 index 000000000000..2c9ffacc9337 --- /dev/null +++ b/security/didentd/pkg-plist @@ -0,0 +1,19 @@ +bin/didentd +bin/didentd-name +bin/didentd-static +bin/didentd-conf +bin/didentd-name-conf +bin/didentd-static-conf +bin/didentd-decrypt +man/man8/didentd.8 +man/man8/didentd-name.8 +man/man8/didentd-decrypt.8 +%%PORTDOCS%%share/doc/didentd/BLURB +%%PORTDOCS%%share/doc/didentd/INSTALL +%%PORTDOCS%%share/doc/didentd/INTERNALS +%%PORTDOCS%%share/doc/didentd/README +%%PORTDOCS%%share/doc/didentd/THANKS +%%PORTDOCS%%share/doc/didentd/TODO +%%PORTDOCS%%share/doc/didentd/WHY-ENCRYPT +%%PORTDOCS%%share/doc/didentd/WHY-TAP +%%PORTDOCS%%@dirrm share/doc/didentd