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

    Whitelist

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 204 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.
    • S
      Simbad
      last edited by

      Hello, before upgrading to 4.1, exceptions were made with *, such as: * .microsoft.com. Now this no longer works (the data is written in the ACL under the White List).

      Please help as my systems are not being updated.

      1 Reply Last reply Reply Quote 0
      • C
        coffeelover
        last edited by

        The proxy config snippet generated from the whitelist uses the acltype dstdom_regex

        acl aclname dstdom_regex [-n] [-i] .foo.com ...
        # regex matching server [fast]
        #
        # For dstdomain and dstdom_regex a reverse lookup is tried if a IP
        # based URL is used and no match is found. The name "none" is used
        # if the reverse lookup fails.

        Even if it used dstdomain before, the asterisk character was invalid syntax and possibly ignored by the parser.

        Short answer:
        You have to adapt your whitelist or patch the code.

        For adapting your whitelist:
        The dot-Character has a special meaning in regex. If you want to include the '.' as in '.microsoft.com', you have to escape it: '.microsoft.com'
        (and: squid knows the end of the domain name, you don't have to append the '.' in the end)

        The correct migration would be:
        *.microsoft.com. → .microsoft.com

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