• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

SquidGuard and URL Blacklist

Scheduled Pinned Locked Moved pfSense Packages
11 Posts 2 Posters 18.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    hdr
    last edited by Aug 12, 2014, 9:20 AM

    Hello,

    I don't understand, when i download the blacklist "shallalist" in squidGuard, I have nothing in Common ACL and target rules.

    I think the Blacklist update log is good :

    Begin blacklist update
    Start download.
    Download archive http://www.shallalist.de/Downloads/shallalist.tar.gz
    Download complete
    Unpack archive
    Scan blacklist categories.
    Found 74 items.
    Start rebuild DB.
    Copy DB to workdir.
    Reconfigure Squid proxy.
    Blacklist update complete.

    I try with version 2.1.3 and 2.1.4 and to reinstall all squid package squid and  squidguard but unsuccessfull.

    Thanks for your help.
    Sorry for my english

    Regards
    Hadrien

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Aug 12, 2014, 1:16 PM

      Did you also remember to go to Services - Proxy filter - General settings - Blacklist, check the Blacklist option and fill in the Blacklist URL?

      1 Reply Last reply Reply Quote 0
      • H
        hdr
        last edited by Aug 12, 2014, 4:03 PM

        Yes, the option is checked, and the box is filled with the URL: http://www.shallalist.de/Downloads/shallalist.tar

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Aug 12, 2014, 4:32 PM

          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?

          1 Reply Last reply Reply Quote 0
          • H
            hdr
            last edited by Aug 12, 2014, 5:23 PM

            I've the same link ;).

            1 Reply Last reply Reply Quote 0
            • H
              hdr
              last edited by Aug 12, 2014, 7:32 PM Aug 12, 2014, 7:25 PM

              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/squidGuard

              When 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.

              1 Reply Last reply Reply Quote 0
              • K
                KOM
                last edited by Aug 12, 2014, 7:29 PM

                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.

                1 Reply Last reply Reply Quote 0
                • H
                  hdr
                  last edited by Aug 12, 2014, 7:37 PM

                  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

                  1 Reply Last reply Reply Quote 0
                  • K
                    KOM
                    last edited by Aug 12, 2014, 8:00 PM

                    Well, there is your problem.  SquidGuard is not supported on nano.  The /var and /tmp folders are on a ramdisk.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hdr
                      last edited by Aug 12, 2014, 8:07 PM

                      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 :).

                      1 Reply Last reply Reply Quote 0
                      • K
                        KOM
                        last edited by Aug 13, 2014, 2:20 AM Aug 12, 2014, 8:34 PM

                        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

                        1 Reply Last reply Reply Quote 0
                        2 out of 11
                        • First post
                          2/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received