Re: [squid-users] Blocking by ip

From: John Doe <jdmls_at_yahoo.com>
Date: Tue, 30 Sep 2008 05:26:23 -0700 (PDT)

> 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

      
Received on Tue Sep 30 2008 - 12:26:34 MDT

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