I am currently using squidGuard, however the company has requested a few
enhancements that require me to redesign things a little.
What I need to do is something as well as squidGuard.
My initial thoughts on tackling this problem is to use the code as the
basis from the squid FAQ.
#!/usr/local/bin/perl
$|=1;
while (<>) {
.....
}
The bit of knowledge I am missing, is how to execute squidGuard away
from squid. I guess squid runs five processes of squidGuard for reasons
of efficiency.
Secondly, how do I then communicate with squidGuard from within the perl
script. I don't want to execute a new instance of squidGuard for every
request, but use one of the existing processes.
Any answers (direct) or resources so that I can get more information so
that I can get on and solve this problem.
Regards,
Adam.