Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 55362] New: Apache httpd sends "400 Bad Request" to client due to IPvFuture (RFC 3986) format IP address Hostname Host Header

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Aug 5, 2013, 12:06 PM

Post #1 of 1 (15 views)
Permalink
[Bug 55362] New: Apache httpd sends "400 Bad Request" to client due to IPvFuture (RFC 3986) format IP address Hostname Host Header

https://issues.apache.org/bugzilla/show_bug.cgi?id=55362

Bug ID: 55362
Summary: Apache httpd sends "400 Bad Request" to client due to
IPvFuture (RFC 3986) format IP address Hostname Host
Header
Product: Apache httpd-2
Version: 2.4.6
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: bugs [at] httpd
Reporter: king.rizzo [at] hotmail

An Apple AirPrint Internet Printing Protocol (IPP) client (from either iOS or
Mac OS) can send requests over IPv6 with an IPvFuture format (RFC 3986) IPv6
address in the Hostname HTTP Host Header value. The Hostname is of the form
[v1:<ipv6 addr>+en0]. Where en0 is the interface of the requesting Mac.

The Apache HTTP server is rejecting the request (with "400 Bad Request") due to
this Hostname value in the header before a registered IPP Apache module even
sees it.

The following is what is seen in the Apache log file:

[Fri Aug 02 11:36:06 2013] [error] [client fe80::12dd:b1ff:fed6:d654] Client
sent malformed Host header
[Fri Aug 02 11:36:06 2013] [error] [client 2620:0:290:e012:12dd:b1ff:fed6:d654]
Client sent malformed Host header

and the Apache code that is logging this error appears to be fix_hostname() in
./server/vhost.c

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.