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

Web Filtering

I have been searching through the posts and this is what I THINK I have found out.

When trying to either block or allow a website in the filter actions, if I put a DOMAIN in the domain section and a regEX statement into the REgular Expressions sections I have just created a "AND" statement?

If I want to block all access to " The Useless Web " all I need to do is enter that into the DOMAIN section as is and NOT enter anything into the Regular Expression section?

Regular Expressions escape me.  I have been trying to locate a website that will let me enter a website into a field and have it convert it into a string of gibberish(regEX) that I can enter into the filter.  So far, the sites I have found will let me do everything else but that.

Does anyone have a site, or an app, that I can use to convert something like " www.zumiez.com/womens/tops/t-shirts.html" into a regEX expression that accounts for possible subdomains and HTTP/HTTPS?  Or would it be best to just put "www.zumiez.com" into the DOMAIN section AND leave the Regular Expression section free from any mention of this site?

And how much will this change when 9.2 is released?


This thread was automatically locked due to age.
Parents
  • Robert,

    Look at the Exceptions you already have from Astaro/Sophos.  For Windows, you will find

    ^https?://([A-Za-z0-9.-]*\.)?microsoft\.com/


    [A-Za-z0-9.-]* is what you're looking for.  I'm not sure why some extend that to ([A-Za-z0-9.-]*\.)?, but the longer expression also works.  Just model your expressions after the one above for all microsoft.com subdomains.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Robert,

    Look at the Exceptions you already have from Astaro/Sophos.  For Windows, you will find

    ^https?://([A-Za-z0-9.-]*\.)?microsoft\.com/


    [A-Za-z0-9.-]* is what you're looking for.  I'm not sure why some extend that to ([A-Za-z0-9.-]*\.)?, but the longer expression also works.  Just model your expressions after the one above for all microsoft.com subdomains.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children