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

    Updated packages, incoming breakage, feedback needed

    Scheduled Pinned Locked Moved pfSense Packages
    31 Posts 14 Posters 17.5k 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.
    • R
      raj2569
      last edited by

      Tested HAVP and is woking fine. Basically HAVP uses only the ClamAV Libraries for scanning. If some one else has any problems with HAVP or ClamAV pl report.

      raj

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        Anyone testing these patches we have MFC'd the trasnparent bits to enable these services to work transparently.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Under the Metallic theme (and the Metallic theme only) both the ClamAV and HAVP package configuration options appear to the right of the PfSense frame.  The settings appear properly, but the whole box is shifted to the right leaving a big empty white box where the configurations should appear.

          1 Reply Last reply Reply Quote 0
          • B
            billm
            last edited by

            @submicron:

            Under the Metallic theme (and the Metallic theme only) both the ClamAV and HAVP package configuration options appear to the right of the PfSense frame.  The settings appear properly, but the whole box is shifted to the right leaving a big empty white box where the configurations should appear.

            Heh I've seen that before.  Had to do with developing in HEAD and then backporting to RELENG_1.  $pgtitle changes I believe.  Hopefully that tidbit helps fix this problem :)

            –Bill

            pfSense core developer
            blog - http://www.ucsecurity.com/
            twitter - billmarquette

            1 Reply Last reply Reply Quote 0
            • R
              raj2569
              last edited by

              Updated ClamAV with Transparency support. To get Transparency in RELENG_1 branch (ie released versions) add the following  in your /etc/inc/filter.inc

              #Add package specific nat rule inside this anchor
                      $natrules .= "rdr-anchor "rdr-package/*" \n";

              After this

              
              if (is_package_installed('clamav') && file_exists('/usr/local/pkg/clamav.inc')) {
                              require_once('clamav.inc');
                              $natrules .= clamav_generate_rules('nat');
                      }
              
              

              Please execute cvs_sync.sh releng_1 from command shell, before attempting the patch. Reboot after the patch and then install the new HAVP package.

              Please report any feedback about this package in this thread.

              raj

              1 Reply Last reply Reply Quote 0
              • S
                Sifter
                last edited by

                I am trying to get rid of squid so I can reinstall it.  I tried through the gui first, it just hangs.  So I did it through the pkg_delete command line tool.  pkg_info reveals no such package now.  But when I go to install packages, it still shows as installed, thus not allowing me to install/reinstall.

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  @Sifter:

                  I am trying to get rid of squid so I can reinstall it.  I tried through the gui first, it just hangs.  So I did it through the pkg_delete command line tool.  pkg_info reveals no such package now.  But when I go to install packages, it still shows as installed, thus not allowing me to install/reinstall.

                  Download the config.xml from diagnostics>backup/restore and check "do not backup package information" and restore the config again. Should solve the problem.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sifter
                    last edited by

                    ok I did that, the package installed.  I went to services to try to start it, and got the following error:  "(squid): Failed to verify one of the swap directories, Check cache.log for details. Run 'squid -z' to create swap directories if needed, or if running Squid for the first time".

                    So I ran squid -z and no longer see that error message, but whenever I hit start through the gui, it just goes back to stopped.

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

                      the same about squid at here, i did sync to RELENG_1.
                      i go to console and do:

                      • netstat -na | grep :3128 (for checking squid is running or not) but not found.
                      • check tmp/rules.debug , but not rule for squid in mode transparent.
                        Thanks.
                      1 Reply Last reply Reply Quote 0
                      • R
                        raj2569
                        last edited by

                        More Updates to HAVP Package,

                        • Package now uses latest verison of HAVP
                        • You can exclude certain IPs from transparent proxy
                        • Added 3 more havp options to web interface.
                        • Transparency status is now persistent across reboot.

                        Give it a whirl, if it works well, this will become beta and then release version.

                        raj

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

                          Thanks raj,
                          Do you add options for using HAVP Package with squid cache? It will great.
                          Thanks you.

                          1 Reply Last reply Reply Quote 0
                          • D
                            Doufer
                            last edited by

                            i'm unable to either deinstall or reinstall squid

                            squid.xml

                            Warning: delete_package(squid.inc): failed to open stream: No such file or directory in /etc/inc/pkg-utils.inc on line 652 Fatal error: delete_package(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /etc/inc/pkg-utils.inc on line 652

                            1 Reply Last reply Reply Quote 0
                            • D
                              Doufer
                              last edited by

                              @Sifter:

                              I am trying to get rid of squid so I can reinstall it.  I tried through the gui first, it just hangs.  So I did it through the pkg_delete command line tool.  pkg_info reveals no such package now.  But when I go to install packages, it still shows as installed, thus not allowing me to install/reinstall.

                              I exactly have this same problem! Glad to know I'm not the only one.

                              1 Reply Last reply Reply Quote 0
                              • R
                                raj2569
                                last edited by

                                @jola:

                                Do you add options for using HAVP Package with squid cache? It will great.

                                Yes, There is an option to specify parent proxy in thenew version.

                                raj

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

                                  Raj

                                  is there any thing i have to look at when using havp ?
                                  does the package autocreate the "transparent-rule" ?
                                  cause it would not work when i tried last time …  :'(

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

                                    I am unable to install havp her is what the log states for the package:

                                    Beginning package installation.
                                    Downloading package configuration file…
                                    havp-0.80_5 Array
                                    (
                                        [0] => Requested space: 1172 bytes, free space: 16762202112 bytes in /var/tm
                                    p/instmp.4mBLsp
                                        [1] => tar: Unrecognized archive format: Inappropriate file type or format
                                        [2] => pkg_add: tar extract of /tmp/apkg_havp-0.80_5.tbz failed!
                                        [3] => pkg_add: unable to extract table of contents file from '/tmp/apkg_hav
                                    p-0.80_5.tbz' - not a package?
                                        [4] => pkg_add: 1 package addition(s) failed
                                    )

                                    Package WAS NOT installed properly.

                                    Please help!

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      raj2569
                                      last edited by

                                      Hi,

                                      I was busy with some other stuff and forgot about this forum :)

                                      is there any thing i have to look at when using havp ?

                                      Yes, You have to add an anchor for HAVP.

                                      mrreload: Can you try once more? For some reason the downloaded package is not a package.

                                      raj

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

                                        how to do that ? and where ?
                                        can you post it here ?

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          raj2569
                                          last edited by

                                          This is the adding havp anchor part, I had posted this couple of posts back.

                                          @raj2569:

                                          Updated ClamAV with Transparency support. To get Transparency in RELENG_1 branch (ie released versions) add the following  in your /etc/inc/filter.inc

                                          #Add package specific nat rule inside this anchor
                                                  $natrules .= "rdr-anchor "rdr-package/*" \n";

                                          After this

                                          
                                          if (is_package_installed('clamav') && file_exists('/usr/local/pkg/clamav.inc')) {
                                                          require_once('clamav.inc');
                                                          $natrules .= clamav_generate_rules('nat');
                                                  }
                                          
                                          

                                          Please execute cvs_sync.sh releng_1 from command shell, before attempting the patch. Reboot after the patch and then install the new HAVP package.

                                          Please report any feedback about this package in this thread.

                                          raj

                                          raj

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

                                            Ok,
                                            I tried again and I am getting the same thing. Log shows exactly the same as earlier post. I have tried deleteing the havp package file from /tmp, same. Tried to install it with or without squid installed. Tried a fresh install of pfsense, same. Strange thing is I have other packages installed without any issue. Squid and Freeradius.

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