On 3/27/13 11:06 AM, jbd wrote:
Hello everybody,

I'm using squid in forward proxy mode with squidguard for managing blacklists. Squid use the url_rewrite_program directive to let the squidguard processes manage the access to the requested URL.

From what I can see, to mimic the same behaviour in ATS, I've got two options :

- Using a simple helper script to translate the squidguard database into a remap.conf compatible format

- use the blacklist plugin

Do you have any feedback about any of those solutions ? I'm talking of thousands of blacklisted URLs and about 500 requests/s, and I've got no idea if the first solution will not put ATS on its knee ?

Well, if you don't change the blacklist often, then just generate a remap.config and reload on the live system with traffic_line -x. The lookup on the "host" in remap.config is a hash, so it should be good performance for many thousands of rules.

Writing a plugin that uses some sort of database for doing the blacklist would not be difficult.

-- Leif

Reply via email to