SquidGuard and URL Blacklist
-
Did you also remember to go to Services - Proxy filter - General settings - Blacklist, check the Blacklist option and fill in the Blacklist URL?
-
Yes, the option is checked, and the box is filled with the URL: http://www.shallalist.de/Downloads/shallalist.tar
-
I use http://www.shallalist.de/Downloads/shallalist.tar.gz, and it specifically tells you to use that file name. Was that a typo or do you have it wrong?
-
I've the same link ;).
-
Here are System logs :
Aug 12 19:18:30 php: squidGuard_blacklist_update.sh: The command '/sbin/mdmfs -s 300M md15 /tmp/squidGuard' returned exit code '1', the output was 'mdmfs: mount exited with error code 64'
Aug 12 19:18:30 php: squidGuard_blacklist_update.sh: The command 'chmod 1777 /tmp/squidGuard' returned exit code '1', the output was 'chmod: /tmp/squidGuard: No such file or directory'
Aug 12 19:18:31 kernel: pid 57641 (bsdtar), uid 0 inumber 4149 on /tmp: filesystem full
Aug 12 19:18:31 kernel: pid 57641 (bsdtar), uid 0 inumber 1347 on /tmp: filesystem full
Aug 12 19:18:31 php: squidGuard_blacklist_update.sh: The command 'tar zxvf /tmp/squidguard_blacklist.tar -C /tmp/squidGuard/unpack' returned exit code '1', the output was 'tar: Failed to set default locale x BL/ x BL/updatesites/ x BL/updatesites/urls x BL/updatesites/domains x BL/military/ x BL/military/urls x BL/military/domains x BL/webtv/ x BL/webtv/urls x BL/webtv/domains x BL/anonvpn/ x BL/anonvpn/urls x BL/anonvpn/domains x BL/adv/ x BL/adv/urls x BL/adv/domains x BL/global_usage x BL/religion/ x BL/religion/urls x BL/religion/domains x BL/sex/ x BL/sex/education/ x BL/sex/education/urls x BL/sex/education/domains x BL/sex/lingerie/ x BL/sex/lingerie/urls x BL/sex/lingerie/domains x BL/news/ x BL/news/urls x BL/news/domains x BL/dynamic/ x BL/dynamic/urls x BL/dynamic/domains x BL/forum/ x BL/forum/urls x BL/forum/domains x BL/science/ x BL/science/chemistry/ x BL/science/chemistry/urls x BL/science/chemistry/domains x BL/science/astronomy/ x BL/science/astronomy/urls x BL/science/astronomy/domains
Aug 12 19:18:41 php: squidGuard_blacklist_update.sh: The command 'cp -f -p /tmp/squidGuard/arcdb/blacklist.files /usr/pbi/squidguard-amd64/etc/squidGuard' returned exit code '1', the output was 'cp: /usr/pbi/squidguard-amd64/etc/squidGuard/blacklist.files: Read-only file system'
Aug 12 19:18:41 php: squidGuard_blacklist_update.sh: The command 'umount -f /tmp/squidGuard' returned exit code '1', the output was 'umount: /tmp/squidGuard: not a file system root directory'
Aug 12 19:19:27 php: squidGuard_blacklist_update.sh: The command 'cp -f -p /tmp/squidGuard/arcdb/blacklist.files /usr/pbi/squidguard-amd64/etc/squidGuard' returned exit code '1', the output was 'cp: /usr/pbi/squidguard-amd64/etc/squidGuard/blacklist.files: Read-only file system'
problem with tar command ?
but the files are present in : /var/db/squidGuardWhen i try to restore default i have this in blacklist log :
Restore default blacklist DB.
Restore error: File /var/db/squidGuard.sample or /usr/pbi/squidguard-amd64/etc/squidGuard/blacklist.files not found. -
I don't suppose that you are running the nano version of pfSense? Those errors show that the whole operation is failing because your file system is full.
-
I use pfsense pfSense-2.1.4-RELEASE-4g-amd64-nanobsd.img I put in on a USB memstick with phydiskwrite.
All is running on an Alix board apu1c -
Well, there is your problem. SquidGuard is not supported on nano. The /var and /tmp folders are on a ramdisk.
-
No possibility to change his folder ?
My goal was to make a captive portal, retrieve logs, filter user'sconnections with squidguard and send them to a remote server.
Is it possbile to do this with any other package?
Thank you again for your great help :).
-
You can change the size via System - Advanced - Miscellaneous - RAM Disk Settings.
Edit: Removed bogus advice to not increase RAM disk on nano.
See this thread:
https://forum.pfsense.org/index.php?topic=80410.0