PfSense-2.1-RELEASE-AMD64 Squid3 and Dansguardian not filtering anymore?!
-
Hello fellow pfSense community. After I upgraded my pfSense box from stable release 2.0.3 (FreeBSD version 8.3) to 2.1, and after countless reboots due to my Xbox 360 having DNS errors left and right, the filtering in Dansguardian does not work any longer. In 2.0.3, it worked flawlessly until I upgraded to 2.1, which the package won't filter anything anymore.
However, the good news is the squid-3 package still works.
The filtering did work before I rebooted the firewall due to my Xbox 360 complaining about DNS errors, and now it does not work.I even changed the /usr/local/pkg/dansguardian.inc files lines from:
#includes preg_replace patterns $match[0]="/(.)$/"; $match[1]="/\/usr.local/"; $match[2]="/,/"; $replace[0]="$1>\n"; $replace[1]="\n.Include<".DANSGUARDIAN_DIR; $replace[2]=">";
to:
#includes preg_replace patterns $match[0]="/(.)$/"; $match[1]="/\/usr.local|".str_replace('/','\\/',DANSGUARDIAN_DIR)."/"; $match[2]="/,/"; $replace[0]="$1>\n"; $replace[1]="\n.Include<".DANSGUARDIAN_DIR; $replace[2]=">";
And still no joy. I might as well re-install the firewall OS with only 2.0.3 and not install 2.1 anymore due to the package bug.
In addition, in the Release Candidates of pfSense 2.1, the package had the same exact problem.
Are there any other files I should edit to fix this? If not, is there a bug reporting site that I can report a bug?
Thanks for your help.
Scratch that. After changing that specified file, and one reboot later, the filtering now works.