* Defragmentation in Netfilter Hook
@ 2008-06-12 12:25 rigoberto perez
0 siblings, 0 replies; only message in thread
From: rigoberto perez @ 2008-06-12 12:25 UTC (permalink / raw)
To: netfilter
The ip_conntrack module makes an automatic defragmentation but I need modify the packets (padding bytes and change the ip protocol) and the conntrack have a rare behavior with TCP connections. The Netfilter Howto Documment (Netfilter Hooks For Tunnel Writers) it recommended to do:
nf_conntrack_put(skb->nfct);
skb->nfct = 0;
But it don't resolves my problem, so I'm trying to avoid use ip_conntrack module cause I use it only for defragmentation. The point is: how I can do a manualy defragmentation in netfilter hook?
The funtion ip_defrag return a NULL pointer if the packet is not complete and I don't know what do with the packet: I should enqueue it? How?
I appreciate any help, Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-12 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 12:25 Defragmentation in Netfilter Hook rigoberto perez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox