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

Stephen Borrill squid at borrill.org.uk
Tue Oct 4 13:16:15 UTC 2016


On 04/10/2016 14:10, Amos Jeffries wrote:
> 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.

Gergely, please update the NetBSD PR with your working kernel patch(es)
and I'll commit them, can't wait for Darren any longer.

-- 
Stephen




More information about the squid-users mailing list