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

    SquidGuard on alix embedded

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 1.9k 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.
    • S
      sarut0bi
      last edited by

      i would like to know why squidGuard db is on /var on embedded devices … every time i reboot the device, i need to reimport my blacklist :s
      If i put it on  my cf in a different directory (eg /squidGdb) it ll be on the compact flash it would be better wouldn t it?
      greets

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        It is likely that way since that is where it goes on the full install.

        I am the one who made the changes to let the basic parts of squidguard work on embedded, but I have not touched the parts that deal with blacklists.

        I'm not sure when I'll have time to look at that, it may not be for a few weeks. It may just be a matter of changing a couple paths in the code somewhere. The author of the squidguard package would know that better than anyone, though.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S
          sarut0bi
          last edited by

          ok it s done and working i ve changed a few path  like u said in squidGuardconfigurator.inc and commented lines 1438 & 1439

          #        if (file_exists($squidguard_config[F_DBHOME]))  $dbhome = $squidguard_config[F_DBHOME];
          #        if (file_exists($squidguard_config[F_WORKDIR])) $workdir = $squidguard_config[F_WORKDIR];
          

          those lines attribes to $dbhome the default value and i didn t find in the include nor in the inc where  $squidguard_config[F_DBHOME]; is set so if someone know where  it is … :)
          greets

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