cognetwork-dev / Metallic

A powerful web proxy built for speed and customization.
https://metallic.eu.org/
GNU Affero General Public License v3.0
162 stars 825 forks source link

[Feature Request] put through custom DNS, or list to block specific sites. #5

Closed yodaluca23 closed 1 year ago

yodaluca23 commented 1 year ago

I know that, adding a list of specific sites is supported by UV, but I believe that it would be able to go to those with just using one of the other proxies... also, if we could just have it, put everything through a custom DNS, that could also block websites then that would be way more convenient, because, then we could use like 1.1.1.3, instead of needing to import a giant list of websites...

And if we could make the list (if you add the list option instead of DNS.) use environment variables, so that people can't just view the list and see if their website that they want to go to isn't on it...

Nebelung-Dev commented 1 year ago

I will look into adding a blocklist

yodaluca23 commented 1 year ago

I will look into adding a blocklist

OK great and if that works out if you could put it in the format of each website per line so that we can easily use pi-hole lists, that would be great!

And if we could have an option to just put in somewhere a URL to the raw formatting of a pi-hole list (the URL for the pi-hole list would preferably be put through the proxy, so that if someone looking through the network logs sees a ping to a pi-hole NSFW website list, that might be suspicious, also so that if the URL is blocked it gets unblocked and Metallic is still able to fetch the list.) that way we can automatically have the list updated...

Nebelung-Dev commented 1 year ago

I think it works

yodaluca23 commented 1 year ago

I think it works

Wheres it in? Whats the formatting?

Nebelung-Dev commented 1 year ago

https://github.com/Metallic-Web/Metallic/blob/main/blocklist/block.json

Nebelung-Dev commented 1 year ago

It's json

yodaluca23 commented 1 year ago

It's json

Right, so is it like this?

[example.site, example2.site, example3.site]

Nebelung-Dev commented 1 year ago

yeah just the hostnames