Closed 0x501D closed 1 year ago
It's @droe who should review this pr, not me. Sorry.
Another reason that I couldn't review your pr is that I divert HTTP traffic to the E2Guardian web filter on my UTMFW project using SSLproxy. In fact, I have developed SSLproxy especially for HTTP/s content filtering (and for POP3/s and SMTP/s, or perhaps others).
This feature adds possibility of HTTP content filtering. It uses JSON format for configuration file. User can pass or drop URLs, methods and content-type (for response only). Example of configuration:
When rules blocks something sslsplit generates HTTP response with the reason of blocking. And use for it HTML template from http_deny_tmpl parametr.