Skip to content

Drop connections from banned countries #424

Discussion options

You must be logged in to vote

@TomOdellSheetMusic Zoraxy works on top of http. When the proxy resolved the country code for the request, it has already accepted the connection. Replying a few (kilo) bytes for showing the access denied page isn't that much different in load compare to directly closing the request.

You should use tools that handle lower network layer like iptable you mentioned to achieve what you need is closing TCP connection directly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TomOdellSheetMusic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants