blocky icon indicating copy to clipboard operation
blocky copied to clipboard

Custom block type per blacklist group

Open bozicm opened this issue 10 months ago • 4 comments

I don't care much about adware and in that case zeroIP or nxDomain response is good enough. But for malware&co I do want to have a custom IP redirect where a warning message for the mentioned page is displayed.

Would it be possible to refactor the blockType to support different response options per blacklist group? For example, the config would be like:

blocking:
  blackLists:
    ads:
      - https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
    malware:
      - verybadsite.xyz
blocking:
  blockType: nxDomain
  groupTypes:
     - ip: 123.123.123.123
       lists:
         - malware

bozicm avatar Mar 29 '24 07:03 bozicm