[PATCH] Limit X-Forwarded-For growth

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Fri, 10 Jul 2009 19:02:29 -0600

Hello,

    Should the attached patch go in? It prevents assertions (or worse)
during forwarding loops or carefully crafted messages. Production-tested
in Squid 3.0, although I do not know whether the code was ever triggered
outside the lab.

This change also prevents most cases of pointless computation of the
original X-Forwarded-For value list in Squid 3.1. That computation can
be quite expensive.

Thank you,

Alex.

Received on Sat Jul 11 2009 - 01:02:38 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 16 2009 - 12:00:05 MDT