[GH-ISSUE #419] Adding support for checking blocked or direct domains via REST API #325

Open
opened 2026-02-27 23:16:29 +03:00 by kerem · 2 comments
Owner

Originally created by @elico on GitHub (Feb 1, 2021).
Original GitHub issue: https://github.com/snail007/goproxy/issues/419

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?

Originally created by @elico on GitHub (Feb 1, 2021). Original GitHub issue: https://github.com/snail007/goproxy/issues/419 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?
Author
Owner

@snail007 commented on GitHub (Feb 2, 2021):

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

<!-- gh-comment-id:771273091 --> @snail007 commented on GitHub (Feb 2, 2021): https://snail007.github.io/goproxy/manual/#/?id=_9api-authentication
Author
Owner

@elico commented on GitHub (Feb 2, 2021):

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

<!-- gh-comment-id:771413301 --> @elico commented on GitHub (Feb 2, 2021): @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#325
No description provided.