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

    Squid3 Antivirus on 2.2 release

    Scheduled Pinned Locked Moved Cache/Proxy
    6 Posts 5 Posters 5.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.
    • A
      asterix
      last edited by

      I have encountered the below issue while activating Antivirus…

      After the initial check for activating Antivirus and then going in to change the redirect to "redirect https://x.x.x.x/squid_clwarn.php" while saving it throws his error.

      The following input errors were detected:

      c-icap Squidclamav service definition is no present.
          Add 'Service squid_clamav squidclamav.so'(without quotes) to 'c-icap.conf' field in order to get it working.
          Remove ldap configuration'Manager:Apassword@ldap.chtsanti.net?o=chtsanti?mermberUid?(&(objectClass=posixGroup)(cn=%s))' from 'c-icap.conf' field.

      After adding the "Service squid_clamav squidclamav.so" to icap.conf .. while saving it throws this error

      The following input errors were detected:

      Remove ldap configuration'Manager:Apassword@ldap.chtsanti.net?o=chtsanti?mermberUid?(&(objectClass=posixGroup)(cn=%s))' from 'c-icap.conf' field.

      Hashing out line does not work and I have to remove the line to make it work. Also, after clamd has downloaded the defs the service  does not start automatically even after a reboot. I have to issue the clamd command to start the service for the first time and after then it works even after reboots. This is not new to the 2.2 FINAL. Had the exact same issue with all January snapshots. Seems defintely as a Squid issue.

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

        The gui alerts are there to show you what to fix on antivirus config files.  This is not an issue.

        And clamav will only work after a successful freshclam database update what take a while to finish on every system (pfsense or not).

        Next fresh install ,  try to run it from console to see how first updates are slow…

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

        Help a community developer! ;D

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

          I have also same issue. what command and how to execute it.

          If I enable antivirus, I cant browse via Proxy.

          Pls help me.

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

            https://forum.pfsense.org/index.php?topic=87424.msg480232#msg480232

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • hklt0110H
              hklt0110
              last edited by

              removing this line will solve the problem..

              ldap://cn=Directory Manager:Apassword@ldap.chtsanti.net?o=chtsanti?mermberUid?(&(objectClass=posixGroup)(cn=%s))

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                This nonsense is fixed properly as a part of https://github.com/pfsense/pfsense-packages/pull/1080 (specifically this commit).

                Couldn't work since it was trying to patch a file that's actually not distributed  ::) Why's the LDAP part being patched fails my understanding as well, the line is commented out in the first place.

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