Trigger a sync from the Pfsense-Config to the Squidquard-Config?
-
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:
- Target Rules - $config['installedpackages']['squidguardacl']['config'][$setgroupid]['dest']
- 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