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

    Why this url blocked on squidguard?

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 1.1k 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
      mamat_do
      last edited by

      Dear all ….......

      In SquidGuard I make adjustments to the target tab categories:

      blockExt:
      (./..(asf|wm|3gp|ogg|aac|apk|big|bik|exe|com|bat|ogv|flp|cam|fla|mkv|mov|mp4|rm|yuv|wma|wmv|cab|mp3|avi|mpg|swf|mpeg|mp.|mpv|wm.|vpu))

      Then the target categories applied in groups ACL
      The problem is why if I click on the link below, always blocked by SquidGuard?

      http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.tribunnews.com%2F&h=HAQEwpIza&enc=AZMlvzs5zE2Ko8ne2PruhtgOlOkfZtT1B76qEM1CgSTXb4SJYbTvTu7U0eyynBc7wxKnLKyDGVNS6ttdnRqr13qkFCXbnp8wL4Liu8LeiEYJVAGlerGeDVId413J9fZckrzHJOj8q1z-i7mxnXXWmxtwhu9_3b-atDWZwWEa9zHBSA&s=1

      And if I directly run http://www.tribunnews.com in firefox, can be accessed to well

      Here redirect screen:
      Request denied by CJR: 403 Forbidden
      Reason: Access is forbidden, still in working hours or contains files that are blacklisted
      Client address: 192.xxx.xxx.xxx
      Client group: 1
      Target group: blockExt
      URL: http://l.facebook.com/l.php?u=http://www.tribunnews.com/

      Log in SquidGuard:
      Request (workingHours / blockExt / -) - GET REDIRECT

      Is there in the regex is not correct, please the guidance...

      Thank you for your attention.

      1 Reply Last reply Reply Quote 0
      • S
        sebastiannielsen
        last edited by

        l.facebook.com/l.php?u=http%3A%2F%2Fwww.tribunnews.com%2F&h=HAQEwpIza&enc=AZMlvzs5zE2Ko8ne2PruhtgOlOkfZtT1B76qEM1CgSTXb4SJYbTvTu7U0eyynBc7wxKnLKyDGVNS6ttdnRqr13qkFCXbnp8wL4Liu8LeiEYJVAGlerGeDVId413J9fZckrzHJOj8q1z-i7mxnXXWmxtwhu9_3b-atDWZwWEa9zHBSA&s=1

        The filter Thinks you're trying to download a file with .com extension (Microsoft Command file - like EXE)

        The filter matches anything that is after the / and contains a dot (.) and then the list of those 3-letter extensions. Note that the // in http:// is not matched because http:// is not considered in the filter.
        The / in the regexp prevent it from matching a .com domain when accessing it directly - like www.domain.com.
        So the filter blocks: www.example.org/index.php?redirect=http://www.site2.com
        but not
        www.site2.com

        (./..(asf|wm|3gp|ogg|aac|apk|big|bik|exe|com|bat|ogv|flp|cam|fla|mkv|mov|mp4|rm|yuv|wma|wmv|cab|mp3|avi|mpg|swf|mpeg|mp.|mpv|wm.|vpu))

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.