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

    Recent clamd needed

    Scheduled Pinned Locked Moved pfSense Packages
    35 Posts 12 Posters 20.6k 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
      dvserg
      last edited by

      URLs fixed.

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • C
        coolcat1975
        last edited by

        Thank you :)

        1 Reply Last reply Reply Quote 0
        • X
          XIII
          last edited by

          thank you for you effort. works perfectly now.

          -Chris Stutzman
          Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
          Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
          freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
          Check out the pfSense Wiki

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

            hi tried the following and get the same error:

            pkg_add -r havp-ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
            pkg_add -r havp-URL_ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz

            error:
            Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/havp-ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz: File unavailable (e.g., file not found, no access)
            pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/havp-ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz' by URL

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

              this got a little further:

              # pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
              Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/havp.tbz... Done.
              Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/clamav-0.95.1.tbz... Done.
              Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz...pkg_add: fatal error during execution: getcwd
              

              but no cigar :(

              1 Reply Last reply Reply Quote 0
              • X
                XIII
                last edited by

                ok,  use this and it will work:

                pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
                

                -Chris Stutzman
                Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                Check out the pfSense Wiki

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

                  nice, thanks for the quick reply.

                  it did not work but saw where you were going with the syntax and tried the following which worked:

                  pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
                  

                  ps (dvserg)  HTTP// prefix auto added by forum engine  :(

                  1 Reply Last reply Reply Quote 0
                  • X
                    XIII
                    last edited by

                    sorry , wrong format

                    this is the correct command: without http:// for whatever reason it is getting added

                    pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
                    

                    -Chris Stutzman
                    Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                    Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                    freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                    Check out the pfSense Wiki

                    1 Reply Last reply Reply Quote 0
                    • V
                      vito
                      last edited by

                      When i execute the command i get the following error

                      pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz

                      Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/havp.tbz… Done.
                      Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/clamav-0.95.1.tbz... Done.
                      Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz...pkg_add: fatal error during execution: getcwd

                      NOTE: happened on two clean installs of pf 1.2.3

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

                        It worked for me But the GUI is not found in PfSense for Havp.
                        It shows in shell, I restarted the box and it didn't show up in the GUI.

                        pkg_info

                        arc-5.21o_1        Create & extract files from DOS .ARC files
                        arj-3.10.22_1      Open-source ARJ
                        bandwidthd-2.0.1_1  Tracks bandwidth usage by IP address
                        clamav-0.95.1      Command line virus scanner written entirely in C
                        gd-2.0.35,1        A graphics library for fast creation of images
                        havp-0.90          HTTP Antivirus Proxy
                        jpeg-6b_4          IJG's jpeg compression utilities
                        lha-1.14i_6        Archive files using LZSS and Huffman compression (.lzh file
                        libgmp-4.2.2        A free library for arbitrary precision arithmetic
                        libiconv-1.11_1    A character set conversion library
                        lusca-cache-r14632  HTTP Caching Proxy (Squid Derivative) - Stable Release
                        openldap-client-2.4.16 Open source LDAP client implementation
                        perl-5.8.9_2        Practical Extraction and Report Language
                        squid_radius_auth-1.10 RADIUS authenticator for squid proxy 2.5 and later
                        unzoo-4.4_2        A zoo archive extractor

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

                          I need statistic. Does the work this HAVP in the pfSense 1.2.1, 1.2.2, 1.2.3 ?

                          ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
                          

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

                          1 Reply Last reply Reply Quote 0
                          • V
                            vito
                            last edited by

                            @vito:

                            When i execute the command i get the following error

                            pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz

                            Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/havp.tbz… Done.
                            Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/clamav-0.95.1.tbz... Done.
                            Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz...pkg_add: fatal error during execution: getcwd

                            NOTE: happened on two three clean installs of pf 1.2.3

                            Mine is PF 1.2.3 full freebsd 7.2 HAVP was the first package i installed after the install.
                            I just reinstalled again but have not installed HAVP yet. Now on this new install i do have Squid, SG,SNORT installed.

                            1 Reply Last reply Reply Quote 0
                            • X
                              XIII
                              last edited by

                              dvserg- yes, I got it working on two 1.2.3 systems
                              using this command:

                              pkg_add -r havp ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/havp-0.90.tbz
                              

                              -Chris Stutzman
                              Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                              Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                              freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                              Check out the pfSense Wiki

                              1 Reply Last reply Reply Quote 0
                              • X
                                XIII
                                last edited by

                                I get these errors now:

                                clamd[9028]: Can't unlink the socket file /var/run/clamav/clamd.sock
                                clamd[9028]: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or directory

                                not sure if its related, have only seen it on 1 system so far (will check others later today)

                                also thanks to whoever fixed the code so that it stopped adding http:// to the front

                                -Chris Stutzman
                                Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                                Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                                freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                                Check out the pfSense Wiki

                                1 Reply Last reply Reply Quote 0
                                • X
                                  XIII
                                  last edited by

                                  update:

                                  reinstalled HAVP and it fixed the problem

                                  thanks to those who got on this and got it fixed

                                  -Chris Stutzman
                                  Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                                  Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                                  freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                                  Check out the pfSense Wiki

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Cino
                                    last edited by

                                    @XIII:

                                    I get these errors now:

                                    clamd[9028]: Can't unlink the socket file /var/run/clamav/clamd.sock
                                    clamd[9028]: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or directory

                                    not sure if its related, have only seen it on 1 system so far (will check others later today)

                                    also thanks to whoever fixed the code so that it stopped adding http:// to the front

                                    I have the same issue.. If i reinstall the package, it works until I reboot the box. Once rebooted, the problem comes back

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      XIII
                                      last edited by

                                      will reboot mine when i can later today and see if i have a problem

                                      -Chris Stutzman
                                      Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                                      Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                                      freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                                      Check out the pfSense Wiki

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        XIII
                                        last edited by

                                        it works after reboot.

                                        but these errors are in the sys logs:
                                        clamd[2576]: Can't unlink the socket file /var/run/clamav/clamd.sock
                                        clamd[2576]: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or directory

                                        so i dont know if its broken or what, but did a test with eicar and it blocked it and Internet loads fine

                                        edit: i get this message as well:
                                        clamd[4346]: MaxThreads * MaxRecursion is too high: 25500, open file descriptor limit is: 11095

                                        -Chris Stutzman
                                        Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                                        Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                                        freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                                        Check out the pfSense Wiki

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Cino
                                          last edited by

                                          think mine has a mind of its own.. If i do a reboot… I have re-install the package, see below for my log.. I lost power yesterday and the battery drained... Box came up and all my services where started.

                                          pfsense system Info havp[7795] "ERROR: Clamd Socket Scanner failed EICAR virus test! (Could not connect to scanner socket)"
                                          pfsense system Info havp[7795] "Clamd: Could not connect to scanner! Scanner down?"
                                          pfsense system Info havp[7795] "–- Initializing Clamd Socket Scanner"
                                          pfsense system Info havp[7795] "Running as user: havp, group: havp"
                                          pfsense system Info havp[7795] "=== Mandatory locking disabled! KEEPBACK settings not used!"
                                          pfsense system Info havp[7795] "=== Starting HAVP Version: 0.90"
                                          pfsense local 6 Info clamd[7664] "TCP: Setting connection queue length to 30"
                                          pfsense local 6 Info clamd[7664] "TCP: Bound to address 127.0.0.1 on port 3310"
                                          pfsense local 6 Info clamd[7664] "Loaded 1382039 signatures."
                                          pfsense local 6 Error clamd[7664] "Can't unlink the socket file /var/run/clamav/clamd.sock"
                                          pfsense local 6 Error clamd[7664] "LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or directory"
                                          pfsense local 6 Info clamd[7664] "Not loading PUA signatures."
                                          pfsense local 6 Info clamd[7664] "Reading databases from /var/db/clamav"
                                          pfsense local 6 Info clamd[7664] "Log file size limited to 2097152 bytes."
                                          pfsense local 6 Info clamd[7664] "Running as user root (UID 0, GID 0)"
                                          pfsense local 6 Info clamd[7664] "clamd daemon 0.95.1 (OS: freebsd7.2, ARCH: i386, CPU: i386)"

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

                                            apologies for bringing this thread back from the dead but wondering if the process discussed in this thread is a valid one for upgrading the havp package to the latest as once again no updated package is available and clam is complaining (not to the point of not working but still…)

                                            
                                            Aug 9 09:23:45 	freshclam[14749]: Your ClamAV installation is OUTDATED!
                                            Aug 9 09:23:45 	freshclam[14749]: Local version: 0.95.1 Recommended version: 0.96.1
                                            Aug 9 09:23:46 	freshclam[14749]: Your ClamAV installation is OUTDATED!
                                            Aug 9 09:23:46 	freshclam[14749]: Current functionality level = 42, recommended = 53
                                            Aug 9 09:23:48 	freshclam[14749]: getfile: safebrowsing-22854.cdiff not found on remote server (IP: 24.215.0.24)
                                            Aug 9 09:23:48 	freshclam[14749]: getpatch: Can't download safebrowsing-22854.cdiff from clamav.mirror.rafal.ca
                                            Aug 9 09:23:48 	last message repeated 2 times
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.