Re: ipchains in 2.4.0-test5

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Tue Jul 25 2000 - 13:17:30 EST


In message <20000718095055.18603.qmail@hotmail.com> you write:
> I have 2.4.0-test4 and found that when I ping from a windows ME box thru =
> the linux machine to the rest of the internet
>
> Linux 2.4.0-test4
> pppd version 2.4.0b1
>
> Reply from 202.49.244.1: bytes=3D32 - MISCOMPARE at offset 10 - =
> time=3D110 TTL-253

Known bug, fixed in test5-pre3 (which breaks local ftp), or apply
patch below:

diff -urN -X /tmp/fileOJlBE7 --minimal linux-2.4.0-test3-2/net/ipv4/netfilter/ip_fw_compat_masq.c working-2.4.0-test3-2/net/ipv4/netfilter/ip_fw_compat_masq.c
--- linux-2.4.0-test3-2/net/ipv4/netfilter/ip_fw_compat_masq.c Thu Jun 29 01:26:09 2000
+++ working-2.4.0-test3-2/net/ipv4/netfilter/ip_fw_compat_masq.c Tue Jul 4 17:29:24 2000
@@ -105,7 +105,7 @@
         /* Wouldn't be here if not tracked already => masq'ed ICMP
            ping or error related to masq'd connection */
         IP_NF_ASSERT(ct);
- if (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) {
+ if (ctinfo == IP_CT_RELATED) {
                 icmp_reply_translation(skb, ct, NF_IP_PRE_ROUTING,
                                        CTINFO2DIR(ctinfo));
                 icmp_reply_translation(skb, ct, NF_IP_POST_ROUTING,

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:25 EST