ports/57964: [new port] www/mod_authenticache: A generic credential caching module for Apache 2.0.x
Clement Laforet
sheepkiller at cultdeadsheep.org
Mon Oct 13 16:50:35 UTC 2003
>Number: 57964
>Category: ports
>Synopsis: [new port] www/mod_authenticache: A generic credential caching module for Apache 2.0.x
>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: Mon Oct 13 09:50:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
As HTTP is a relatively stateless protocol, each request generates an
authentication attempt. While this is cheap when authenticating against dbm or
htpasswd files, it can get very expensive when running against a Windows
domain controller, ACE server, or other networked database, particularly on
image-rich pages and FancyIndexes from mod_autoindex.
mod_authenticache provides a secure method of caching credentials in order to
more efficiently serve in these situations.
WWW: http://killa.net/infosec/mod_authenticache/
>How-To-Repeat:
N/A.
>Fix:
--- mod_authenticache.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:
#
# mod_authenticache
# mod_authenticache/Makefile
# mod_authenticache/distinfo
# mod_authenticache/pkg-descr
# mod_authenticache/pkg-plist
#
echo c - mod_authenticache
mkdir -p mod_authenticache > /dev/null 2>&1
echo x - mod_authenticache/Makefile
sed 's/^X//' >mod_authenticache/Makefile << 'END-of-mod_authenticache/Makefile'
X# New ports collection makefile for: mod_authenticache
X# Date created: Fri Oct 10
X# Whom: Clement Laforet <sheepkiller at cultdeadsheep.org>
X#
X# $FreeBSD$
X
XPORTNAME= mod_authenticache
XPORTVERSION= 2.0.6
XCATEGORIES= www
XMASTER_SITES= http://killa.net/infosec/mod_authenticache/
XDIST_SUBDIR= apache
X
XMAINTAINER= sheeepkiller at cultdeadsheep.org
XCOMMENT= A generic credential caching module for Apache 2.0.x
X
XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XAPXS?= ${LOCALBASE}/sbin/apxs
X
Xdo-build:
X @(cd ${WRKSRC}/ && ${APXS} -I. -c ${PORTNAME}.c)
X
Xdo-install:
X @(cd ${WRKSRC}/ && ${APXS} -A -i ${PORTNAME}.la)
X
X.include <bsd.port.mk>
END-of-mod_authenticache/Makefile
echo x - mod_authenticache/distinfo
sed 's/^X//' >mod_authenticache/distinfo << 'END-of-mod_authenticache/distinfo'
XMD5 (apache/mod_authenticache-2.0.6.tar.gz) = 9f6934343be8a585ba3a720aa3ee8e5a
END-of-mod_authenticache/distinfo
echo x - mod_authenticache/pkg-descr
sed 's/^X//' >mod_authenticache/pkg-descr << 'END-of-mod_authenticache/pkg-descr'
XAs HTTP is a relatively stateless protocol, each request generates an
Xauthentication attempt. While this is cheap when authenticating against dbm or
Xhtpasswd files, it can get very expensive when running against a Windows
Xdomain controller, ACE server, or other networked database, particularly on
Ximage-rich pages and FancyIndexes from mod_autoindex.
X
Xmod_authenticache provides a secure method of caching credentials in order to
Xmore efficiently serve in these situations.
X
XWWW: http://killa.net/infosec/mod_authenticache/
END-of-mod_authenticache/pkg-descr
echo x - mod_authenticache/pkg-plist
sed 's/^X//' >mod_authenticache/pkg-plist << 'END-of-mod_authenticache/pkg-plist'
Xlibexec/apache2/mod_authenticache.so
X at exec %D/sbin/apxs -e -a -n authenticache %D/%f
X at unexec echo "===> If you do not plan on reinstalling mod_authenticache, you must manually remove"; echo "===> references to it in httpd.conf."
END-of-mod_authenticache/pkg-plist
exit
--- mod_authenticache.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list