goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

Adding support for checking blocked or direct domains via REST API

Open elico opened this issue 3 years ago • 2 comments

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?

elico avatar Feb 01 '21 18:02 elico

https://snail007.github.io/goproxy/manual/#/?id=_9api-authentication

snail007 avatar Feb 02 '21 01:02 snail007

@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.

elico avatar Feb 02 '21 06:02 elico