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

    [RESOLVED]squidGuard redirect causing squid fatal error

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 2.1k 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.
    • K
      kelsen
      last edited by

      Hi,

      SquidGuard: 1.4 Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)

      seems to have changed the .inc file which configures squid's redirector options.

      define('REDIRECT_BYPASS_OPT',      'url_rewrite_bypass');

      this line in specific adds the directive "url_rewrite_bypass" to the custom options of squid but it is not available  on squid 2.7 causing fatal error.

      php: squidguard_ldap.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '6', the output was '2015/01/26 09:00:16| parseConfigFile: squid.conf:106 unrecognized: 'url_rewrite_bypass' FATAL: No port defined Squid Cache (Version 2.7.STABLE9): Terminated abnormally. CPU Usage: 0.005 seconds = 0.005 user + 0.000 sys Maximum Resident Size: 968 KB Page faults with physical i/o: 0'

      1 Reply Last reply Reply Quote 0
      • C
        Cino
        last edited by

        what version of pfsense?
        what version of squidguard package?

        1 Reply Last reply Reply Quote 0
        • K
          kelsen
          last edited by

          pfSense 2.1.5 and SquidGuard: 1.4_4 v.1.9.9. it seems that a new squidGuard v.1.9.10 version was released, I'll update and see if the problem was resolved.
          The "installed package" widget didn't warned me that had an update

          1 Reply Last reply Reply Quote 0
          • C
            Cino
            last edited by

            use the new version of squidguard… i had added options to 1.9.9 which is why it wont work. it works for squid3 but not squid2 on 2.1.5

            1 Reply Last reply Reply Quote 0
            • K
              kelsen
              last edited by

              Worked, thank you!

              1 Reply Last reply Reply Quote 0
              • C
                Cino
                last edited by

                good to hear!!

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