Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Squid Antivirus Manual Configuration Will Kill Safe Browsing

    Scheduled Pinned Locked Moved Cache/Proxy
    7 Posts 2 Posters 2.3k 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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                  Privacy Policy · Cookie Policy