Displaying 3 results from an estimated 3 matches for "ip_ct_gather_frags".
2004 Feb 25
4
[Bug 48] conntrack breaks udp path mtu discovery
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=48
------- Additional Comments From tatonet@tiscali.it 2004-02-25 15:05 -------
I know that this is an old bug report, but it's still opened...
If we save the size of each single fragment we have to face another problem:
how should we re-fragment the packet if original fragments were partially or
totally overlapped?
2007 Apr 18
5
[Bridge] Any way of knowing a packet's been defragmented
..._DEFRAGMENTED 0x10000
#ifdef __KERNEL__
#include <linux/config.h>
--- linux-2.6.8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c.old 2004-08-04 22:46:32.000000000 +0200
+++ linux-2.6.8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c 2004-08-04 22:48:20.000000000 +0200
@@ -1212,7 +1212,7 @@ ip_ct_gather_frags(struct sk_buff *skb)
}
ip_send_check(skb->nh.iph);
- skb->nfcache |= NFC_ALTERED;
+ skb->nfcache |= NFC_ALTERED | NFC_DEFRAGMENTED;
#ifdef CONFIG_NETFILTER_DEBUG
/* Packet path as if nothing had happened. */
skb->nf_debug = olddebug;
2006 Feb 24
2
r56 - trunk/debian
...+0100
++++ linux-2.6.12-xen/net/ipv4/netfilter/ip_conntrack_standalone.c 2006-02-25 00:12:33.779993041 +0100
@@ -432,6 +432,13 @@ static unsigned int ip_conntrack_defrag(
const struct net_device *out,
int (*okfn)(struct sk_buff *))
@@ -103853,7 +103856,7 @@
*pskb = ip_ct_gather_frags(*pskb,
diff -Nurp pristine-linux-2.6.12/net/ipv4/netfilter/ip_nat_proto_tcp.c linux-2.6.12-xen/net/ipv4/netfilter/ip_nat_proto_tcp.c
--- pristine-linux-2.6.12/net/ipv4/netfilter/ip_nat_proto_tcp.c 2005-06-17 21:48:29.000000000 +0200
-+++ linux-2.6.12-xen/net/ipv4/netfilter/ip_nat_proto_tcp.c 2006...