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

    Squid 3.3.4 package for pfsense with ssl filtering

    Scheduled Pinned Locked Moved Cache/Proxy
    305 Posts 72 Posters 317.8k 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.
    • I
      iodaddio
      last edited by

      @wheelz:

      @marcelloc:

      @wheelz:

      /libexec/ld-elf.so.1: /usr/lib/librt.so.1: unsupported file layout

      on 2.0.3, use pkg_add and pkg_delete to get squid 3.3.5

      i386
      pkg_add -r http://e-sac.siteseguro.ws/packages/8/All/squid-3.3.5.tbz

      amd64
      pkg_add -r http://e-sac.siteseguro.ws/packages/amd64/8/All/squid-3.3.5.tbz

      Hmm… that's what I did.  It complained about perl and openssl (I think) so I deleted them and let the pkg_add -r install the versions it wanted.  After that it was successfull, however squid -v won't run with the error above.

      When I do that, it complains that perl is the wrong version.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @iodaddio:

        When I do that, it complains that perl is the wrong version.

        check all dependent libs from the beginning of this topic. The manual update works fine if applied on with same architecture as operating system.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          I got this when I start Squid (that stops immediatly)

          Jun 6 19:56:59 squid: No valid signing SSL certificate configured for https_port 127.0.0.1:443
          Jun 6 19:57:04 php: /status_services.php: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was '2013/06/06 19:56:59| ERROR: Directive 'ignore_expect_100' is obsolete. FATAL: No valid signing SSL certificate configured for https_port 127.0.0.1:443 Squid Cache (Version 3.3.5): Terminated abnormally. CPU Usage: 0.013 seconds = 0.000 user + 0.013 sys Maximum Resident Size: 34816 KB Page faults with physical i/o: 0'
          Jun 6 19:57:06 squid: No valid signing SSL certificate configured for https_port 127.0.0.1:443

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            @stanthewizard:

            I got this when I start Squid (that stops immediatly)

            What config are you using? reverse proxy? normal proxy? did you configured a valid CA for squid?

            While using transparent proxy, do not select loopback interface.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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

              I have removed 3.3.4

              I followed your commands line for 3.3.5. But no squid … after reinstallation, I'll see if I still have the error message.

              Thanks for your help

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                @stanthewizard:

                I followed your commands line for 3.3.5. But no squid … after reinstallation, I'll see if I still have the error message.

                fill ssl fields (port, etc) and save config.

                check if all libs are there with squid -v

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

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

                  I don't understand
                  squid -v give me a lot of file.

                  but no squid in menu or packages  :-X

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    @stanthewizard:

                    I don't understand
                    squid -v give me a lot of file.

                    but no squid in menu or packages  :-X

                    The upgrade process from 3.3.4 to 3.3.5 is only on console. You do not need to remove squid3-dev package on gui.

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

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

                      Damned

                      How do I reinstall the console ?

                      Thanks

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

                        On one of the Pfsense 2.1RC0 … I nailed the SSL Certificat culprit.
                        The service is UP with this in the log:

                        php: /status_services.php: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was '2013/06/07 08:02:02| ERROR: Directive 'ignore_expect_100' is obsolete. squid: No running copy'

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          @stanthewizard:

                          How do I reinstall the on console ?

                          Reinstall package squid3-dev via gui.

                          Go to console/ssh, remove with pkg_delete squid-3.3.4 and install using pkg_add squid-3.3.5.

                          @stanthewizard:

                          ERROR: Directive 'ignore_expect_100' is obsolete. squid: No running copy'

                          I've pushed a fix with no version bump. a package reinstall should fix it.

                          If you what to just manual update it, run these two fetch cmd on console

                          fetch -o /usr/local/pkg/squid_reverse.inc https://raw.github.com/pfsense/pfsense-packages/8ba97bb7780495943c2d50547514d5b388d06329/config/squid3/33/squid_reverse.inc
                          fetch -o /usr/local/pkg/squid_reverse_general.xml https://raw.github.com/pfsense/pfsense-packages/8ba97bb7780495943c2d50547514d5b388d06329/config/squid3/33/squid_reverse_general.xml
                          

                          Treinamentos de Elite: http://sys-squad.com

                          Help a community developer! ;D

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

                            Aouch

                            with pkg_add

                            pkg_add: can't stat package file 'squid-3.3.5'

                            :-\

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              @stanthewizard:

                              pkg_add: can't stat package file 'squid-3.3.5'

                              white url are you using to fetch squid 3.3.5?

                              Treinamentos de Elite: http://sys-squad.com

                              Help a community developer! ;D

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

                                sorry I don't understand

                                I think I have no specific url

                                1 Reply Last reply Reply Quote 0
                                • marcellocM
                                  marcelloc
                                  last edited by

                                  @stanthewizard:

                                  sorry I don't understand

                                  On console/ssh use  pkg_delete to remove squid-3.3.4 and pkg_add to get squid 3.3.5

                                  i386 systems
                                  pkg_add -r http://e-sac.siteseguro.ws/packages/8/All/squid-3.3.5.tbz

                                  amd64 systems
                                  pkg_add -r http://e-sac.siteseguro.ws/packages/amd64/8/All/squid-3.3.5.tbz

                                  Treinamentos de Elite: http://sys-squad.com

                                  Help a community developer! ;D

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

                                    OK

                                    I installed it … but nothing in the GUI packages ...

                                    Did I do something wrong ?

                                    1 Reply Last reply Reply Quote 0
                                    • marcellocM
                                      marcelloc
                                      last edited by

                                      @stanthewizard:

                                      Did I do something wrong ?

                                      You forgot to install squid3-dev package before doing pkgdell/add on console.

                                      Treinamentos de Elite: http://sys-squad.com

                                      Help a community developer! ;D

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

                                        At last It works

                                        Thanks

                                        BTW
                                        with squid 3.3.5 there is a bug in 2.1 RC0 … endless loop updating package

                                        1 Reply Last reply Reply Quote 0
                                        • marcellocM
                                          marcelloc
                                          last edited by

                                          @stanthewizard:

                                          At last It works

                                          Thanks

                                          BTW
                                          with squid 3.3.5 there is a bug in 2.1 RC0 … endless loop updating package

                                          During firmware upgrade?

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

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

                                            At reboot

                                            Warning about package updating …. endlessly

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