Dansguardian package for 2.0
-
Maybe it's related to this new feature:
What's new in DansGuardian 2.12.0.3:
October 2nd, 2012· Fixed memory leaks reported by analysis from coverity
· Improved persistent connection for a better RFC compliant implementation, but not yet fully HTTP 1.1
· Minor improvement for debug output
· Applied patch #11 (Maxuploadsize per filtergroup) by fredbmail35I've pushed a fix including web upload check on group as well ldap empty group check.
-
Apologize that I missed this thread - I started a new one on the maxuploadsize topic. See http://forum.pfsense.org/index.php/topic,58442.0.html
As far as I can see, the only fix is to use the 2.12.0.2 executable. The other alternative is that someone with a devel environment could remove "patch 11" and recompile dans 2.12.0.3. The diff for patch 11 is here… http://sourceforge.net/p/dansguardian/patches/11/
Maybe it's related to this new feature:
What's new in DansGuardian 2.12.0.3:
October 2nd, 2012· Fixed memory leaks reported by analysis from coverity
· Improved persistent connection for a better RFC compliant implementation, but not yet fully HTTP 1.1
· Minor improvement for debug output
· Applied patch #11 (Maxuploadsize per filtergroup) by fredbmail35I've pushed a fix including web upload check on group as well ldap empty group check.
-
Did you tried with latest package GUI version? I've included max upload size to group options.
-
I did notice that my code for the /usr/local/www/dansguardian_ldap.php wasn't added. Was that intentional?
Sorry, It was not intentinal, I've received some fixes on forum, other in private messages, and most by myself. I just missed yours.
I'll include it ASAP.
Actually that may be my fault. I looked again and I saw this:
if (empty($members)){ $config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] = NULL; $apply_config++; }
So I think either you updated it since your last posting or you did include it but just re-worked it a bit (probably for the best). However I do have an optimization. It may be better to do something like this:
if (empty($members)){
if($config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] != NULL){
$config['installedpackages']['dansguardianusers']['config'][0][strtolower($group['name'])] = NULL;
$apply_config++;
}
}
else{
$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++;
}
}
}
$id++;
}
if ($apply_config > 0){
print "user list from LDAP is different from current group, applying new configuration…";
write_config();
include("/usr/local/pkg/dansguardian.inc");
sync_package_dansguardian();
print "done\n";
}
else {
print "user list from LDAP is already the same as current group, no changes made\n";
}#mount filesystem read-only
conf_mount_ro();?>
This way it will only update if the DG groups are not NULL. Additionally I added a little more feedback so if you run on the command line it explicitly tells you it found no changes. What do you think?
-
I have a question on the multi-auth. From my SSO thread you see the integration options I have set. How would I change this to use ntlm, then IP auth, then unauthenticated into the default group. Is this possible?
-
I've tested and not all auth combinations works.
Change it and monitor access.log file. -
I've tested and not all auth combinations works.
Change it and monitor access.log file.This - http://contentfilter.futuragts.com/wiki/doku.php?id=more_than_one_auth_method&s[]=multiple&s[]=auth (couldn't get link to work due to brackets) seems to indicate that it should work but that it does require being able to set the order of the auth plugins. However even with manually changing it, I have not been able to get it to work. Seems as though regardless of order, user names are no longer logged as soon as IP auth is enabled. Hmmm…
-
Now that I have gotten into customizing the groups I am seeing something similar to this thread: http://forum.pfsense.org/index.php?topic=58797.0
I get the following when trying to save anything in dansguardian now. I verified all the files are there. I see your last comment about 2.0.3, however this is still a dev build, correct. Is there already a bug created for this on 2.0.2?
Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Warning: file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783 Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 17023308 bytes) in /usr/local/pkg/dansguardian.inc on line 1145
-
this line checks for groups defined.
How many groups did you configured on dansguradian?
EDIT
More specific error. It looks like you have an empty acl on phraselist.
Can you check this information?
I'll try to detect it on code.
-
this line checks for groups defined.
How many groups did you configured on dansguradian?
EDIT
More specific error. It looks like you have an empty acl on phraselist.
Can you check this information?
I'll try to detect it on code.
I created 8 groups, so including the default I have 9. Actually yes, during my set up I was just setting all my groups up first and then going back and configuring them. Perhaps I need to set them all to defaults for now to avoid the errors? I will try that.
Edit
That did get rid of most of the errors. I had to select lists for all the groups. It would be good to check for that since it doesn't always make sense to have some selected, for example an exception group that specifies no filtering at all (I would use for troubleshooting). However I still get this error:
Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 17023308 bytes) in /usr/local/pkg/dansguardian.inc on line 1145
-
However I still get this error:
Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 17023308 bytes) in /usr/local/pkg/dansguardian.inc on line 1145
It's related to amount of memory used during save config process.
I'm including acl group check on code to avoid the missing file error and will check memory load during save process. -
However I still get this error:
Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 17023308 bytes) in /usr/local/pkg/dansguardian.inc on line 1145
It's related to amount of memory used during save config process.
I'm including acl group check on code to avoid the missing file error and will check memory load during save process.Ok. Just some more information if it helps. It seems that even if I reboot after getting all the groups to have lists selected, I still get the memory error. I have 4% of my memory used so I guess it is fully a code/package issue? Anything I can do to work around it until you update it? At some point it was working until I started making my groups.
-
so I guess it is fully a code/package issue?
It's a php limit on pfsense, the problem is to fit large lists on this 256Mb limit on amd64 version
Anything I can do to work around it until you update it? At some point it was working until I started making my groups.
How big are your groups user list?
I've pushed pkg v 0.1.7_2 with group acl check.
-
so I guess it is fully a code/package issue?
It's a php limit on pfsense, the problem is to fit large lists on this 256Mb limit on amd64 version
Anything I can do to work around it until you update it? At some point it was working until I started making my groups.
How big are your groups user list?
I've pushed pkg v 0.1.7_2 with group acl check.
Actually, right now I only have 5 users in those groups…
-
I'm getting the following errors, when I click on the IP tab in the GUI
/pkg_edit.php: XML error: Invalid document end at line 5 in /usr/local/pkg/dansguardian_ips.xml
Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_edit.php on line 433 -
I'm getting the following errors, when I click on the IP tab in the GUI
Are you on latest package version?
Can you try to save config again?
-
I'm getting the following errors, when I click on the IP tab in the GUI
Are you on latest package version?
Can you try to save config again?
I can confirm this as well - v.0.1.7_1 does not get this error, but v.0.1.7_2 for both the user and IP tab for me.
Edit: sorry, slightly different message for me - Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_edit.php on line 423.
-
update to latest package version, save dansguardian config se see what happens.
I'm testing here without getting this error.
-
The error started after the upgrade, rebooting the firewall fixed the errors, but now DG is not blocking at all, although it's running.
-
The error started after the upgrade, rebooting the firewall fixed the errors, but now DG is not blocking at all, although it's running.
Did you applied the manual binary version fix?
http://forum.pfsense.org/index.php/topic,58442.15.htmlCan you check if auth users are on log files?
Did you changed authentication methods?