From: Sander Striker Date: Thu, 7 Aug 2003 23:57:11 +0000 (+0000) Subject: Add an error msg when encountering a spoofed identity. If this would X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7e43e618629ea13197799931f108a105d946d08;p=thirdparty%2Fapache%2Fhttpd.git Add an error msg when encountering a spoofed identity. If this would have been here in the first place. Makes issues like these be found easier in the future. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@100937 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_kernel.c b/ssl_engine_kernel.c index 9e46c81ad40..8548a59b660 100644 --- a/ssl_engine_kernel.c +++ b/ssl_engine_kernel.c @@ -880,6 +880,8 @@ int ssl_hook_UserCheck(request_rec *r) password = auth_line; if ((username[0] == '/') && strEQ(password, "password")) { + ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, + "Encountered FakeBasicAuth spoof: %s", username); return HTTP_FORBIDDEN; } }