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

Squidguard-squid3 systempatch for use with squid3-dev

Scheduled Pinned Locked Moved Cache/Proxy
59 Posts 11 Posters 48.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.
  • W
    webstor
    last edited by Oct 11, 2014, 3:54 PM

    under custom acls please remove the forwarded_for transparent and replace it with

    always_direct allow all
    ssl_bump server-first all

    1 Reply Last reply Reply Quote 0
    • A
      aGeekhere
      last edited by Oct 12, 2014, 7:52 AM Oct 12, 2014, 12:38 AM

      always_direct allow all
      ssl_bump server-first all

      That was the missing link, now there is no more warnings (with the exception of pfsense admin page, which is fine).

      Thank you very much

      [UPDATE]

      Now windows update can't connect with error 80072F8F.
      Also Adobe creative cloud can not connect with error 201.
      [Update]Add GoogleUpdate.exe to the list as well.

      Looking at this post https://forum.pfsense.org/index.php?topic=77394.0

      Does this fix work? How is this added in the GUI?

      [Update]
      This is my Custom ACLS (Before_Auth)
      acl broken_sites dstdomain .update.microsoft.com
      ssl_bump none broken_sites
      always_direct allow all
      ssl_bump server-first all

      However windows updates still do not work.

      Never Fear, A Geek is Here!

      1 Reply Last reply Reply Quote 0
      • W
        webstor
        last edited by Oct 12, 2014, 8:40 AM

        Hi,

        Of course you cannot decrypt every Site. Itunes is also not decryptable.
        BTW: is squidguard and antivirus working?
        As exakte is the Eicar Testvirus getting blocked?

        1 Reply Last reply Reply Quote 0
        • A
          aGeekhere
          last edited by Oct 12, 2014, 9:54 AM Oct 12, 2014, 8:55 AM

          How do I add the exclusions?

          Yes squidguard and the antivirus are working and it does block the exakte file.

          [UPDATE] Also Do you have to manually find each service to exclude?
          e.g.
          windows update
          Adobe creative cloud
          Google update
          Antivirus update
          other updater

          Or can we just create a general rule that will allow all service updates, because finding all these service updates would hard and take a while and if someone comes onto the network and has some other software package that need an exclusion in order to update that would be hard to maintain.

          Never Fear, A Geek is Here!

          1 Reply Last reply Reply Quote 0
          • W
            webstor
            last edited by Oct 12, 2014, 12:48 PM

            Hm, my squidguard isn't still working.

            Are you using HAVP as antivirus?

            Did you add more then one nat rule for ssl decryption?

            Thanx.

            1 Reply Last reply Reply Quote 0
            • A
              aGeekhere
              last edited by Oct 12, 2014, 9:48 PM

              Are you using HAVP as antivirus?

              I left the squid Antivirus (clamav) as default (do not know if it is using HAVP or not, can't
              even find a setting for it in squid)

              Did you add more then one nat rule for ssl decryption?

              I did not set any nat rules for ssl decryption in the Firewall, but rather in System: Advanced: Firewall and NAT and set NAT Reflection mode for port forwards to enable(pure nat).Also enabled Enable NAT Reflection for 1:1 NAT and Enable automatic outbound NAT for Reflection.

              Hope this helps

              Also any ideas on my above post about windows updates and other update servers?

              Never Fear, A Geek is Here!

              1 Reply Last reply Reply Quote 0
              • W
                webstor
                last edited by Oct 14, 2014, 8:51 AM

                Strange, is your squidguard configured as parent for squid?

                Could you maybe post your squid.conf please?

                Thanx.

                1 Reply Last reply Reply Quote 0
                • A
                  aGeekhere
                  last edited by Oct 14, 2014, 9:14 AM

                  in squidgard set Blacklist proxy as the ip of pfsense

                  Never Fear, A Geek is Here!

                  1 Reply Last reply Reply Quote 0
                  • W
                    webstor
                    last edited by Oct 14, 2014, 9:31 AM

                    That is not working correctly, squidguard won't start if I enter the ip of pfsense in the blacklist proxy.

                    1 Reply Last reply Reply Quote 0
                    • A
                      aGeekhere
                      last edited by Oct 14, 2014, 9:38 AM

                      Same, I have to cut every thing out of integrations then start squidgaurd then renter it back in

                      Never Fear, A Geek is Here!

                      1 Reply Last reply Reply Quote 0
                      • W
                        webstor
                        last edited by Oct 14, 2014, 10:16 AM

                        And after that it was working, I mean ssl bump and squidguard filtering?

                        1 Reply Last reply Reply Quote 0
                        • A
                          aGeekhere
                          last edited by Oct 14, 2014, 10:20 AM

                          both, sometimes a restart is needed and then cut everying out from integrations, start squidgaurd and then paste it back into squid.

                          Never Fear, A Geek is Here!

                          1 Reply Last reply Reply Quote 0
                          • W
                            webstor
                            last edited by Oct 15, 2014, 1:12 PM

                            Nope, won't help. I don't get it.

                            1 Reply Last reply Reply Quote 0
                            • A
                              aGeekhere
                              last edited by Oct 17, 2014, 7:53 AM

                              Hi all, still stuck on getting windows update working, any advice?.

                              Never Fear, A Geek is Here!

                              1 Reply Last reply Reply Quote 0
                              • W
                                webstor
                                last edited by Oct 17, 2014, 8:00 AM

                                When I got it working with squidguard, I will attend to that problem.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  aGeekhere
                                  last edited by Oct 17, 2014, 8:07 AM

                                  I am a bit stumped on why Squidguard is not working for you (as I am new to this) list your squid, Squidguard and System: Advanced: Firewall and NAT settings.

                                  Never Fear, A Geek is Here!

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    webstor
                                    last edited by Oct 17, 2014, 8:12 AM

                                    Transparent Proxy.

                                    Integrations Settings:
                                    cache_peer 127.0.0.1 parent 3125 0 name=havp no-query no-digest no-netdb-exchange default;url_rewrite_program /usr/pbi/squidguard-squid3-amd64/bin/squidGuard -c /usr/pbi/squidguard-squid3-amd64/etc/squidGuard/squidGuard.conf;url_rewrite_bypass off;url_rewrite_children 16 startup=8 idle=4 concurrency=0

                                    Custom Acls:
                                    always_direct allow all
                                    ssl_bump server-first all

                                    Only one nat rue for redirecting https traffic to squid.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      aGeekhere
                                      last edited by Oct 17, 2014, 8:20 AM

                                      do you put amd64 instead of i386 by mistake or are you running amd64?

                                      Never Fear, A Geek is Here!

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        webstor
                                        last edited by Oct 17, 2014, 8:34 AM

                                        I'm running a 64bit pfsense.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          aGeekhere
                                          last edited by Oct 17, 2014, 8:58 AM

                                          is the squidGuard service able to run? or is it erroring? Also try using proxy port 3128 in Proxy port under Squid General Settings.

                                          Also here is my Custom ACLS (Before_Auth) in squid (Trying to get windows updates working)

                                          acl WindowsUpdate dstdomain windowsupdate.microsoft.com
                                          acl WindowsUpdate dstdomain update.microsoft.com
                                          acl WindowsUpdate dstdomain activex.microsoft.com
                                          acl WindowsUpdate dstdomain download.windowsupdate.com
                                          acl WindowsUpdate dstdomain codecs.microsoft.com
                                          acl WindowsUpdate dstdomain stats.updates.microsoft.com
                                          acl WindowsUpdate dstdomain c.microsoft.com
                                          no_cache deny WindowsUpdate
                                          http_access allow WindowsUpdate
                                          always_direct allow all
                                          ssl_bump server-first all

                                          This does not work

                                          Never Fear, A Geek is Here!

                                          1 Reply Last reply Reply Quote 0
                                          43 out of 59
                                          • First post
                                            43/59
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received