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

Egerváry Gergely gergely at egervary.hu
Tue Oct 4 12:16:22 UTC 2016


> 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


More information about the squid-users mailing list