[squid-users] IPv6 interception crash: Ip::Address::getInAddr : Cannot convert non-IPv4 to IPv4.

Amos Jeffries squid3 at treenet.co.nz
Tue Oct 4 13:10:32 UTC 2016


On 5/10/2016 1:16 a.m., Egerváry Gergely wrote:
>> Getting closer, but still not there...
> 
> Hah, we need to apply the kern/50198 patch to ipnat_6.c too.
> 
> --- ip_nat6.c.orig      2015-08-08 18:31:21.000000000 +0200
> +++ ip_nat6.c   2016-10-04 14:04:21.000000000 +0200
> @@ -2470,8 +2469,8 @@
>                                 }
>                         }
> 
> -                       np->nl_realip6 = nat->nat_ndst6.in6;
> -                       np->nl_realport = nat->nat_ndport;
> +                       np->nl_realip6 = nat->nat_odst6.in6;
> +                       np->nl_realport = nat->nat_odport;
>                 }
>         }
> 
> Thank you very much, Amos, your Squid patch works good with it!
> 
> Gergely EGERVARY

Thanks for the testing and feedback. I've applied this as part-2 of the
bug 4302 updates. It will be in the next releases of 3.5 and 4.x.

Amos



More information about the squid-users mailing list