Search squid archive

RE: External ACL control/MACs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ons 2006-04-12 klockan 20:41 -0400 skrev Jason Gauthier:

> IP it is!  I'm not stuck on the MAC thing. IP would be perfectly
> acceptable.
> Is there any documentation on how to accomplish this?

The login page is web application programming in any environment you
prefer. Not exacly Squid related, just a web page where the user can log
in. If access to this page is also going via the proxy then remember to
grab the client IP from the HTTP_X_FORWARDED_FOR CGI variable as the
TCP/IP source IP will be the proxy..

To plug this into Squid you need to write a small helper which is
capable to query if a given IP is registered as logged in or not in your
login application. See the external_acl_type directive for what Squid
expects from this helper. deny_info can be used to send the client to
the login page if not currently logged in.

I am not aware of many prebuilt such application available on the
Internet. Probably because it in large is very dependent on the
authentication method used and what database/registry is selected for
the session storage.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux