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 entire top level domains

I've been getting spam emails that make it through various anti-spam measures. They're exclusively from odd domains like .no, .kr, .in etc.
I have the Web proxy set up and it does work for a profile I have set up.

If I put the entire URL into the "Additional URLs/Sites to Block" as "sivertsvikhavn.no" it works. However "http:/.../*.no" does NOT block the site.

What am I missing?


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

    I am not where I can access my Astaro box to verify the regex engine likes all of these, but here are some options that should catch what your looking for from rather simple to complex.  

    https?://[0-9\.]+/


    https?://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/


    https?://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/


    https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/

    These assume your wanting to catch traffic using any IP address in the URL.

    hth

    James
Reply
  • Hello eclipse79,

    I am not where I can access my Astaro box to verify the regex engine likes all of these, but here are some options that should catch what your looking for from rather simple to complex.  

    https?://[0-9\.]+/


    https?://[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/


    https?://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/


    https?://(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/

    These assume your wanting to catch traffic using any IP address in the URL.

    hth

    James
Children
No Data