Dansguardian package for 2.0
-
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? -
Did you applied the manual binary version fix? yes
Can you check if auth users are on log files? I have no groups or users configured
Did you changed authentication methods? auth set to none -
Did you changed authentication methods? auth set to none
Change report log format to dansguardian and check if it's showing group applied.
-
I see the groups in log "DENIED Banned Regular Expression URL:" however still able to view the link
-
I see the groups in log "DENIED Banned Regular Expression URL:" however still able to view the link
:o I'll try to simulate it here.
If this bug is confirmed, I'll push on dansguardian sourceforge project.
-
Reboot fixed my error. Is it just best practice to reboot after a package update?
I haven't gotten to fully testing the filtering yet as I'm still working on my config… (sooooo many parameters) :o
Edit:
On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:
Checking Dansguardian Blacklists… One moment please...
Found previous blacklist database, skipping download...I let it sit for a while and it didn't move. I then moved on and rebooted. Now dansguardian GUI menu is missing. I'm re-running and I'll leave it for a few hours to see if it ever completes gracefully.
-
Reboot fixed my error. Is it just best practice to reboot after a package update?
Not at all. I usually do an uninstall and then reinstall to be sure binary was killed.
I haven't gotten to fully testing the filtering yet as I'm still working on my config… (sooooo many parameters) :o
On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:
I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?
-
On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:
I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?
I didn't get back to it and so I left it overnight. It still was stuck on that screen when I came back to it this morning. Here is the file info (user name x'd out):
-rw-r–r-- 1 root xxxxx 9917215 Feb 13 19:00 /usr/local/pkg/blacklist.tgz
-
completed downloaded file size:
-rw-r–r-- 1 root wheel 20825700 Feb 8 00:10 /usr/local/pkg/blacklist.tgz
-
On my other machine where I had a blacklist set up to download, the dansguardian package update/reinstall gets stuck here:
I'm not seeing this issue here, can you check the size of you blacklist file (/usr/local/pkg/blacklist.tgz)?
I didn't get back to it and so I left it overnight. It still was stuck on that screen when I came back to it this morning. Here is the file info (user name x'd out):
-rw-r–r-- 1 root xxxxx 9917215 Feb 13 19:00 /usr/local/pkg/blacklist.tgz
I ended up having to completely uninstall dansguardian, squid3 and then reinstall. Will continue testing…
-
Same error. Hangs on checking blacklist.