goproxy
goproxy copied to clipboard
Adding support for checking blocked or direct domains via REST API
I want to be able to define a REST api endpoint to check if the sni/url is blocked instead of a static file.
The protocol can be one of couple:
- json
- single line acl protocol
Would this be possible to add?
https://snail007.github.io/goproxy/manual/#/?id=_9api-authentication
@snail007 well this API is good but doesn't do what I was aiming towards.
Currently the -b
and the -d
offers what I need.
I wanted to use the same/similar api call which the auth you mentioned uses but for the block/direct decision.