From: Joe C. <jo...@sw...> - 2003-06-11 05:41:25
|
Larry Gilson wrote: > I thought I would let you know that I figure this out finally. I don't know > if you care or not since this is not your module but I always think it rude > not to follow-up. > > At the command line, one can issue the squidGuard command to create a > database from a text file. The text file does not need to be identified as > a destination group in the squidguard.conf file. However, when issuing the > command via Webmin/miniserv, the entry/destination group needs to be in the > squidguard.conf file. The squidGuard binary did not return any errors and > the only way I found this was by trial and error. It is reproducable. All > I had to do is move the &rebuild_db($filename) subroutine call below > &flush_file_lines() so the db creation request is performed after the conf > file is updated. > > If you have any ideas why this might happen I would love to hear it. I just > can not figure out why this works the way it does. Then again, my brain is > thoroughly fried now anyway. Squidguard is, unfortunately, rather obtuse about error messages. Trial and error is often the only way to figure out problems. Another unfortunate thing is that Squidguard has been unmaintained for quite some time. Squid's recent ACL changes (splay trees for the ACL lists) make it entirely feasible to do all of the 'blacklist' uses of SquidGuard within Squid proper at similar performance (also worth noting is that Squid also has time ACLs in addition to user and pretty much anything else--so the same kinds of complex access controls can be implemented too), so in the long run it is likely easier to enhance the Squid module to support those kinds of features more cleanly... -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |