#657347 default ACL is not working within access time

Package:
squidguard
Source:
squidguard
Description:
filter and redirector plugin for Squid
Submitter:
Vitaly Druzhinin
Date:
2026-11-04 18:21:12 UTC
Severity:
minor
Tags:
#657347#5
Date:
2012-01-25 20:09:17 UTC
From:
To:
My default ACL with 'within' keyword is not work properly and time 'within'
never happen.
I have checked the time interval and have made sure it is correct.
Others non default ACL with same 'within' interval does work property.

Here is my test configuration:

dbhome /var/lib/squidguard/db
logdir /var/log/squid
time freetime {
    weekly mtwhf 00:00-09:00
    weekly mtwhf 13:45-14:00
    weekly mtwhf 18:00-23:59
    weekly sa    00:00-23:59
}
dest news {
    domainlist  shallalist/BL/news/domains
    urllist     shallalist/BL/news/urls
    log         blocked.log
}
acl {
    default within freetime {
        pass    all
    } else {
        pass    !news all
        redirect
http://squidguard.localnet/cgi-bin/squidGuard?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
    }
}
# end of file

I have found this bug in fresh Debian 6.0.3 installed within OpenVZ
container which running on Proxmox server.

#657347#10
Date:
2012-01-25 20:50:08 UTC
From:
To:
Vitaly Druzhinin <vitalkadrug@gmail.com> wrote on 2012-01-26 06:09:

The default acl rule set:

The default section defines fallbacks for all acl rulesets. Thus if you
define a rewrite rule here it will be used in acls where there are no
rewrite rules defined.

From this definition you always need a default rule all the time. You
cannot reduce the default to a window of some hours or days. Please define
a special acl rule set with this time filter.

I let this bugreport open for all other users which have the same problem.
--- Have a nice day. Joachim (Germany)
#657347#19
Date:
2026-11-04 18:19:54 UTC
From:
To:
Dear submitter,

as the package squidguard has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1152953

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)