search for: ip_df

Displaying 4 results from an estimated 4 matches for "ip_df".

Did you mean: wp_df
2003 Feb 14
1
[Bug 48] conntrack breaks udp path mtu discovery
..._need_ to defragment at NF_IP_PRE_ROUTING in order to have the be able to do connection tracking. So at this point we would need to save the sizes of all individual fragments. This would enable us to re-fragment to exactly the same size at POST_ROUTING. Another obvious approach was to check for IP_DF and see if it is bigger than the MTU of the outgoing interface. The problem is: before we do conntrack at NF_IP_PRE_ROUTING we don't know what potential NAT bindings apply to this connection/packet - and thus don't know the outgoing interface [that's why it's called PRE_ROUTING]....
1999 Mar 25
0
(Fwd) DoS for Linux 2.1.89 - 2.2.3: 0 length fragment bug
...unsigned char ip_tos; /* type of service */ unsigned short ip_len; /* total length */ unsigned short ip_id; /* identification */ unsigned short ip_off; /* fragment offset field */ #define IP_RF 0x8000 /* reserved fragment flag */ #define IP_DF 0x4000 /* dont fragment flag */ #define IP_MF 0x2000 /* more fragments flag */ #define IP_OFFMASK 0x1fff /* mask for fragmenting bits */ unsigned char ip_ttl; /* time to live */ unsigned char ip_p; /* protocol */ u...
2008 Sep 12
4
Custom build kernel patch fails big time.
...top_iphv4 = skb->nh.iph; + skb->h.raw = skb->data + hdrlen; + top_iphv4->ihl = (sizeof(struct iphdr) >> 2); + top_iphv4->version = 4; + top_iphv4->id = 0; + top_iphv4->frag_off = htons(IP_DF); + top_iphv4->ttl = dst_metric(dst->child, RTAX_HOPLIMIT); + top_iphv4->saddr = x->props.saddr.a4; + top_iphv4->daddr = x->id.daddr.a4; + skb->h.raw += top_iphv4->ihl*4; + top_iphv4->protocol = pr...
2003 May 22
0
[PATCH 2.5.69 1/3] remove ipconfig support from the kernel
...h_len); - b = (struct bootp_pkt *) skb_put(skb, sizeof(struct bootp_pkt)); - memset(b, 0, sizeof(struct bootp_pkt)); - - /* Construct IP header */ - skb->nh.iph = h = &b->iph; - h->version = 4; - h->ihl = 5; - h->tot_len = htons(sizeof(struct bootp_pkt)); - h->frag_off = htons(IP_DF); - h->ttl = 64; - h->protocol = IPPROTO_UDP; - h->daddr = INADDR_BROADCAST; - h->check = ip_fast_csum((unsigned char *) h, h->ihl); - - /* Construct UDP header */ - b->udph.source = htons(68); - b->udph.dest = htons(67); - b->udph.len = htons(sizeof(struct bootp_pkt) - size...