Navigation

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

    Squid3 Antivirus on 2.2 release

    Cache/Proxy
    5
    6
    4967
    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
      • marcelloc
        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…

        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
          • marcelloc
            marcelloc last edited by

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

            1 Reply Last reply Reply Quote 0
            • hklt0110
              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

                Products

                • Platform Overview
                • TNSR
                • pfSense
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy