[Varnish] #1584: varnishncsa: format_requestline missing whitespace

Varnish varnish-bugs at varnish-cache.org
Tue Sep 2 12:42:08 CEST 2014


#1584: varnishncsa: format_requestline missing whitespace
-------------------------+--------------------------------------------
 Reporter:  stone        |       Owner:  Lasse Karstensen <lkarsten@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  varnishncsa  |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+--------------------------------------------
Changes (by Lasse Karstensen <lkarsten@…>):

 * status:  new => closed
 * owner:   => Lasse Karstensen <lkarsten@…>
 * resolution:   => fixed


Comment:

 In [39f6f3622fd4b880c4149c576b44ce4ed475d6ba]:
 {{{
 #!CommitTicketReference repository=""
 revision="39f6f3622fd4b880c4149c576b44ce4ed475d6ba"
 Do not log garbage requests.

 Requests that end up in the hard "400 Bad Request" handling used to be
 logged with incomplete data. (no method, maybe no path, possibly no proto,
 and no response status)

 Port scans or anything sending a byte and a linefeed would be logged.

 Since this is used for logging access to a web site, it makes more sense
 to skip these garbage requests.

 Fixes:          #1584
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1584#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list