Re: [squid-users] Blocking by ip

From: Philipp Rusch - NewVision-IT <philipp.rusch_at_newvision-it.de>
Date: Tue, 30 Sep 2008 20:40:30 +0200

John Doe schrieb:
>> Hello, I have in mysql database a list of ip of networks what I want
>> to admit connect to the proxy. Is possible verify if a new connection
>> try to connect to the proxy verify if their ip is in the database and
>> if is in, in that case, allow him to connect?
>>
>
> You could write an external_acl program that checks if the IP is in your mysql table and returns OK or ERR.
> Check the "helpers" directory in the squid sources for inspiration.
>
> JD
>
Or you have a look at www.squidguard.org, the new version 1.4 supports
MySQL DB

HTH, Philipp
Received on Tue Sep 30 2008 - 18:40:48 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 01 2008 - 12:00:03 MDT