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

    Squid 3.4.9 no traffic in transparent mode.

    Scheduled Pinned Locked Moved Cache/Proxy
    54 Posts 15 Posters 33.0k 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.
    • C
      Cino
      last edited by

      @Tikimotel:

      
      forward_for "on" # (default, send client IP info in forward for header)
      forward_for "off" # (tickbox, Disable X-forward option, always respond with "unknown", some forum sites don't like this option!)
      forward_for "transparant" # (do not touch anything, more private?)
      forward_for "delete" # (remove the header info entirely)
      forward_for "truncate" # (single, last, client IP info in the forward for header)
      
      

      @marcelloc i'm going to try and added this to the GUI… I think its something I can handle :-)

      Edit: https://github.com/pfsense/pfsense-packages/pull/789

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

        3.4.10_2 pkg 0.2.5
        Seems to work properly now just the antivirus I wish would work

        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
        • C
          Cino
          last edited by

          @Topper727:

          3.4.10_2 pkg 0.2.5
          Seems to work properly now just the antivirus I wish would work

          It does. Follow the steps in the error message. I posted a screen shot of what needs to be added in another thread.

          https://forum.pfsense.org/index.php?topic=86890.msg477058#msg477058

          1 Reply Last reply Reply Quote 0
          • J
            jeepster
            last edited by

            While poking around looking for an issue not related to squid I saw something that looked out of place on the squid sockets. If you goto Diagnostics: Sockets there seems to be one squid setting that is outside the table. I don't notice any problems but cosmetic.
            proxy squid 46690 14 udp4 6 *:60225 :

            seems like there is something extra there…...??

            sockets.JPG
            sockets.JPG_thumb

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

              Well I got 503 error from UI and reinstalled pfsense now I get

              Warning: dir(/usr/local/etc/squid/errors/): failed to open dir: No such file or directory in /etc/inc/pfsense-utils.inc on line 467 Fatal error: Call to a member function read() on a non-object in /etc/inc/pfsense-utils.inc on line 468

              Found out that only the General Tab does that error.. I pulled up log and other tabs no problem in Squid 3.4.9

              Guess I try another reinstall .. more problems with 2.2 then any other version I ever beta tested

              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:

                Well I got 503 error from UI and reinstalled pfsense now I get

                I've got this when tried to install squid again without removing previous manual symlinks fixes.

                The message tells that errors dir does not exists or points to a invalid dir.

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

                Help a community developer! ;D

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

                  Well I reinstalled again and fixed that issue. And worked on LCDproc, put a request on github with fixes.

                  https://forum.pfsense.org/index.php?topic=83747.75#lastPost

                  Seems fingers crossed I got most working that I tried so far.. just I-cap won't start is all for me now.

                  So squid 3.4.10_2 pkg 0.2.5 works on my 1/16/15 64bit 2.2 version with clean install.  I would guess this means that the problems that show maybe something to do with a bad install or other factors.

                  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
                  • KOMK
                    KOM
                    last edited by

                    I would guess this means that the problems that show maybe something to do with a bad install or other factors.

                    Squid still doesn't work for me, and I'm thinking the same thing as you.  Previous hacks trying to get things to work are giving me problems now.  I think it's time for a fresh install.

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

                      Do you have loopback checked? If not, check it. In v2 Squid checking loopback never worked for me.. but it seems to do the trick in the latest v3.

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

                        Loopback is configured automatically on squid.conf when using transparent proxy.

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

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • J
                          JStyleG7X
                          last edited by

                          My 5 cents: My "Invalid URL" issue was resolved by disabling the proxy from listening on the loopback adapter.  The transparent proxy as marcelloc said is enabled by default which is fine.

                          Was not working.
                          http_port 192.168.x.1:3128
                          http_port 10.x.x.2:3128
                          http_port 127.0.0.1:3128
                          http_port 127.0.0.1:3128 intercept

                          Now Working.
                          http_port 192.168.x.1:3128
                          http_port 10.x.x.2:3128
                          http_port 127.0.0.1:3128 intercept

                          I also want to mention one side note if you're new to pfsense/squid and troubleshooting issues.  If you are using any extra packages Dansguardian/Squidguard/HAVP etc… you might consider removing these until you ensure you have squid working just by itself.  I've seen some packages when installed, even though they're disabled still add forwarding rules to squid in the integrations box - so basically it's forwarding to a proxy not running.  This may give the illusion it's not working for those who are unfamiliar with what should normally be configured.

                          I'm always learning something new myself! :)

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

                            Thanks for the note :)

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

                            Help a community developer! ;D

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

                              I got my copy fixed of these issues and a friends now..

                              https://forum.pfsense.org/index.php?topic=85965.msg544817#msg544817

                              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
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.