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

    Trigger a sync from the Pfsense-Config to the Squidquard-Config?

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 795 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
      snowyrain
      last edited by

      Hallo,
      we have a pfsense 1.2.2  as Firewall and Proxy (squid  2.6.21_10  and  squidGuard 1.3-2).  This System works very fine, but we need a update (IPv6).  I have installed pfsense 2.1-RELEASE with squid3 (3.1.20 pkg 2.0.6) and squidGuard-squid3 (1.4_4 pkg v.1.9.5). The System works fine, too.

      We have a separate interface for squidGuard. It makes the usage easily. Groups can only be switched off or on. A PHP Script change two configuration attributes:

      1. Target Rules - $config['installedpackages']['squidguardacl']['config'][$setgroupid]['dest']
      2. Domain List - $config['installedpackages']['squidguarddest']['config'][$id][domains]

      The attributes are changed on the Pfsense-Web-Interface, but not on squidguard. On the old System we do:

      function surftool_write_config(){
      write_config();
      include("/usr/local/pkg/squidguard.inc");
      squidguard_resync();
      squidguard_resync_acl();
      sg_reconfigure();
      }

      But on the new Pfsense it have no effekt.

      So my question is: How can I trigger a sync from the Pfsense-Config to the Squidquard-Config?

      Thanks and have a nice day!

      Snowyrain

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