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

    Squid Antivirus Manual Configuration Will Kill Safe Browsing

    Scheduled Pinned Locked Moved Cache/Proxy
    7 Posts 2 Posters 1.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.
    • BismarckB
      Bismarck
      last edited by

      Hi, enabling manual configuration for antivirus will delete safebrowsing.cld/safebrowsing.cvd on every Squid restart. It would be better, to check in freshclam.conf if SafeBrowsing is yes or no instead of clamav_safebrowsing in the pfSense config for Squid.

      Regards

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

        @Bismarck:

        It would be better, to check in freshclam.conf if SafeBrowsing is yes or no instead of clamav_safebrowsing in the pfSense config for Squid.

        Not a viable way of doing things, read https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid_antivirus.inc#L169 please.

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

          You can try this: https://github.com/doktornotor/FreeBSD-ports/commit/86b3125a0ce1e92304b88d66d769395571141448.patch

          Will not care about safebrowsing at all, it the defs are missing, your problem to run freshclam to update.

          1 Reply Last reply Reply Quote 0
          • BismarckB
            Bismarck
            last edited by

            Okay, thank you. I already commented the "rm -f" lines out, as an workaround. ;)

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

              So, does the above work?

              1 Reply Last reply Reply Quote 0
              • BismarckB
                Bismarck
                last edited by

                Sorry for the late replay, indeed it works. Manual configuration, squid restart and safebrowsing.cld is still there.

                Thank you doktornotor.

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

                  Thanks for testing.

                  https://github.com/pfsense/FreeBSD-ports/pull/333

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