Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squidguard problem

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eleander
      last edited by

      Hi all,

      Got a PFSENSE config
      2.0.2-RELEASE (i386)
      built on Fri Dec 7 16:30:38 EST 2012
      FreeBSD 8.1-RELEASE-p13

      You are on the latest version.

      With following packages:

      • SQUID3
      • SQUIDGUARD
      • LIghtSquid
      • NTOP
      • SARG

      Today I did a maintenance of the box and upgraded the squid packages.
      I saw that I still had the old squid package on my system and did the following.

      • Upgraded all related packages
      • Uninstalled "squid" package
      • Reinstalled "SQUID3" package
      • Reinstalled "SquidGuard" package and I'm stuck with the following error!

      php: /pkg_edit.php: The command '/usr/local/sbin/squid -k reconfigure -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was 'FATAL: Bungled squid.conf line 4: http_port 127.0.0.1:3128 intercept Squid Cache (Version 2.7.STABLE9): Terminated abnormally.'

      It seems like it is still holding on to some old information! Can anyone point me in the right direction on what to edit?
      Kind regards,

      Me :)

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        Squidguard is compiled with squid2 so if you install squidguard it will always install squid2.
        to get it working with squid3 you need first to install squidguard (which contains squid2) and after that install squid3.

        Perhaps re-save squid3 config on GUI and on squidguard and then it should work.

        1 Reply Last reply Reply Quote 0
        • E
          Eleander
          last edited by

          Would like to add the following if i play around with settings : especially the transparant mode!

          php: /pkg_edit.php: The command '/usr/local/sbin/squid -k reconfigure -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2013/03/14 13:01:29| parseConfigFile: squid.conf:5 unrecognized: 'dns_v4_first' 2013/03/14 13:01:29| parseConfigFile: squid.conf:9 unrecognized: 'error_default_language' 2013/03/14 13:01:29| parseConfigFile: squid.conf:16 unrecognized: 'sslcrtd_children' 2013/03/14 13:01:29| ACL name 'all' not defined! FATAL: Bungled (null) line 182: http_reply_access allow all Squid Cache (Version 2.7.STABLE9): Terminated abnormally.'

          1 Reply Last reply Reply Quote 0
          • E
            Eleander
            last edited by

            @Nachtfalke:

            Squidguard is compiled with squid2 so if you install squidguard it will always install squid2.
            to get it working with squid3 you need first to install squidguard (which contains squid2) and after that install squid3.

            Perhaps re-save squid3 config on GUI and on squidguard and then it should work.

            Nachtfalcke,

            I've indeed followed the installs. From what I've seen/tested I needed to
            a) install Squidguard
            b) install Squid3
            c) Apply Settings withing the configuration BEFORE starting the services.

            Otherwise it wouldn't work!
            Strange, because it has been an upgrade I would assume the config is loaded (upgraded) directly!

            Nonetheless my Issue is resolved! I've seen a new squidpackages on the webserver.
            ANy idea on when it will be released and what it's improvements are?

            Kind regards,

            Me again

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke
              last edited by

              squid2 and squid3 config is not compatible in all places.
              some variables are the same in both packages but contain different values and this could break it.

              And if you upgrade pfsense then it depends on the order of package installation if it installs squidguard first or squid3.

              All this problems will be gone on pfsense 2.1. The one reason is that squidguard there is compiled without squid2 and the major improvement is that all the packages are .PBIs which is like a container and all packages use their own dependencies so they do not conflict with other packages.

              Don't know anything about improvements and release time.
              Changelog of squid can be found on the internet - probably more accurate than posting something here.

              1 Reply Last reply Reply Quote 0
              • E
                Eleander
                last edited by

                Nacht,

                Thx a lot. Will do so.
                I've a 2.1 beta running on one of my schools. Only thing I have is slow internet connection when SQUID and SQUIDguard are activated.

                But I'll repost that issue within the correct sub.

                Kind regards,

                Me

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.