Received: (qmail 27420 invoked by uid 501); 13 Sep 2000 22:14:27 -0000 Message-Id: <20000913221427.27419.qmail@locus.apache.org> Date: 13 Sep 2000 22:14:27 -0000 From: Todd Vierling Reply-To: tv@pobox.com To: submit@bugz.apache.org Subject: ServerTokens offers no "NONE" option X-Send-Pr-Version: 3.110 >Number: 6530 >Category: protocol >Synopsis: ServerTokens offers no "NONE" option >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Wed Sep 13 15:20:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: tv@pobox.com >Release: 1.3.12 >Organization: apache >Environment: Any >Description: Yeah, I know, it's nice to know how many Apache servers are out there in the world, and what their revisions are. However, as a corporate security directive for my last contract, I had to hack out the C code that generated the Server: header entirely. The ServerTokens option has no way to actually turn the Server: header OFF, and the mod_header Header directive can't "unset" it. There are legitimate security reasons for disabling this response header, and Apache already offers differing degrees of the response, so why not "no response"? >How-To-Repeat: See documentation for ServerTokens and try "unset"ting the Server header using mod_headers. >Fix: Offer a "NONE" option which will suppress the Server: header entirely. (Note that this could also be combined with BrowserMatch and metadata to produce flexible Server: header responses for working around broken browsers.) >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]