• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 536.9k 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 Offline
    Topper727
    last edited by Dec 31, 2014, 3:30 AM

    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
    • M Offline
      marcelloc
      last edited by Dec 31, 2014, 1:10 PM

      @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 Offline
        Cino
        last edited by Dec 31, 2014, 2:38 PM

        @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
        • M Offline
          marcelloc
          last edited by Jan 1, 2015, 4:31 AM

          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 Offline
            Cino
            last edited by Jan 1, 2015, 1:45 PM

            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 Offline
              Escorpiom
              last edited by Jan 3, 2015, 1:14 AM

              @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 Offline
                Topper727
                last edited by Jan 18, 2015, 4:44 AM

                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
                • M Offline
                  marcelloc
                  last edited by Jan 19, 2015, 12:25 AM

                  @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 Offline
                    dalex
                    last edited by Feb 2, 2015, 4:17 PM

                    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 Offline
                      Cino
                      last edited by Feb 2, 2015, 11:34 PM

                      @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 Offline
                        dalex
                        last edited by Feb 3, 2015, 7:35 AM

                        @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 Offline
                          TheBanHammer
                          last edited by Feb 19, 2015, 6:35 PM

                          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 Offline
                            workingman
                            last edited by Mar 23, 2015, 8:01 PM

                            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 Offline
                              varazir
                              last edited by Mar 26, 2015, 8:20 PM

                              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 Offline
                                messerchmidt
                                last edited by Mar 29, 2015, 5:18 AM

                                @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 Offline
                                  varazir
                                  last edited by Mar 29, 2015, 8:31 AM

                                  @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 Offline
                                    spittlbm
                                    last edited by Apr 11, 2015, 8:37 PM

                                    @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 Offline
                                      qinohe
                                      last edited by Apr 26, 2015, 9:59 AM

                                      @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 Offline
                                        robatwork
                                        last edited by May 15, 2015, 9:37 AM

                                        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 Offline
                                          SisterOfMercy
                                          last edited by Jul 5, 2015, 5:44 PM

                                          @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.
                                            This community forum collects and processes your personal information.
                                            consent.not_received