You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to check and validate e2guardian's configuration I use a simple Python app that issues a number of HTTP requests via the e2guardian proxy, some of them expected to be blocked (DENIED), some expected to be passed. Currently I simply parse the output and look for a specific string I have added to my e2guardian error page template to detect whether the request has been denied or not. While this works quite well in most cases it does not for banned URLs or so. I think it could be useful (possibly not only for such automated tests) to simply add a HTTP header, e.g.:
X-e2g-verdict: DENIED
Or even maybe with some extra info, similar to what can be displayed on the templated error page in other headers?
Thanks for the great work you do!
T
The text was updated successfully, but these errors were encountered:
Hi,
to check and validate e2guardian's configuration I use a simple Python app that issues a number of HTTP requests via the e2guardian proxy, some of them expected to be blocked (DENIED), some expected to be passed. Currently I simply parse the output and look for a specific string I have added to my e2guardian error page template to detect whether the request has been denied or not. While this works quite well in most cases it does not for banned URLs or so. I think it could be useful (possibly not only for such automated tests) to simply add a HTTP header, e.g.:
Or even maybe with some extra info, similar to what can be displayed on the templated error page in other headers?
Thanks for the great work you do!
T
The text was updated successfully, but these errors were encountered: