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 47.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.
    • A
      anmr2380
      last edited by

      Saludos señores pfsense

      Tengo un problema con el pfsense2.1+squid3-dev+squidguard-squid3, el problema del squid3-dev solucionado me sirvio algo que publicaron en otro foro el problema es con el squiguard-squid3 no me inicia hice lo de este foro me funciono al primer reinicio pero despues del segundo ya no sale "detenido service" volvi aplicar nuevamente los pasos del foro pero ya no inicia ,antes de que sucediera  que no inicie, trate de arrancar el servicio "Clamav Antivirus" y el "Icap inteface for squid and clamav integration" pero no arrancaron de ahi reinicie y ya no arranco squidguard-squid3  :'( :-X :-\ alguna ayuda porfavor    esta montado sobre vmware 10

      1 Reply Last reply Reply Quote 0
      • belleraB
        bellera
        last edited by

        Por favor, postear en inglés. Esto es un foro en lengua inglesa. ¡Gracias!

        Please, post in English. This forum is in English. Thanks!

        Go to Proxy filter SquidGuard: Log page: Filter config and look at your squidGuard configuration.

        If you doesn't understand the configuration post it to the forum.

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

          @bellera:

          My fault… Missing base directory...

          [2.1-RELEASE][admin@pfsense.localdomain]/root(1): find / -name squidguard_configurator.inc
          /usr/local/pkg/squidguard_configurator.inc
          

          I'm sorry! My first time for system patches!

          I've edited the original post to point out the base directory more and it's importance for the patch to work.

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

            @anmr2380:

            Saludos señores pfsense

            Tengo un problema con el pfsense2.1+squid3-dev+squidguard-squid3, el problema del squid3-dev solucionado me sirvio algo que publicaron en otro foro el problema es con el squiguard-squid3 no me inicia hice lo de este foro me funciono al primer reinicio pero despues del segundo ya no sale "detenido service" volvi aplicar nuevamente los pasos del foro pero ya no inicia ,antes de que sucediera  que no inicie, trate de arrancar el servicio "Clamav Antivirus" y el "Icap inteface for squid and clamav integration" pero no arrancaron de ahi reinicie y ya no arranco squidguard-squid3  :'( :-X :-\ alguna ayuda porfavor    esta montado sobre vmware 10

            All I can say about this subject is the following:

            Het Squid package is recent aangepast. De clamav functionaliteiten werken pas zeer recent en alleen in de i386 versie. Een beetje zoeken in op het forum kan geen kwaad.
            Je vraag gaat totaal niet over mijn onderwerp en zal je in het forum onderwerp https://forum.pfsense.org/index.php?topic=73426.msg402098#msg402098 van Marcello terug moeten vinden en wellicht dat je daar je vraag over ipcap en clamav beter daar  kan stellen.

            As you can read above English is not my original language and I do my best to post on this international forum in English so that others may understand also.
            Please try and accept that the English language is more internationally accepted than your own…

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

              Thank you for your answers, sorry for the Spanish language, English is not my native language, and sorry for the mistakes of translation to English in this message, well the squidguard-squid3 this solved error was a mistake of my understanding in this forum because as I said English is not my native language and I was applying the patch wrong, besides coming well translated to be translated into the Spanish does not alwaysgood for my version I had applied the patch that public tikimotel and was applying the de bellera, but matter well arranged, now the problem I have is that having active squidguard-squid 3 I get this error "Unable to determine the IP address from the http host name" when browsing internet, according to achievement understand not working dns translation when is active the squidguard-squid3 agredeceria your supports to fix it since I am just entering the world of pfsense come migrate from smoothwall 8) 8) 8) ;D ;D

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

                @wcrowder:

                Worked perfectly…

                sorry,
                i had do same instruction but my firewall is not filtering https.

                pls help.

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

                  Squid doesn't handle https by default.
                  My best guess is, if it isn't passed through the proxy it won't be passed on to the active redirector.

                  I don't have ssl proxy set up, so I can't tell you if the proxy will also pass https urls through the SquidGuard redirector.

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

                    Hi all (new to pfsense)

                    Trying to get HTTPS filtering working.
                    I have followed the above steps.

                    I have Installed:

                    • squid3-dev
                    • squidGuard-squid3
                    • System Patches

                    The issue I am having is squidGuard wont start with error message

                    php: /pkg_edit.php: The command '/usr/pbi/squid-i386/sbin/squid -k reconfigure -f /usr/pbi/squid-i386/etc/squid/squid.conf' returned exit code '1', the output was '2014/10/08 13:41:19| Warning: empty ACL: acl throttle_exts urlpath_regex -i "/var/squid/acl/throttle_exts.acl" squid: ERROR: No running copy'
                    

                    Any ideas on why squidGuard wont start?

                    [Solved] Had to restart

                    [Solved] To filter https do use Enable SSL filtering? and have to give every computer a CA? is there another way?

                    Ok got Transparent HTTPS proxy filtering with squidGuard-squid3 and squid3-dev working :)

                    Never Fear, A Geek is Here!

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

                      Hi mehere,

                      could you please post your config.
                      When I enable SSL filtering, squidguard is not working correctly. The service is running but it looks like squidguard is getting bypassed.

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

                        webstor Try restarting a few times (For some strange reason it worked after a few boots). If not then make sure that:
                        -Network Address Translation is enabled
                        -Proxy interface(s) is set to lan
                        -Transparent Proxy interface(s) is set to lan

                        Let me know if that fixes it.

                        UPDATE: If the squid service does not want to start Cut all the content from Integrations then save then paste it back in it again.

                        However the issue i am having now is EVERY https site shows the warning screen or This Connection is Untrusted screen (For chrome its Your connection is not private).

                        This is the part that I am having trouble with "To create a CA on pfsense, go to system -> Cert Manager
                        Install the CA crt as an trusted ca on each computer you want to filter ssl to avoid ssl error on each connection."

                        I have created a CAs in System: Certificate Authority Manager then tried both the Internal and intermediate Certificate.

                        Tried both Certificate s in CA in SSL man in the middle Filtering.

                        I tried installing them in both the recommended location and also in the trusted root location, Even manually imported into chrome . This still does not fix this issue.

                        Any help would be great

                        UPDATE: I get NET::ERR_CERT_COMMON_NAME_INVALID, is pfsense creating the Certificate with the Wrong COMMON_NAME

                        Never Fear, A Geek is Here!

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

                          Hi mehere,

                          squid is running fine and bumping as it should, the problem is that squidguard is bypassed because of the server side first feature which is necessary to not run into cert errors.

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

                            Hi webstor
                            Where is this "server side first feature"? as I am running into https Certificate errors.

                            Never Fear, A Geek is Here!

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

                              You have to add this to Custom ACLS (Before_Auth).

                              In which cert error are you running?
                              Have you imported the CA Cert already?

                              Thanx.

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

                                If I put (Before_Auth) in Custom ACLS then I cant connect to any https website, without it I can connect however I get the warning.

                                I followed this to create the Certificate http://www.sxl.net/guides/how-to-setup-pfsense-ssl-certificate-authority/

                                So my problem is the https filtering is working however the Certificate is not

                                And yours is bypassing squidgard, hmm

                                Never Fear, A Geek is Here!

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

                                  Mine is working as it should, the problem is the redirect.

                                  Could you please post the certificate error you get when you as example go to www.facebook.com

                                  (please post a picture with the error).

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

                                    And the proxy server config page?

                                    Thanx.

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

                                      Check attachments, the error i get is that it does not like the self signed certificate that pfsense creates. Some sites do not ever let you proceed. So SSL filtering is working, however self signed certificate is not working. Any ideas?

                                      error.png
                                      error.png_thumb
                                      squid.png
                                      squid.png_thumb

                                      Never Fear, A Geek is Here!

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

                                        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

                                          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

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