[squid-users] IPv6 interception crash: Ip::Address::getInAddr : Cannot convert non-IPv4 to IPv4.
Amos Jeffries
squid3 at treenet.co.nz
Tue Oct 4 09:27:06 UTC 2016
On 4/10/2016 8:57 p.m., Egerváry Gergely wrote:
>> Apparently the IPFilter 5.1 code defines an 32-bit IPv4-only structure
>> for 64-bit IPv6 addresses to be placed into. That was supposed to be
>> fixed in IPFilter 5.0.3.
>>
>> Can you look through your system for code header files that define
>> "struct natlookup" and show me what they contain?
>
> in sys/external/bsd/ipf/netinet/ip_nat.h:
>
> typedef struct natlookup {
> i6addr_t nl_inipaddr;
> i6addr_t nl_outipaddr;
> i6addr_t nl_realipaddr;
> int nl_v;
> int nl_flags;
> u_short nl_inport;
> u_short nl_outport;
> u_short nl_realport;
> } natlookup_t;
>
Is there another defined somewhere else? For some reason your Squid is
managing to build with just "nl_inip" (no 'addr') in the field name.
Amos
More information about the squid-users
mailing list