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

    How to activate ClamAv engine with Dansguardian

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 Posters 10.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.
    • T
      tbaror
      last edited by

      Hello All,
      I just finished set  Dansguardian with Squid , i am mostly interested on its ClamAv engine antivirus but its looks turned off stat (clamdscan(off))
      did i missed something how can i make this works
      Thanks

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Basically, you need just to enable the antivirus feature and check options on dansguardian antivirus tab at gui

        You can also try to run freshclam on console to see if clamav is updating fine

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          @marcelloc:

          Basically, you need just to enable the antivirus feature and check options on dansguardian antivirus tab at gui

          You can also try to run freshclam on console to see if clamav is updating fine

          Thanks for the answer, but i cant figure out where and how i can

          check options on dansguardian antivirus tab

          freshclam

          on console i get

          $ freshclam
          Hint: The database directory must be writable for UID 2004 or GID 2000

          Please advice
          Thanks

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            can you check what user you have on clamd.conf?

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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

              @marcelloc:

              can you check what user you have on clamd.conf?

              Hi,

              system

              User                      root
              AllowSupplementaryGroups  yes
              Debug                    no

              Thanks

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                change it to clamav and try to restart the service.

                On my dansguardians, it's working.

                
                # Run as another user (clamd must be started by root for this option to work)
                # Default: don't drop privileges
                User clamav
                
                # Initialize supplementary group access (clamd must be started by root).
                # Default: no
                AllowSupplementaryGroups yes
                
                [2.0.1-RELEASE][root@xxxxxx]/root/.ssh(13): freshclam 
                ClamAV update process started at Mon Aug  6 17:24:07 2012
                WARNING: Your ClamAV installation is OUTDATED!
                WARNING: Local version: 0.97.3 Recommended version: 0.97.5
                DON'T PANIC! Read http://www.clamav.net/support/faq
                main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
                Downloading daily-15222.cdiff [100%]
                Downloading daily-15223.cdiff [100%]
                Downloading daily-15224.cdiff [100%]
                Downloading daily-15225.cdiff [100%]
                Downloading daily-15226.cdiff [100%]
                daily.cld updated (version: 15226, sigs: 250065, f-level: 63, builder: ccordes)
                bytecode.cld is up to date (version: 188, sigs: 38, f-level: 63, builder: neo)
                Database updated (1294490 signatures) from database.clamav.net (IP: 64.22.33.90)
                Clamd successfully notified about the update.
                
                

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

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