Re: [squid-users] Deny IPs

From: Peng, Jeff <pyh_at_l.nsbeta.info>
Date: Tue, 18 May 2010 05:51:41 +0800

2010/5/18 kranthi <kranthi117_at_gmail.com>:
> Hi all,
> I want squid to deny requests from certain IPs and forward the rest.
> The list of IPs will be saved in an external file (or a MySql
> database), which will be updated every minute. (and my squid server
> can't be restarted every minute)

You can't do that unless hacking with Squid.
You may read the ip list from mysql into a text file using a script by
crontab, and deploy squid to work with that file. Once the file is
changed, you reconfigure Squid.

-- 
Tech support agency in China
http://duxieweb.com/
Received on Mon May 17 2010 - 21:51:47 MDT

This archive was generated by hypermail 2.2.0 : Tue May 18 2010 - 12:00:05 MDT