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

Egerváry Gergely gergely at egervary.hu
Tue Oct 4 07:57:49 UTC 2016


> 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;


-- 
Gergely EGERVARY



More information about the squid-users mailing list