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

Black/Whitelist problems

It has come to my attention that a lot of users are reporting problems with Black/White list feature of the SurfProtection.
Please note that these lists are expecting well formed  regular expressions as input and may I also remind that  "*" is NOT a valid regular expression. please use ".*" instead. 
This will be added to the online documentation trough the next Up2Date.
  


This thread was automatically locked due to age.
Parents
  • What do you mean use ".*" ?  In what context ?  Examples please.
     
  • Many people would match pages from the astaro website with the following axpression: 
    http*://www.astaro.com/* 
    but this is not correct. This expression matches the next URL example
    httpppppppppppppp://wwwAastaroScom////////////////////////////////////////////
    The expression you should use is
    ^\d+://www\.astaro\.com/.*$
    For more information on regular expressions please consult one of many excellent free tutorials available troughout the web.   
        
  • It's too bad the manuals don't mention that regular expressions are allowed in blacklists/whitelists, nor give even simple examples of this.

    I have since corrected a pretty serious problem with one of my filters that could have been prevented if this information was included.  

    I'll head over to the docs forum and see if that can be added.

    Thanks  
  • Are regular expressions used in the SMTP Proxy of version 4 for whitelist and blacklist hosts/email addresses ??

    The help gives example of *@spammer.com type syntax for these, which does not seem to conform to regular expression syntax (Where a . = *)

    Astaro should specifically state where regular expressions are used and where more normal ? and * wildcard chars are used.

    Being able to block *@*spammer.com would be great.
    But is not currently supported... 
  • Simon,

    a dot means any single character.  

    Example:

     www.astaro.com also means wwwAastaroOcom

    If you'd use a single dot as filter criterion, everything would be filtered ;-)

    read you
    o|iver
       
Reply Children
No Data