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

SquidGuard and expressionlists

Scheduled Pinned Locked Moved pfSense Packages
5 Posts 2 Posters 4.3k 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.
  • M
    macgvr
    last edited by Feb 22, 2013, 3:06 PM

    Is there a way to use expressionlists in Squidguard in Pfsense? I tried entering them in the spot where regular expressions are entered, using the GUI interface under Target categories, but that failed. I can't find an option for using expressionlists in the GUI anywhere, unless I just missed it. Can anyone help? Thanks

    1 Reply Last reply Reply Quote 0
    • N
      Nachtfalke
      last edited by Feb 22, 2013, 9:37 PM

      Target categories and the field "Expressions" is what you are searching.
      What does not work ?

      Did you click "save" and "Apply" in "General Settings" page ?

      1 Reply Last reply Reply Quote 0
      • M
        macgvr
        last edited by Feb 26, 2013, 9:03 PM

        When I go to the Target categories and create a category, I then have the options of Domain list, URL list and Regular expressions. I grabbed an expression list that is mentioned on the SquidGuard page and pasted it into the Regular expressions section. When I click save it generates an error in the upper right hand side of the window and when I acknowledge the error it bounces me out of the category I was working in. When I go back in, I find that it has cleared everything I put in. I have tried it more than once with the same result. I have attached the text file containing the content I tried to enter.

        expresionlist.txt

        1 Reply Last reply Reply Quote 0
        • N
          Nachtfalke
          last edited by Feb 27, 2013, 10:11 AM

          The problem is that you are using the wrong syntax for the GUI. Read this:

          	dsniff|torrent|edonkey|emule|applejuice|audiogalaxy|gnutella|azureus|bitcomet|bitrocket|bitlord|bitspirit|bittornado|bittyrant|shareaza|jdownloader|warez|.*\.rsdf$|.*\.dlc$|.*\.ccf$|.*\.6x\.to/|.*\.5x\.to/|.*\.met$|.*\.ucoz\.kz/
          Enter word fragments of the destination URL. To separate them use | . Example: mail|casino|game|\.rsdf$ 
          

          Suggestion:
          The GUI offers the possibility to upload blacklists like from urlblacklist.com and shallalist.de
          URLblacklist.com offers URL, domain and expressions.

          Download such a blacklist, modifiy the "expressions" with your file and then upload it to pfsense and import it into squidguard.

          PS: I checked your regex list and you want to block "weed" so probably some predefinex blacklists like from shalla.de will help you. All these lists will be updates regularily and you can add URLs which are not in the blacklist on the shalla.de webpage.

          1 Reply Last reply Reply Quote 0
          • M
            macgvr
            last edited by Feb 27, 2013, 3:41 PM

            I kind of figured the format might be wrong. Thanks for the input.

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