Skip to content

How to correct using 'Blocked' page functionally? #391

Answered by 0xERR0R
m0zgen asked this question in Q&A
Discussion options

You must be logged in to vote

Basically, you need a web server which serves on ports 80 and 443. This server should return custom html page on each root and *.html request. This server can also return some custom pictures or only single pixel for *.jpeg/png etc requests.

This would work well for HTTP requests. For HTTPS you need to make some kind of "man-in-the-middle attack". Your web server must generate certificates for hostnames in request on-the-fly. To avoid warnings on client side, you must import the root certificate of your server.

To summarize, since almost all traffic is encrypted today, it is probably to much effort to use the custom block page

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m0zgen
Comment options

Answer selected by m0zgen
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