This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Blocking .*** or other top-level domains

With the release of the new .*** domains today we would like to know if it is possible to block an entire TLD via the HTTP/S proxy.  In our testing, using a simple *.*** wildcard is not working.


This thread was automatically locked due to age.
  • In the list of sites to block, if you want to block *.dog, then try https?://[A-Za-z0-9.-]*\.dog/
    (This is corrected as per the posts below.)

    Did that work for you?

    Cheers - Bob
  • I attempted this with both .net and .tv TLDs by entering the following in Sites to block under URL Filtering:

    https?://[A-Za-z0-9.-]*net$
    https?://[A-Za-z0-9.-]*tv$

    Neither one had any affect and I was able to reach sites in those TLDs from a computer in the default HTTP/S policy.
  • I should mention that my initial post was for the new "adult" themed domains released today - triple-X.  The forum filtered it.
  • [;)] Yup - that's happened to several of us here - you can't get 'xes' backwards past the built-in censor either!

    What do you see in the Web Filtering log when it allows access to one of those sites?  Is the Proxy in Standard mode or Transparent?

    Cheers - Bob
  • The proxy is in transparent mode (not full transparent).

    This is what the Live Log shows:
    2011:12:06-15:24:03 mail httpproxy[24480]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.0.104" dstip="67.225.149.139" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="15723" time="274 ms" request="0xe661a7f0" url="www.boxee.tv/.../javascript"

    This is with the https?://[A-Za-z0-9.-]*tv$ entry in the blocked domains.  I removed the one for .net for obvious reasons.
  • I'm sorry - take that tv$ off the end and replace it with \.tv/

    $ means the end of the string - I wasn't thinking!

    Did that work?

    Cheers - Bob
  • Yessir that got it.  It now blocks correctly with the entry https?://[A-Za-z0-9.-]*\.tv/, so replacing .tv with any TLD (including triple-X) should work.

    Thanks for the assist!