Guest User!

You are not Sophos Staff.

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

Question regarding adding my own block list. Which option to choose?

I am running 9.3

Should I add the long block list to:

1) Web Protection ->WebFiltering -> Policies -> Default Content Filter Action -> Websites ->"Block Theese Websites" add as Regular Expression

OR

2) Web Protection -> Filtering Options -> Websites -> "New Site"  and Recategorize.

If 2  then can I just copy paste an expression list?

i.e.


^https?://([A-Za-z0-9.-]*\.)?0tracker\.com/
^https?://([A-Za-z0-9.-]*\.)?1-cl0ud\.com/
^https?://([A-Za-z0-9.-]*\.)?100im\.info/


This thread was automatically locked due to age.
  • Note that 
    ^https?://([A-Za-z0-9.-]*\.)?100im\.info/ can be shortened to 
    ^https?://[A-Za-z0-9.-]*100im\.info/ or rewritten as
    ^https?://([A-Za-z0-9.-]+\.)?100im\.info/

    I don't think you can use REGEX in 2.  As for whether 1 or 2 is to be preferred, it depends.  In any case, prior to adding a list, I would go to TrustedSource, sign up for a free account and check your list to see what additional categories should be blocked.

    Cheers - Bob
  • option 2 can't use regex,
    how to block is just a mather of preference.

    I use option 1 when I Want to block for one profile/network, and option 2 if I want it blocked for multiple/all networks.

    Kind regards,
    Frank
  • Note that 
    ^https?://([A-Za-z0-9.-]*\.)?100im\.info/ can be shortened to 
    ^https?://[A-Za-z0-9.-]*100im\.info/ or rewritten as
    ^https?://([A-Za-z0-9.-]+\.)?100im\.info/

    I don't think you can use REGEX in 2.  As for whether 1 or 2 is to be preferred, it depends.  In any case, prior to adding a list, I would got to TrustedSource, sign up for a free account and check your list to see what additional categories should be blocked.

    Cheers - Bob


    Thanks will do that.

    So basically both methods employ the same amount of resources?  I thought one method was more memory/cpu intensive then the other.
  • I don't think it makes too much of a difference, but RegEX is said to use a little bit more CPU and RAM when being processed. It depends on how often the entries are processed, and the size of your list.

    I think it's best to test for a bit with each method, and if you notice a huge change in CPU or RAM usage, to see what works best.
  • The CPU load is:

    Website is most efficient.
    Blacklist using domains is next
    Blacklist using domains plus RegEx is next.
    Blacklist using RegEx is least.

    However, unless you are doing hundreds of entries or have really inefficiently written RegEx, it's all really the same.