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 478.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.
    • T
      Topper727
      last edited by

      I have it installed in 2.2RC as of 12/30's release.  Does not run.  Starts then stops then starts then stops and if I try to run through transparent I get no data through unless it is application that uses and IP instead of a domain name to get the connection.  Is there a problem with DNS ?I use DNS Resolver the new one they say.. The DNS Fordwarder didn't work for me so I use that now.. But all is well without Squid.

      Why it don't stay running and keep restarting ?

      2.2-RC (amd64)
      built on Tue Dec 30 15:16:19 CST 2014
      FreeBSD pfSense.localdomain 10.1-RELEASE-p3 FreeBSD 10.1-RELEASE-p3 #0 8bdb2f8(releng/10.1)-dirty: Tue Dec 30 15:58:58 CST 2014 root@pfsense-22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10 amd64

      Dell 2950 g3 server
      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
      Current: 2000 MHz, Max: 2667 MHz
      8 CPUs: 2 package(s) x 4 core(s)
      8152 MiB and 600meg 10k drive
      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

        @Topper727:

        Why it don't stay running and keep restarting ?

        It looks like current pbi was build with debug options. Once we get the pull request mergerd and pbi build again with all used options, I think we get a 'ready to go' version

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

        Help a community developer! ;D

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

          @marcelloc did you update the symbolic links for the install also? I recall I had to create a bunch to get 3.4 to start on a fresh 2.2RC install. I have to check my notes, but I believe I was able to get clamd to run but c-icap wouldn't start up.

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

            Not yet.  I've fixed compile args but we need to wait a new pbi run for squid.

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

            Help a community developer! ;D

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

              thanks marcelloc!! Looking forward to it! waiting for a few more other packages to be updated and i'll be ready to switch over to 2.2

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

                @Topper727:

                …and if I try to run through transparent I get no data through unless it is application that uses and IP instead of a domain name to get the connection.  Is there a problem with DNS ?I use DNS Resolver the new one they say.. The DNS Fordwarder didn't work for me so I use that now.. But all is well without Squid.

                Sadly, the issue persists after updating to 3.4.10_2 pkg 0.2.1.

                Cheers.

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

                  Same here on 3.4.10_2 pkg 0.2.5.. Transparent still gives no net unless secure https .. then of course it don't go through proxy (not have it setup to do https) so all works there.. but all other pages show can't find page

                  Dell 2950 g3 server
                  Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                  Current: 2000 MHz, Max: 2667 MHz
                  8 CPUs: 2 package(s) x 4 core(s)
                  8152 MiB and 600meg 10k drive
                  Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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

                    @Topper727:

                    Same here on 3.4.10_2 pkg 0.2.5.. Transparent still gives no net unless secure https .. then of course it don't go through proxy (not have it setup to do https) so all works there.. but all other pages show can't find page

                    Squid Transparent proxy is working on 2.2 with or without ssl interception.

                    What you get on squid/cache logs?

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

                    Help a community developer! ;D

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

                      Hello.

                      I have 2.2-RELEASE (i386) with Squid 2.7.9 pkg v.4.3.6 (and Lightsquid who stopped working after last upgrade).

                      I need IPv6 support, so i think Squid3 is my only option.

                      Shall i uninstall Squid 2.7.9 first?

                      Is Lightsquid compatible with Squid3 (when they fix new problems)?

                      Thanks

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

                        @dalex:

                        Hello.

                        I have 2.2-RELEASE (i386) with Squid 2.7.9 pkg v.4.3.6 (and Lightsquid who stopped working after last upgrade).

                        I need IPv6 support, so i think Squid3 is my only option.

                        Shall i uninstall Squid 2.7.9 first?

                        Is Lightsquid compatible with Squid3 (when they fix new problems)?

                        Thanks

                        uninstall 2.7.9 then install squid3…  squid 3 does support IPv6, but it doesn't listen on an IPv6 address tho. So clients would need to connect to ipv4:3128. You can however in advance options add an IPv6 interface e.g http_port [xxxx.xxxx.xxxx.xxxx.xxx.xxx]:3182

                        lightsquid still has issues with its pbi but search for my workaround to get it working. It is compatible with squid3

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

                          @Cino:

                          uninstall 2.7.9 then install squid3…  squid 3 does support IPv6, but it doesn't listen on an IPv6 address tho. So clients would need to connect to ipv4:3128. You can however in advance options add an IPv6 interface e.g http_port [xxxx.xxxx.xxxx.xxxx.xxx.xxx]:3182

                          lightsquid still has issues with its pbi but search for my workaround to get it working. It is compatible with squid3

                          Thanks a lot.

                          I can live with v4 clients, and i will try the custom addition.

                          I want IPv6 Internet behavior for Squid because my 6to4 Tunnel ends in a (very) faster local Gate (International circuits much larger/faster than my ISP's one).

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

                            Hello pfSense Gurus!

                            I have been using pfSense for about 2 years now and I love it. One of my favorite features has come to be Squid2 and Squid3. Right now I am using Squid3 to run both proxy and reverse proxy.

                            Using this forum thread and other threads on this forum I have my reverse proxy running. There are two questions if have to make it work perfectly:

                            1. How can I force Squid3 (the reverse proxy part in pfSense) to suppress the addition headers identifying the host as Squid? (picture of my headers attached.[Contained in the red box])

                            2. How can I get Squid (reverse proxy) to forcefully cache static (text/HTML) content?

                            Squid3 will query my web server on the local network every time I connect. I have two remote machines that I use for testing. When I look in my Squid logs both machines show their remote IP address separately and each time it says "TCP_MISS/200". (Picture attached)

                            I have a openVPN connection between two networks. One network is the public IP(site B) I use to run my website and the other network is my private network(site A). It works right now and the DNS has no problems resolving.

                            When i check the headers (in my example[contained in blue box]) it says that is has not changed for two days and has an eTag. That header is from Apache server itself(I have checked headers on localhost using [curl -I]).

                            If I understand how the reverse proxy is supposed to be working. Since it is being presented with a not changed since date it should be caching it at (site B), but instead it queries (site A) for each call.

                            tl;dr - Need help suppressing Squid's headers in reverse proxy mode and forcing the reverse proxy to cache static content.

                            ![TCP Headers.png](/public/imported_attachments/1/TCP Headers.png)
                            ![Reverse Proxy Cache.png](/public/imported_attachments/1/Reverse Proxy Cache.png)
                            ![Reverse Proxy Cache.png_thumb](/public/imported_attachments/1/Reverse Proxy Cache.png_thumb)
                            ![TCP Headers.png_thumb](/public/imported_attachments/1/TCP Headers.png_thumb)

                            1 Reply Last reply Reply Quote 0
                            • W
                              workingman
                              last edited by

                              Hi marcelloc/pfsense squid folks.

                              I've been using squid3/squidguard setup in a redundant CARP pair setup for quite some time and was just cooking up a new pair for a new site and ran into a problem that I guess I've pretty much always had.

                              Sync to configured system backup server - never sync's to the backup.  The configured system backup server is working as expected sharing my DHCP/DNS/Firewall rules but I have always had to turn on..

                              Sync to host(s) defined below - set the same server as I use in the system config and then everything does get copied over to the backup.

                              Since it was easy to fix/workaround it never really bothered me much but I'm just setting up a brand fresh install of 2.2.1 and it seems to still happen.  Am I the only one?

                              Thanks!

                              1 Reply Last reply Reply Quote 0
                              • V
                                varazir
                                last edited by

                                Hi,

                                How do I add this list http://winhelp2002.mvps.org/hosts.txt to squid3? or do I need squidGuard ?

                                KR
                                Daniel

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

                                  @varazir:

                                  Hi,

                                  How do I add this list http://winhelp2002.mvps.org/hosts.txt to squid3? or do I need squidGuard ?

                                  KR
                                  Daniel

                                  i think you need squid guard

                                  1 Reply Last reply Reply Quote 0
                                  • V
                                    varazir
                                    last edited by

                                    @messerchmidt:

                                    @varazir:

                                    Hi,

                                    How do I add this list http://winhelp2002.mvps.org/hosts.txt to squid3? or do I need squidGuard ?

                                    KR
                                    Daniel

                                    i think you need squid guard

                                    Okay, have idea how?  or if there are any good guide…

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

                                      @varazir:

                                      @messerchmidt:

                                      @varazir:

                                      Hi,

                                      How do I add this list http://winhelp2002.mvps.org/hosts.txt to squid3? or do I need squidGuard ?

                                      KR
                                      Daniel

                                      i think you need squid guard

                                      Okay, have idea how?  or if there are any good guide…

                                      I'd be VERY interested in the same feature.

                                      1 Reply Last reply Reply Quote 0
                                      • Q
                                        qinohe
                                        last edited by

                                        @spittlbm:

                                        @varazir:

                                        @messerchmidt:

                                        @varazir:

                                        Hi,

                                        How do I add this list http://winhelp2002.mvps.org/hosts.txt to squid3? or do I need squidGuard ?

                                        KR
                                        Daniel

                                        i think you need squid guard

                                        Okay, have idea how?  or if there are any good guide…

                                        I'd be VERY interested in the same feature.

                                        I create this list myself. It's just one (domains) big list, which I pack together with f.i. shalla or mesd.
                                        My main OS is Arch Linux, I use a program called hosts-update see https://aur.archlinux.org/packages/hosts-update/
                                        From the hosts file, which is basically the MVPS list, I create the 'domains' file, which can be used by squidguard.

                                        If there is interest, I could place this list (mvps only) on github.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          robatwork
                                          last edited by

                                          Does the version on the pfsense packages ie:

                                          beta
                                          0.2.8
                                          platform: 2.2

                                          contain support for HTTP/1.1 ?

                                          We are having a problem with keep-alives that need this support.
                                          Thanks

                                          BTW the link https://github.com/pfsense/pfsense-packages/commits/master/config/34 that is on the version number leads to a 404.

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

                                            @robatwork:

                                            BTW the link https://github.com/pfsense/pfsense-packages/commits/master/config/34 that is on the version number leads to a 404.

                                            That should probably be this one then:
                                            https://github.com/pfsense/pfsense-packages/tree/master/config/squid3/34

                                            Hi, I'm Lance Boyle, and people often wonder if I'm real.

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