Hi, All.

Just a brief introduction -- my name's Andrew Reid, and I'm currently
maintaining Alfred, a set of extensions to Squid and squidGuard that
allow for user quotas to be implemented. See http://www.alfred.cx/ for
the full run-down.

We've implemented it using squidGuard (which, BTW is excellent :-) to do
the blocking at when a user reaches their quota. To do that, squidGuard
talks through a socket to squidhelper (the core of our system) and gets
told when to block someone.

That's required us to patch squidGuard to know about a new source called
"quota". When that reaches a certain amount, the ACL redirects to a
"You've reached your quota" page. Here's a snippet from our
squidGuard.conf:

---

dbhome /opt/squid/squidGuard/
logdir /opt/squid/squidGuard/
quotasock /opt/squid/run/quota.socket

src hardquota {
    quota 100
}

acl {

        hardquota {
                 pass none
                 redirect http://internal/redirects/quota-passed.html
                 }
        }
---

I'm sure you get the picture. As you can see, we've also added a
configuration file option to specify the quota socket.

All this was done in 1.1.2! I've been fairly flat out with other things,
and haven't been able to pay the attention that I should be to Alfred.
However, I've been given time now, and I'm actively doing stuff.

I just noticed on http://www.squidGuard.org/ that 1.2.0 has been
released. Seems as though I missed a bit whilst I was sleeping :-)

Now, here's the question (enough beating round the bush, eh?): If I can
provide you with patches to squidGuard-1.2.0 (or the CVS version,
whichever you prefer) are you able to integrate them into the official
release?

At the moment, I've just got a patched version of squidGuard-1.1.2
sitting in the Alfred CVS repository. It's a bit of a pain really. It
gets more painful when you try to build a FreeBSD port that uses
dependencies :-/

What do you think about this? I've managed to get another patch that we
wrote incorporated into the upcoming Squid-2.5, so squidGuard is left as
the only real "missing piece".

Thanks for your time. I look forward to hearing from you.

   - andrew
 
-- 
Andrew J. Reid                    "Catapultam habeo. Nisi pecuniam omnem
[EMAIL PROTECTED]               mihi dabis, ad caput tuum saxum immane
+61 401 946 813                   mittam"                               

Reply via email to