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

    HAVP

    Scheduled Pinned Locked Moved pfSense Packages
    52 Posts 16 Posters 33.2k 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.
    • D Offline
      dvserg
      last edited by

      I found one - squid CAN ignore parent proxy
      Try change in you Squid Custom option manually as:

      never_direct allow all;cache_peer 127.0.0.1 parent YOU_HAVP_PORT_HERE 0 name=havp no-query no-digest no-netdb-exchange default
      

      And Save.
      Check work with this settings.

      ps added 'never_direct allow all' and deleted 'proxy-only' string.

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • T Offline
        techrosis
        last edited by

        I have a question.  I have havp installed and running great in transparent mode.  My question is how do I whitelist youtube.  The caching of the videos is driving my wife crazy!!! I've tried in the whitelist section *.youtube.com *.googlevideo.com but still it caches the videos.

        1 Reply Last reply Reply Quote 0
        • D Offline
          dvserg
          last edited by

          Try as this

          Example: *.pfsense.com/*, *sourceforge.net/*clamav-*, */*.xml, */*.inc 
          

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • C Offline
            ColdFusion
            last edited by

            @techrosis:

            I have a question.  I have havp installed and running great in transparent mode.  My question is how do I whitelist youtube.  The caching of the videos is driving my wife crazy!!! I've tried in the whitelist section *.youtube.com *.googlevideo.com but still it caches the videos.

            How did you get it to work successfully working in Transparent mode with Squid. It 's still not working for me. What's your settings in Havp?? I have Proxy mode set as Parent for Squid. Transparent mode gives me an error in the logs to use Standard mode.

            1 Reply Last reply Reply Quote 0
            • D Offline
              dvserg
              last edited by

              Now i edit HowTo. Pls look this
              http://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply Reply Quote 0
              • C Offline
                ColdFusion
                last edited by

                Dvserg,

                Wow, now works like a charm…Great help!!!

                Thanks again,

                John

                1 Reply Last reply Reply Quote 0
                • T Offline
                  techrosis
                  last edited by

                  @dvserg:

                  Try as this

                  Example: *.pfsense.com/*, *sourceforge.net/*clamav-*, */*.xml, */*.inc 
                  

                  I tried this

                  *.googlevideo.com/* and *.youtube.com/*
                  

                  Both are on new lines correct?  Not comma delimited.  Just wondering.  It's still caching the videos.  ???

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dvserg
                    last edited by

                    I will check you issue. Maybe streaming scaning need configure

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      techrosis
                      last edited by

                      @dvserg:

                      I will check you issue. Maybe streaming scaning need configure

                      Cool. Thanks a ton!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dvserg
                        last edited by

                        @techrosis:

                        @dvserg:

                        I will check you issue. Maybe streaming scaning need configure

                        Cool. Thanks a ton!

                        Can you make this ?

                        • edit file /usr/local/pkg/havp.inc, find '$conf[] = "STREAMSCANSIZE 20000";' string and replace 20000 to 0
                        • goto HAVP gui and Save
                        • test you stream content (video) new.

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          techrosis
                          last edited by

                          @dvserg:

                          @techrosis:

                          @dvserg:

                          I will check you issue. Maybe streaming scaning need configure

                          Cool. Thanks a ton!

                          Can you make this ?

                          • edit file /usr/local/pkg/havp.inc, find '$conf[] = "STREAMSCANSIZE 20000";' string and replace 20000 to 0
                          • goto HAVP gui and Save
                          • test you stream content (video) new.

                          I made those changes as well.  Still caching videos.  :'(

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dvserg
                            last edited by

                            I made those changes as well.  Still caching videos.   
                            

                            OK
                            Will test more..

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              lgoulart
                              last edited by

                              Hi DvSerg,

                              We are running the havp + squid in transparent mode sucessfully. But,  one strange thing happens, the first that we try to access an page that contains virus or other malware it be blocked. But, if you try a second access to this same page so we can it.

                              Why?

                              Have you any idea about?

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dvserg
                                last edited by

                                In current configuration squid can load pages, bypass havp.
                                Wait next update with fix.

                                SquidGuardDoc EN  RU Tutorial
                                Localization ru_PFSense

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dvserg
                                  last edited by

                                  Update:

                                  • squid 'cache_peer' options, now squid can't bypass parent proxy;
                                  • added stream scan option - possible disable streaming content 'audio/video';
                                  • modified TMPRam disk, now RAM disk probably will be quckly;
                                  • fix errors;

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    riclnx
                                    last edited by

                                    Hi Dvserg ! It's working like a charm !  :D

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dvserg
                                      last edited by

                                      @riclnx:

                                      Hi Dvserg ! It's working like a charm !  :D

                                      It's about 'Squid bypass fixed' ?

                                      SquidGuardDoc EN  RU Tutorial
                                      Localization ru_PFSense

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        riclnx
                                        last edited by

                                        It's about everything ! Everything is running flawlessly, tnx !  ;D

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          techrosis
                                          last edited by

                                          @dvserg:

                                          Update:

                                          • squid 'cache_peer' options, now squid can't bypass parent proxy;
                                          • added stream scan option - possible disable streaming content 'audio/video';
                                          • modified TMPRam disk, now RAM disk probably will be quckly;
                                          • fix errors;

                                          Youtube still caching even after the update and with the box unchecked…..

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            bilbus
                                            last edited by

                                            Worked for a few, but then the service stopped.

                                            Now the service wont start, can you think of why the service won't start .. or wher ei can look to see why its not?

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