Linux Netfilter discussions
 help / color / mirror / Atom feed
* using ip_defrag in NF_IP_FORWARDING
@ 2008-02-29 16:32 rigoberto perez
  2008-03-02 14:10 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: rigoberto perez @ 2008-02-29 16:32 UTC (permalink / raw)
  To: netfilter

I need to re-assemble a packet even if it don't go to
the local  machine. So, I called to the ip_defrag
function into the NF_IP_FORWARDING hook  and the
system crashes. It's that posible or it's a mistake?.
I wanna know: how I can re-assemble all incomming
packets?. Thanks.



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using ip_defrag in NF_IP_FORWARDING
  2008-02-29 16:32 using ip_defrag in NF_IP_FORWARDING rigoberto perez
@ 2008-03-02 14:10 ` Jan Engelhardt
  2008-03-05 22:37   ` rigoberto perez
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2008-03-02 14:10 UTC (permalink / raw)
  To: rigoberto perez; +Cc: netfilter


On Feb 29 2008 08:32, rigoberto perez wrote:
>
>I need to re-assemble a packet even if it don't go to
>the local  machine. So, I called to the ip_defrag
>function into the NF_IP_FORWARDING hook  and the
>system crashes. It's that posible or it's a mistake?.
>I wanna know: how I can re-assemble all incomming
>packets?. Thanks.

More like mistake. If you have nf_conntrack loaded,
defrag always(?) happens.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using ip_defrag in NF_IP_FORWARDING
  2008-03-02 14:10 ` Jan Engelhardt
@ 2008-03-05 22:37   ` rigoberto perez
  0 siblings, 0 replies; 3+ messages in thread
From: rigoberto perez @ 2008-03-05 22:37 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter


How can I load conntrack? 

I write a netfilter module and I define the hook
priority = NF_IP_PRI_CONNTRACK in a NF_IP_PRE_ROUTING
hook and call to ip_defrag and the system crashes. I
tried to use another priority =
NF_IP_PRI_CONNTRACK_DEFRAG and it's the same: the
system crashes again.

I saw in the WEB a comment about to use ip_defrag only
in the NF_IP_FORWARDING and NF_IP_LOCAL_OUT hooks
only, is that correct?

Remember my problem: I want to use ip_defrag even if
the packet must be forward to another host, i mean, in
a router.

Thanks.


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-05 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 16:32 using ip_defrag in NF_IP_FORWARDING rigoberto perez
2008-03-02 14:10 ` Jan Engelhardt
2008-03-05 22:37   ` rigoberto perez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox