This is a bit of an odd question, is it possible to configure squid to query a bash script instead of the database files it would normally.
The reason I want to be able to do this is we have a large number offices world wide all of which have their internet access filtered by their own squid servers, and I'm don't want to have to log into a couple of hundred ssh terminals to update the databases every time we add a number of blocked sites, I have proposed the change over to a central database (and got it accepted).
If anyone has any suggestions that do not involve squid then the premise is simple.
The local office server (acting as a transparent proxy) receives a request on port 80
The url is queried with the central server
The central server returns true (whitelist) or false (blacklist)
The local server retrieves the appropriate url (IE: the requested url if returned true; redirects if returned false)
So there you go, anyone got anything?