blocky
blocky copied to clipboard
Custom block type per blacklist group
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