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

    Squid Returned to Packages *** PLEASE TEST ***

    Scheduled Pinned Locked Moved pfSense Packages
    226 Posts 46 Posters 159.6k 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.
    • D
      databeestje
      last edited by

      well, put the deny all acl on top and see if that works :-)

      1 Reply Last reply Reply Quote 0
      • S
        sergu61
        last edited by

        I upgraded package squid-2.5.14_2 to 2.6.5
        Squid began to issue error:

        ./restart_squid.sh

        Restarting Squid whith config
        2006/12/22 19:50:54| aclParseAclLine: Invalid ACL type 'snmp_community'
        FATAL: Bungled squid.conf line 83: acl snmppublic snmp_community public
        Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
        Complete

        How make on install –enable-snmp ???

        Sergu

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

          STOP INSTALLING THE PACKAGE FROM THE SHELL/CLI/CONSOLE.

          reinstall the package from the webgui. Click System -> Packages -> Installed Packages -> reinstall package Icon.

          1 Reply Last reply Reply Quote 0
          • T
            trendchiller
            last edited by

            Hmmm, here with my system it won't install at all…
            That's what it tells me:

            _Downloading package configuration file… done.
            Saving updated package information... done.
            Downloading squid and its dependencies... done.
            Checking for successful package installation... failed!

            Installation aborted._

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

              @trendchiller:

              Hmmm, here with my system it won't install at all…
              That's what it tells me:

              _Downloading package configuration file… done.
              Saving updated package information... done.
              Downloading squid and its dependencies... done.
              Checking for successful package installation... failed!

              Installation aborted._

              May be previous version of squeed don't deinstall correctly?
              Check this can in -
              Command Prompt: pkg_info

              1. deinstall squid
              2. run pkg_info - squid package exists?
              3. if present need deinstall them: pkg_delete squid-2.5.-next number–

              after need install squid package again.

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply Reply Quote 0
              • T
                trendchiller
                last edited by

                No, it's not that, I already tried…
                I also use the latest snapshot 21-12

                in which package does the ldap client come along ?
                might be that one ?

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

                  save the config, reinstall your box. Then reinstall squid.

                  It only takes 10 minutes and you can run from livecd with the config on a usb stick whil you are installing.
                  Just put you existing config on a stick in the conf/ subdirectory named config.xml.

                  After rebooting the newly installed system will allready have the correct config.

                  1 Reply Last reply Reply Quote 0
                  • G
                    ginosteel
                    last edited by

                    nice to see that squid is back.The problem is that is not working like before.I wanna use a transparent proxy as my gateway but it cannot be used like that because of an error that says that cannot run in the same mode like webgui.Wich is the protocol for the webgui?I`ve tried a lot of ports but still nothing

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by

                      Change the port the webConfigurator is running on.

                      1 Reply Last reply Reply Quote 0
                      • T
                        trendchiller
                        last edited by

                        When I disable the checkbox log location and leave the field for the log location empty, I cannot save because it wants me to enter a location, even if i won't use it, so perhaps you should disable the check for the dir when the checkbox is disabled…

                        1 Reply Last reply Reply Quote 0
                        • X
                          xstas
                          last edited by

                          One more bugfix in squid.inc, string 352.
                          Original:

                          foreach (explode(trim($post['msnt_secondary'])) as $server) {
                          

                          must be changed on:

                          foreach (explode(',', trim($post['msnt_secondary'])) as $server) {
                          
                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by

                            Thanks, commited!

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

                              So enter a log location anyways. It's required.

                              1 Reply Last reply Reply Quote 0
                              • B
                                blodulv
                                last edited by

                                Using p5.

                                On line 915 of squid.inc a reference is made to $port:

                                
                                   $rules .= "pass in quick on $iface proto tcp from any to !($iface) port $port flags S/SA keep state\n";
                                
                                

                                I have a port defined, however, at this point in the script the $port variable has nothing assigned to it so I get a bad rule. My fix was just to comment that line out as I'm only using transparent proxy.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by

                                  @blodulv:

                                  Using p5.

                                  On line 915 of squid.inc a reference is made to $port:

                                  
                                     $rules .= "pass in quick on $iface proto tcp from any to !($iface) port $port flags S/SA keep state\n";
                                  
                                  

                                  I have a port defined, however, at this point in the script the $port variable has nothing assigned to it so I get a bad rule. My fix was just to comment that line out as I'm only using transparent proxy.

                                  You are not running the latest squid package.  There are only 863 lines in squid.inc on the latest and the pass rules do not look anything like that…

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

                                    looks like we're back to:

                                    stopping /usr/local/etc/rc.d/proxy_monitor.sh…

                                    again.

                                    just installed squid and used transparent proxy.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by

                                      @hadi57:

                                      looks like we're back to:

                                      stopping /usr/local/etc/rc.d/proxy_monitor.sh…

                                      again.

                                      just installed squid and used transparent proxy.

                                      Upgrade to latest snapshot.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        adrianhensler
                                        last edited by

                                        It's really late here so I could be off the mark; but I also think there's something funky going on. I'm also getting the empty $port creating:

                                        There were error(s) loading the rules: /tmp/rules.debug:250: syntax errorpfctl: Syntax error in config file: pf rules not loaded - The line in question reads [250]: pass in quick on sk0 proto tcp from any to !(sk0) port flags S/SA keep state…

                                        I've just reinstalled and am using 2.6.5_1-p5.  I'll take another look tomorrow evening if I have a chance.... I'm sure someone will figure it out before I do.

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

                                          My bad, fixing into P6

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

                                            Fixed.

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