Navigation

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

    Squid and Squidguard remove each other self

    Cache/Proxy
    2
    2
    424
    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.
    • X
      xdom last edited by

      Hi

      I have the follow Problem:

      After update my FW to 2.4.5 Squid dont work anymore. The Problem was that only the Squidguard Package was installed. After i reinstall Squid and want set some Settings on Squidguard i cant find the Configuration Pane of SquidGuard and i see that now only the Squid Package was installed but SquidGuard no more. Than i install Squidguard again and now Squid was deinstalled by the Install process of SquidGuard

      In the install Log i see the follow:

      Installed packages to be REMOVED:
      pfSense-pkg-squid-0.4.44_7
      squid3-3.5.28_1

      New packages to be INSTALLED:
      pfSense-pkg-squidGuard: 1.16.18_1 [pfSense]
      squidGuard: 1.4_15 [pfSense]
      squid: 4.1_2 [pfSense]

      SquidGuard install-log
      =================

      Installing pfSense-pkg-squidGuard...
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      Checking integrity... done (1 conflicting)

      • squid-4.1_2 [pfSense] conflicts with squid3-3.5.28_1 [installed] on /usr/local/etc/squid/cachemgr.conf.sample
        Checking integrity... done (0 conflicting)
        The following 5 package(s) will be affected (of 0 checked):

      Installed packages to be REMOVED:
      pfSense-pkg-squid-0.4.44_7
      squid3-3.5.28_1

      New packages to be INSTALLED:
      pfSense-pkg-squidGuard: 1.16.18_1 [pfSense]
      squidGuard: 1.4_15 [pfSense]
      squid: 4.1_2 [pfSense

      Number of packages to be removed: 2
      Number of packages to be installed: 3
      [1/5] Deinstalling pfSense-pkg-squid-0.4.44_7...
      Removing squid components...
      Menu items... done.
      Services... done.
      Loading package instructions...
      Deinstall commands... done.
      [1/5] Deleting files for pfSense-pkg-squid-0.4.44_7: .......... done
      Removing squid components...
      Configuration... done.
      [2/5] Deinstalling squid3-3.5.28_1...
      You may need to manually remove /usr/local/etc/squid/squid.conf if it is no longer needed.
      [2/5] Deleting files for squid3-3.5.28_1:
      squid3-3.5.28_1: missing file /usr/local/etc/rc.d/squid
      [2/5] Deleting files for squid3-3.5.28_1............. done
      ==> You should manually remove the "squid" user.
      ==> You should manually remove the "squid" group
      [3/5] Installing squid-4.1_2...
      ===> Creating groups.
      Using existing group 'squid'.
      ===> Creating users
      Using existing user 'squid'.
      ===> Pre-installation configuration for squid-4.1_2
      [3/5] Extracting squid-4.1_2: .......... done
      [4/5] Installing squidGuard-1.4_15...
      [4/5] Extracting squidGuard-1.4_15: ...... done
      [5/5] Installing pfSense-pkg-squidGuard-1.16.18_1...
      [5/5] Extracting pfSense-pkg-squidGuard-1.16.18_1: .......... done
      Saving updated package information...
      done.
      Loading package configuration... done.
      Configuring package components...
      Loading package instructions...
      Custom commands...
      Executing custom_php_install_command()...done.
      Executing custom_php_resync_config_command()...done.
      Menu items... done.
      Services... done.
      Writing configuration... done.
      Please visit Services - SquidGuard Proxy Filter - Target Categories and set up at least one category there before enabling SquidGuard. See https://forum.pfsense.org/index.php?topic=94312.0 for details.Message from squid-4.1_2:

      o You can find the configuration files for this package in the
      directory /usr/local/etc/squid.

       o The default cache directory is /var/squid/cache/.
         The default log directory is /var/log/squid/.
      
         Note:
         You must initialize new cache directories before you can start
         squid.  Do this by running "squid -z" as 'root' or 'squid'.
         If your cache directories are already initialized (e.g. after an
         upgrade of squid) you do not need to initialize them again.
      
       o When using DiskD storage scheme remember to read documentation:
           http://wiki.squid-cache.org/Features/DiskDaemon
         and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
         work reliably without this. Last recomendations were:
      
           kern.ipc.msgmnb=8192
           kern.ipc.msgssz=64
           kern.ipc.msgtql=2048
      
       o The default configuration will deny everyone but the local host and
         local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
         4291 for IPv6 access to the proxy service.  Edit the "http_access
         allow/deny" directives in /usr/local/etc/squid/squid.conf
         to suit your needs.
      
       o If AUTH_SQL option is set, please, don't forget to install one of
         following perl modules depending on database you like:
           databases/p5-DBD-mysql
           databases/p5-DBD-Pg
           databases/p5-DBD-SQLite
      
       To enable Squid, set squid_enable=yes in either
       /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
       Please see /usr/local/etc/rc.d/squid for further details.
      
       Note:
       If you just updated your Squid installation from an earlier version,
       make sure to check your Squid configuration against the 3.4 default
       configuration file /usr/local/etc/squid/squid.conf.sample.
      
       /usr/local/etc/squid/squid.conf.documented is a fully annotated
       configuration file you can consult for further reference.
      
       Additionally, you should check your configuration by calling
       'squid -f /path/to/squid.conf -k parse' before starting Squid.
      

      Message from squidGuard-1.4_15:

      In order to activate squidGuard you have to edit squid.conf
      To the contain "url_rewrite_program /usr/local/bin/squidGuard"
      and create a configuration file for squidGuard.

      Sample blacklists have been installed in /usr/local/share/examples/squidGuard.

      A sample configuration file has beeen installed in
      /usr/local/etc/squid/squidGuard.conf.sample.

      You need to edit the configuration and compile the blacklist
      you choose to use with:
      squidGuard -d -C all

      Please bear in mind that this is just a sample configuration file
      and for any real world usage you need to download or create your
      own updated blacklists and create your own configuration file.

      Check documentation here:

      http://www.squidguard.org/Doc/

      To activate the changes do a /usr/local/sbin/squid -k reconfigure

      Message from pfSense-pkg-squidGuard-1.16.18_1:

      Please visit Services - SquidGuard Proxy Filter - Target Categories and set up at least one category there before enabling SquidGuard. See https://forum.pfsense.org/index.php?topic=94312.0 for details.

      Cleaning up cache... done.
      Success

      Regard for Help

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        2.4.5 uses a newer copy of the ports tree where www/squid has changed to squid 4, but the package code is still only for squid 3. We fixed the dependency on the squid package to use www/squid3, but squidGuard is still looking for squid 4.x.

        We'll get that fixed shortly.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post