Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 80
  1. #51
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,033

    Default

    *.site shouldn't match sites.google.com at all...

    And the last I was told *.site is wrong anyway, because the pattern you want is simply .site.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  2. #52
    Master Untangler Kyawa's Avatar
    Join Date
    Dec 2016
    Location
    Maryland
    Posts
    497

    Default

    Taking the "*" out resolved it so it look like the syntax using "*" is the issue.

  3. #53
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,605

    Default

    yeah, but now it won't match anything. That was my mistake until today, too.
    Another mistake: ignorance of the difference between Globbing and Regex.
    TIL
    Last edited by Jim.Alles; 02-06-2020 at 02:34 PM.

  4. #54
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,605

    Angry

    Aaannd Web Filter uses both "URL" matcher and Glob Matcher (for text searches).
    Search Filter terms use the Glob Matcher syntax.
    Block Sites
    Under Block Sites you can add individual domain names you want to be blocked or flagged - just enter the domain name (e.g. youtube.com) and specify your chosen action. This list uses URL Matcher syntax.
    URL Matchers use globs which are describe more in depth in the Glob Matcher documentation.
    My interpretation is that the URL Matcher uses Glob matching, with anchors on either side. But the Wiki says that they are 'regular expressions'. that can't be right. which is it?


    give me a break.
    Last edited by Jim.Alles; 02-06-2020 at 02:56 PM.

  5. #55
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,605

    Default

    there appears to be an undocumented 'feature' going on with TLDs

    Also,
    Code:
    *\.ru
    does not escape the dot in order to force it - it matches forums.untangle.com
    Last edited by Jim.Alles; 02-06-2020 at 06:41 PM. Reason: dyslexia

  6. #56
    Untanglit DobermanTech's Avatar
    Join Date
    Jul 2019
    Location
    TX
    Posts
    15

    Default

    Since you mentioned *.ru not working for you in the past, I've had success blocking top level domains using this syntax:

    In Web Filter under Block Sites:
    tld.png


    Alternatively, this syntax works for Web Filter Rules:
    tld1.png

    Hope that helps
    Jim.Alles likes this.

  7. #57
    Untangler jcoffin's Avatar
    Join Date
    Aug 2008
    Location
    Sunnyvale, CA
    Posts
    9,625

    Default

    The syntax is glob, not simple wildcards. Details in https://wiki.untangle.com/index.php/URL_Matcher

    "Similarly "*." is stripped from the rule for the same reason as above."
    Attention: Support and help on the Untangle Forums is provided by
    volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  8. #58
    Untangle Ninja
    Join Date
    Feb 2016
    Posts
    1,135

    Default

    Quote Originally Posted by jcoffin View Post
    The syntax is glob, not simple wildcards. Details in https://wiki.untangle.com/index.php/URL_Matcher

    "Similarly "*." is stripped from the rule for the same reason as above."
    We've been reading that. What am I missing? How does *site become sites?

  9. #59
    Untangle Ninja
    Join Date
    Feb 2016
    Posts
    1,135

    Default

    I'm feeling sheepish. But, maybe we're talking about different things together.

    UtWebFilterBlock.png

    Is there a consensus that the match to the original rule suggests a bug?

  10. #60
    Untangle Ninja Jim.Alles's Avatar
    Join Date
    Jul 2008
    Location
    Central PA
    Posts
    2,605

    Default

    Quote Originally Posted by Sam Graf View Post
    I'm feeling sheepish. But, maybe we're talking about different things together.

    UtWebFilterBlock.png

    Is there a consensus that the match to the original rule suggests a bug?
    Well, we are talking about the same thing: unexpected behavior.
    But then we have to get philosophical: is the bug in the code, or the documentation?

Page 6 of 8 FirstFirst ... 45678 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2