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 sub domains

finally got my astaro security gateway up and running its working great just curious of 1 thing how do i use the surf protections to block sites like gropus.yahoo.com instead of just www.yahoo.com I want to add a wildcard into my blacklist and i know *.yahoo.com wont work.. 

Any ideas?


This thread was automatically locked due to age.
Parents
  • I use this expression in the URL Blacklist to block "ebay.*", "SUBDOMAIN.ebay.*" and "SUBDOMAIN.SUBDOMAIN.ebay.*", etc.:

    //([-\.\w]+\.)?ebay.*\.\w+

    You have to use regular expressions in the Blacklist, which is complicated, but also very flexible.
  • Won't just "ebay" without quotes work?
  • If you just put
        
    • ebay  
    [/list] in the blacklist, it will also match www.i-loathe-ebay.org (don't know if that domain exists  [;)] )
    Entering "hitehouse" will also block "www.whitehouse.gov" ...

     Please note: The regular expression I posted will also match "www.ebaySOMETHING.org" e.g. "www.ebayhaters.org", because I also wanted to block "ebay-static" (or was it "ebaystatic"?) If you don't want that, use this expression:

     //([-\.\w]+\.)?ebay\.\w+ 

    That will block "ebay.SOME-TLD" ("ebay.com", "ebay.de", "ebay.net", etc.)
Reply
  • If you just put
        
    • ebay  
    [/list] in the blacklist, it will also match www.i-loathe-ebay.org (don't know if that domain exists  [;)] )
    Entering "hitehouse" will also block "www.whitehouse.gov" ...

     Please note: The regular expression I posted will also match "www.ebaySOMETHING.org" e.g. "www.ebayhaters.org", because I also wanted to block "ebay-static" (or was it "ebaystatic"?) If you don't want that, use this expression:

     //([-\.\w]+\.)?ebay\.\w+ 

    That will block "ebay.SOME-TLD" ("ebay.com", "ebay.de", "ebay.net", etc.)
Children
No Data