Search squid archive

Re: Deny IPs

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

 



2010/5/18 kranthi <kranthi117@xxxxxxxxx>:
> 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/

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

  Powered by Linux