Project

General

Profile

Actions

Regression #12125

closed

squidguard 1.16.18_19 conguration error

Added by Alexis Pellicier 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
squidguard
Target version:
-
Start date:
07/14/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

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:

  1. ============================================================
  2. SquidGuard configuration file
  3. This file generated automaticly with SquidGuard configurator
  4. (C)2006 Serg Dvoriancev
  5. email:
  6. ============================================================

logdir /var/squidGuard/log
dbhome /var/db/squidGuard

  1. test
    src cinfo3test {
    ip 10.168.0.31
    }
  1. testtarget
    dest testtarget {
    domainlist testtarget/domains
    }

  1. rew safesearch {
    s@(google..*/search?.*q=.*) &safe=active@i
    s
    (google..*/images.*q=.*) &safe=active@i
    s
    (google..*/groups.*q=.*) &safe=active@i
    s
    (google..*/news.*q=.*) &safe=active@i
    s
    (yandex..*/yandsearch?.*text=.*) &fyandex=1@i
    s
    (search.yahoo..*/search.*p=.*) &vm=r&v=1@i
    s
    (search.live..*/.*q=.*) &adlt=strict@i
    s
    (search.msn..*/.*q=.*) &adlt=strict@i
    s
    (.bing..*/.*q=.*) &adlt=strict@i
    s
    (duckduckgo..*/?.*q=.*) &kp=1@i
    s
    (rambler..*/?.*query=.*) &adult=family@i
    s
    (qwant..*/?.*q=.*) &s=2@i
    s
    (ecosia..*/search.*q=.*) &safesearch=2@i
    s
    (onesearch..*/yhs/search.*)@ &vm=r@i
    log block.log
    }

  1. 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

Related to Bug #11711: New Squid Status Page Non-FunctionalResolvedViktor Gurov03/20/2021

Actions
Actions #1

Updated by Viktor Gurov about 2 months ago

  • Related to Bug #11711: New Squid Status Page Non-Functional added
Actions #2

Updated by Viktor Gurov about 2 months ago

  • Tracker changed from Bug to Regression
Actions #3

Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
Actions #4

Updated by Viktor Gurov about 2 months ago

  • Status changed from Pull Request Review to Feedback

Merged

Actions #5

Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to Resolved

PR merged.

Actions

Also available in: Atom PDF