Regression #12125
closedsquidguard 1.16.18_19 conguration error
0%
Description
Since commit 675ad02cfca7c91eddf09cbf26810708ac833c9f my squidguard stop working.
I've made a minimal conf to track the problem and it seems squidstatus destination is used without being defined.
Here is the generated config file:
- ============================================================
- SquidGuard configuration file
- This file generated automaticly with SquidGuard configurator
- (C)2006 Serg Dvoriancev
- email: dv_serg@mail.ru
- ============================================================
logdir /var/squidGuard/log
dbhome /var/db/squidGuard
- test
src cinfo3test {
ip 10.168.0.31
}
- testtarget
dest testtarget {
domainlist testtarget/domains
}
rew safesearch {
s@(google..*/search?.*q=.*)&safe=active@i
(google..*/images.*q=.*)
s&safe=active@i
(google..*/groups.*q=.*)
s&safe=active@i
(google..*/news.*q=.*)
s&safe=active@i
(yandex..*/yandsearch?.*text=.*)
s&fyandex=1@i
(search.yahoo..*/search.*p=.*)
s&vm=r&v=1@i
(search.live..*/.*q=.*)
s&adlt=strict@i
(search.msn..*/.*q=.*)
s&adlt=strict@i
(.bing..*/.*q=.*)
s&adlt=strict@i
(duckduckgo..*/?.*q=.*)
s&kp=1@i
(rambler..*/?.*query=.*)
s&adult=family@i
(qwant..*/?.*q=.*)
s&s=2@i
(ecosia..*/search.*q=.*)
s&safesearch=2@i
(onesearch..*/yhs/search.*)@ &vm=r@i
s
log block.log
}
acl { # test
cinfo3test {
pass squidstatus testtarget !in-addr none
rewrite safesearch
} #
default {
pass all
redirect http://10.168.0.41:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
}
}
And the ouput of squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf -d
2021-07-14 10:44:07 [21433] New setting: logdir: /var/squidGuard/log
2021-07-14 10:44:07 [21433] New setting: dbhome: /var/db/squidGuard
2021-07-14 10:44:07 [21433] init domainlist /var/db/squidGuard/testtarget/domains
2021-07-14 10:44:07 [21433] loading dbfile /var/db/squidGuard/testtarget/domains.db
2021-07-14 10:44:07 [21433] squidGuard: ACL destination squidstatus is not defined in configfile /usr/local/etc/squidGuard/squidGuard.conf
2021-07-14 10:44:07 [21433] Going into emergency mode
I'll be happy to provide you with more informations.
Have a mice day.
Related issues
Updated by Viktor Gurov over 3 years ago
- Related to Bug #11711: New Squid Status Page Non-Functional added
Updated by Viktor Gurov over 3 years ago
- Tracker changed from Bug to Regression
Updated by Jim Pingle over 3 years ago
- Status changed from New to Pull Request Review