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

Regexp to block URL

Hello Al,

I am fighting with blocking the URL using rex exp. Kindly ask for advise.

The case is to block access to URL with following strings:

*/v2/*/manifests/*
*/v2/*/blobs/*

I was trying with following:

^https?://.*v2.*blobs

or

^https?://.*v2.*blobs.*

or even

.*v2.*

The first 2 are not working at all

The last is working only for something like https://v2.com/ but for https://aaa.com/v2 not

Can You please advise?



This thread was automatically locked due to age.
Parents
  • Cześć Andrzej and welcome to the UTM Community!

    Please copy a line here from the Web Filtering log containing a URL you want to block.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Cześć Andrzej and welcome to the UTM Community!

    Please copy a line here from the Web Filtering log containing a URL you want to block.

    Cheers - Bob

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