If both IPv6 and masq are active, incoming v6-in-v4 packets are
discarded by masq.  Quick and dirty workaround against 2.1.131, by no
means the full fix for masq and tunnels.

Index: linux/net/ipv4/ip_masq.c
--- linux/net/ipv4/ip_masq.c Sun, 29 Nov 1998 22:22:10 +1100 keith 
(linux-2.1/C/40_ip_masq.c 1.1.1.7 644)
+++ linux/net/ipv4/ip_masq.c Tue, 22 Dec 1998 03:01:29 +1100 keith 
+(linux-2.1/C/40_ip_masq.c 1.1.1.7 644)
@@ -993,6 +993,10 @@
                        }
 
                        break;
+               case IPPROTO_IPV6:
+                       if (size >= sizeof(struct ipv6hdr))
+                               ret = sizeof(struct ipv6hdr);
+                       break;
        }
        if (ret < 0)
                IP_MASQ_DEBUG(0, "mess proto_doff for proto=%d, size =%d\n",

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to