Dansguardian package for 2.0
-
marcelloc - I figured out the code for this and was able to get it to synchronize completely (even when the AD group is empty) by just adding a little bit of code to /usr/local/www/dansguardian_ldap.php. Here is the section (towards the end), my addition is in bold:
if (!empty($members)){
$import_users = explode("\n", $members);
asort($import_users);
$members=base64_encode(implode("\n", $import_users));
if($config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] != $members){
$config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] = $members;
$apply_config++;
}
}
** else {
$config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] = NULL;
$apply_config++;
}**
}
$id++;
}Is that a fix you'd be willing to add to the package? Also I noticed that there is a typo when configuring a group in the Values section. It says "Naughtiness limite" and should be "Naughtiness limit" without the 'e'. Really minor but thought I'd let you know.
Thank's for this contribution. limite is limit in portuguese :)
I'm testing dansguardian 2.12.0.2 that fixes pcre 8.3 issue and others.
I'll push it since freebsd ports core team apply my update request.
-
Thank's for this contribution. limite is limit in portuguese :)
I'm testing dansguardian 2.12.0.2 that fixes pcre 8.3 issue and others.
I'll push it since freebsd ports core team apply my update request.
I see from your comments on your update request that 2.12.0.2 has memory leaks. Did they apply your update request to 2.12.0.3 instead?
-
I see from your comments on your update request that 2.12.0.2 has memory leaks. Did they apply your update request to 2.12.0.3 instead?
both updates are still pending. I'll contact dansguardian maintainer to try to seep up the process. :)
-
I see from your comments on your update request that 2.12.0.2 has memory leaks. Did they apply your update request to 2.12.0.3 instead?
both updates are still pending. I'll contact dansguardian maintainer to try to seep up the process. :)
Sweet, it looks like they closed it out today, can't wait to test it out.
Also I can try to troubleshoot my sync issue but I still am unsure how to run it manually. I know I can run the "php" command and do a "-f /path/to/php/file" to run a file but I am not sure how to just run the sync function manually like this.
-
Sweet, it looks like they closed it out today, can't wait to test it out.
I`ve sent a shar file, they asked for a diff file for 2.12.0.3
I can't confirm that 2.12.0.2 has memory leaks.
Also I can try to troubleshoot my sync issue but
you will need a php that call pfsense inc files, dansguardian inc and then call sync function.
-
2.12.0.3 commited on freebsd ports :)
http://www.freebsd.org/cgi/query-pr.cgi?pr=175526
-
Can't wait for the package release. Wanna jump on 2.1 bandwagon ASAP. :)
Hopefully the snort/dansguardian issue with pcre on 2.1 is rectified in this version.
-
Hopefully the snort/dansguardian issue with pcre on 2.1 is rectified in this version.
pcre,clamav and acls are working fine on 2.0.x and 2.1.
I'll do some more tests before package release.
-
Hopefully the snort/dansguardian issue with pcre on 2.1 is rectified in this version.
pcre,clamav and acls are working fine on 2.0.x and 2.1.
I'll do some more tests before package release.
You da man Marcelloc. Is this package going to have squid 3 already in it or is that more a matter of how the port was done?
-
Is this package going to have squid 3 already in it or is that more a matter of how the port was done?
still with the same dependencies.
-
package version 0.1.7 with dansguardian 2.12.0.3 is finally out! :)
changes/fixes
-
fix pcre issue
-
update to dansguardian latest version (2.12.0.3)
-
included multi auth plugin
-
pfsense 2.1 support
-
few gui changes
-
better ldap user auth integration
-
-
Yaahoooo !!!
Thank you ! :D
-
Cant get it to work..
php: /pkg_edit.php: The command '/usr/local/etc/rc.d/dansguardian.sh start' returned exit code '1', the output was 'kern.ipc.somaxconn: 16384 -> 16384 kern.maxfiles: 131072 -> 131072 kern.maxfilesperproc: 104856 -> 104856 kern.threads.max_threads_per_proc: 4096 -> 4096 Starting dansguardian. Unable to getpwnam() - does the proxy user exist? Proxy user looking for is 'clamav' /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian'
-
what pfsense version are you using? I've tested on 2.0.1 amd64 and 2.1 amd64?
-
2.1 amd64
During install I get this error 4 times in the system logs
php: /pkg_mgr_install.php: The command 'chown -R clamav:nobody /var/log/dansguardian' returned exit code '1', the output was 'chown: clamav: Invalid argument'
-
-
No.. its not there. I have used clean installed 3 times with same results.
-
No.. its not there. I have used clean installed 3 times with same results.
I'm doing some tests here. Since I finish, I'll push a fix.
-
Same here. I thought it was ready for 2.1 - running PfSense 2.1 64 Beta, Squid 3 in transparent mode and Squidguard - no other packages.
-
Same here.
I've pushed a fix right now with no version change. wait 15 minutes and reinstall the package.