Re: [PATCH] IPv6 transparent proxy support for Squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 24 Jun 2013 19:43:47 +1200

On 2013-06-24 05:03, Alexis Robert wrote:
> By the way, it seems that there is a bug in ip/Address.cc for the =
> operator overloading for sockaddr_storage.
>
> The memcpy() for AF_INET6 is using a length of sizeof(sockaddr_in)
> instead
> of sizeof(sockaddr_in6), so squid was trying to connect to
> truncatured IPv6
> addresses with strange ports.
>
> I've joined a patch which fixes this :)
>
> Alexis
>

Great catch. Thank you. This one has been applied to Squid-3.

Amos
Received on Mon Jun 24 2013 - 07:43:51 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 24 2013 - 12:00:08 MDT