README
Version: 1.2
Author: Leonhard Fellermayr (leosmail@mac.com)
$Id: README,v 0.02 2001/10/23 15:23:19 leo Exp $
INTENTION
This is a small, perl-based authentication module for squid. It uses
/etc/shadow for authenticating users. Furthermore, you are able to use
aliases for your UNIX names (e.g., abbreviations). An example aliases.map
file is included.
You also have the possibility to block certain users explicitly by
specifying them in the file deny.map.
There is a logging facility included in the script.
PREREQUISITES
- the Squid Proxy Server (http://www.squid-cache.org/)
- a system with shadow passwords
- a perl distribution with suidperl installed
INSTALLATION
Copy the perl script into /usr/bin, and the two config files into /etc.
This script must be run 'suid-root' because it needs read access to /etc/shadow. You can reach this by doing "chmod 4755 scriptname".
Open your squid configuration file (e.g., /etc/squid.conf or /usr/local/squid/etc/squid.conf) and specify the path to this script in the line "authenticate_program".
Of course, you first set up some ACL's in squid.conf for using this (like "...blahbla... proxy_auth REQUIRED". You can find very good documentation concerning these configuration issues at squid's website, http://www.squid-cache.org.
You also have to specify the paths to the two map files within the top of this script. Probably you have to change the path to your perl interpreter in the first line.
THE AUTHOR
If you have problems or experience errors with this little script, you can reach me via e-mail at lf-router@gmx.de.
22.10.2001, L. Fellermayr
aliases.map 0100600 0001750 0001750 00000000630 07364405311 011311 0 ustar leo leo root = admin administrator eeeeh
felix = feo f eeh
robert = DaRealKing r eeeh
timon = MrBootSektor t
ger.forster = forster
leo = lf zauberer l
ger.schwengl = ger.schwengler schwengler arsch
wil.poost = poost intelligenzbolzen
brandy = and.brandmai
oli.drews = oli
mat.kappler = matze
and.badurczy = pawlak
mar.stibi = markus mks
lyd.lindner = agoeh
joh.kohlmann = kloetenkalle
tobias = tf jochn
anna = a au
