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

    Squid3 - New GUI with sync, normal and reverse proxy

    Scheduled Pinned Locked Moved Cache/Proxy
    428 Posts 104 Posters 479.2k 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
      edanpedragosa
      last edited by

      I tried and monitored every day. Squid still turns off after a day.

      I will try a pfsense reinstall soon and see if it will happen again.

      1 Reply Last reply Reply Quote 0
      • M
        mhill
        last edited by

        Hi all,
        Thanks to all the posts here I am successfully running squid3-dev 3.3.10 as a squid-in-the-middle SSL proxy.

        Before I put this in production, I'd like to put additional CAs we trust (the US Department of Defense root CAs) where squid can use them.  I got the impression that importing them into the pfSense web GUI System: Certificate Authority Manager would help, but it has not made a difference so far.  Do I need to put those certs somewhere else?

        Thanks

        1 Reply Last reply Reply Quote 0
        • H
          ha11oga11o
          last edited by

          @ha11oga11o:

          @bellera:

          @ha11oga11o:

          Failed to install package.

          Installation halted.

          Be patient. I had also this problem some weeks ago:

          https://forum.pfsense.org/index.php?topic=73919.0

          I will try to install it many times in row. But seems every try it needs system reboot because once installation fails it cannot see packages.

          many thnx for reply :)

          Still same error. Did anyone solve it so far?

          Seems i have similar issues when im trying to install any other package:/

          Thnx in advance :)

          1 Reply Last reply Reply Quote 0
          • H
            Heimdal
            last edited by

            Same Problem after upgrading to 2.1.3 amd64.  Squid stops accepting connections and crashes shortly after with nothing in the log files indicating what might be the culprit.  Darkstats, Arpwatch, and my ntop packages have also started to stop unexpectedly.  Squid3+SquidGuard run smooth for about 24 hours and this problem occurs.  I only cache large updates, and YouTube viral videos; otherwise, Squid for my environment is there to monitor usage and restrict sites.  This setup is on edge appliance with three 1GB WANs that host about 2000+ public connections.  It saves me around 1TB of traffic a month.  When it goes down, my day does not go well.  Uninstalled for now, would appreciate anyone advice what might the cause of this; furthermore, if anyone has had luck 2.1.3 + Squid-devel package on amd64.

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

              I am still experiencing the same problem.

              I've got the time last week to reinstall pfsense amd-64 and the same problem exists.

              So my solution right now is to reboot pfsense everyday using CRON @ 1 am. That way pfsense will be alive the next working day.

              I'm suspecting one of the packages installed is messing it up at 12 midnight so I do a cron to reboot the machine @ 1am daily.

              To heimdal, you can install the CRON package then add a cron task:

              0 1 * * * root /sbin/reboot

              I hope the fix will be released soon.

              1 Reply Last reply Reply Quote 0
              • P
                pubmsu
                last edited by

                Same issue here - squid stops working every now and then randomly, with the same log entries as shared by member below: Squid 3.1.20 pkg 2.0.7 on pfSense 2.1.3

                @edanpedragosa:

                Since upgrading, I noticed that Squid and Squidguard stops after a day.

                It will work the whole day after I restarted the services but the next day, it's not working again.  I then need to restart the services again then it will work for the day then stops again the next day and so on….

                1 Reply Last reply Reply Quote 0
                • H
                  ha11oga11o
                  last edited by

                  Guys, i thinki solved mine issue…

                  I had problems installing packages on new builds... only if SNORT is on.

                  So, i simply disable Snort while installing and all is fine.

                  Hope someone will find it useful.

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

                    Thanks to marcelloc!

                    The latest update seems to have fixed the problem of squid stopping at midnight and never restarted properly.

                    My pfsense machine has now been up for 5 days and counting.

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zang3tsu
                      last edited by

                      I'm getting the error as described in this thread: http://www.squid-cache.org/mail-archive/squid-users/201406/0117.html with this version: 3.3.10 pkg 2.2.6 on pfSense 2.1.4-RELEASE (amd64).

                      According to the thread, it could be fixed with the 3.3.11 version. Any chance of getting an update to that version? Thanks.

                      Sample error log:

                      2014/06/27 00:42:40 kid1|  parse error while reading template file: /usr/pbi/squid-amd64/etc/squid/errors/en/error-details.txt
                      2014/06/27 00:42:40 kid1| Unable to load default error language files. Reset to backups.
                      2014/06/27 00:42:40 kid1|  parse error while reading template file: /usr/pbi/squid-amd64/etc/squid/errors/templates/error-details.txt
                      2014/06/27 00:42:40 kid1| WARNING: failed to find or read error text file error-details.txt
                      
                      1 Reply Last reply Reply Quote 0
                      • C
                        Cino
                        last edited by

                        i get the same error on but squid is running for me with no other issues. I am running i386 tho

                        1 Reply Last reply Reply Quote 0
                        • Z
                          zang3tsu
                          last edited by

                          I actually found this while fixing another issue. The issue is fixed now and squid is running even with the error.

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

                            was the fix copying over some files? I've been meaning to switch over to amd64 but haven't since other installs have had issues with squid and dansguardian

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zang3tsu
                              last edited by

                              Uh no. It's not actually fixed per the above error message. I just had an issue with my settings in the reverse proxy and that issue is fixed now. Otherwise, squid is running good with squidGuard. I think I tried dansguardian before but SSL filtering doesn't seem to work so I just opted for squidGuard.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mhab12
                                last edited by

                                I was getting the previously discussed msgget failed error and the squid service would not stay running.  The issue only appeared about a week after installing lightsquid, probably when the files were set to update.  I uninstalled lightsquid but that didn't seem to help.  I cleared the squid cache but that didn't seem to help.  The only fix I found was to reboot the box after removing lightsquid and now everything is up and running smoothly.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DavidMcQueenLPS
                                  last edited by

                                  Recently we install the following:

                                  • pfSense 2.1.5 VM
                                  • Squid3dev 3.3.10 pkg 2.2.6
                                  • Diladele 3.3.0.E807

                                  We are running in transparent mode with HTTPS bumping.

                                  Lately we have been getting icap errors:

                                  The message is coming from Squid:

                                  ICAP protocol error.
                                  The system returned: [No Error]

                                  Is there anywhere I can look for more detail?

                                  Also, while looking in the /var/squid/logs/cache.log I have been seeing many:

                                  parse error while reading template file: /usr/pbi/squid-amd64/etc/squid/errors/templates/error-details.txt
                                  WARNING: failed to find or read error text file error-details.txt

                                  This file does exist:

                                  -r–r--r--  1 proxy  proxy  7151 Nov 26  2013 error-details.txt

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

                                    Hi guys,

                                    I configured pfSync + CARP and both server are running ok. But Squid "Sync to configured system backup server" does not work. I'm getting this message in system logs

                                    php: /pkg_edit.php: [squid] xmlrpc sync is enabled but there is no system backup hosts to push squid config.

                                    But, if I change this configuration to "Sync to hosts defined below" and put IP address from backup server everything works fine.

                                    This is a bug or I forgot some configuration?

                                    Thanks

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

                                      Hi!

                                      With HTTPS/SSL interception enabled, some desktop apps like google drive does not work.

                                      Any easy workaround for this?

                                      Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dooldeniya
                                        last edited by

                                        Hello,

                                        I am attempting to install squid3 from the packages menu and getting the following error:
                                        pfsense version: 2.2-BETA (amd64) built on Tue Oct 21 13:21:00 CDT 2014 FreeBSD 10.1-RC2

                                        Installation of squid3 FAILED!

                                        Beginning package installation for squid3 .
                                        Downloading package configuration file… done.
                                        Saving updated package information... done.
                                        Downloading squid3 and its dependencies...
                                        Checking for package installation...
                                        Downloading https://files.pfsense.org/packages/10/All/squid-3.1.22_1-amd64.pbi ...  could not download from there or https://files.pfsense.org/packages/10/All//squid-3.1.22_1-amd64.pbi.
                                        of squid-3.1.22_1-amd64 failed!

                                        Installation aborted.Removing package...
                                        Starting package deletion for squid-3.1.22_1-amd64...done.
                                        Removing squid3 components...
                                        Tabs items... done.
                                        Menu items... done.
                                        Services... done.
                                        Loading package instructions...
                                        Include file squid.inc could not be found for inclusion.
                                        Deinstall commands...
                                        Not executing custom deinstall hook because an include is missing.
                                        Removing package instructions...done.
                                        Auxiliary files... done.
                                        Package XML... done.
                                        Configuration... done.
                                        done.
                                        Failed to install package.

                                        Installation halted.

                                        Is this not available on 2.2 as a pbi? Do I need to install manually via CLI?

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

                                          Hi!

                                          Is there a way to revert back to 3.3.10 pkg 2.2.6 from the current 3.3.10 pkg 2.2.8?

                                          Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            finalcut
                                            last edited by

                                            why do you want to revert back ,, i'm about to update ?

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