Re: [squid-users] External Script for checks

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 05 Oct 2009 13:58:37 +0200

tor 2009-10-01 klockan 07:45 -0400 skrev michel_at_casa.co.cu:

> Would like to make a script for my squid server then checks against
> mysql search if the user is connected, compare against a file if the
> user exists in that list, take the ip address that I assign freeradius
> (stored in mysql) and squid allows Internet access.

This is done via external_acl_type in squid.conf.

Requirements:

you need a script that queries your mysql DB (or data extracted from
there) based on IP and returns the username authenticated at that IP.

Regards
Henrik
Received on Mon Oct 05 2009 - 11:58:43 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 05 2009 - 12:00:02 MDT