* NF_STOLEN reinsertion
@ 2006-03-01 2:18 Calvin Hubble
2006-03-01 5:31 ` mud dog
0 siblings, 1 reply; 4+ messages in thread
From: Calvin Hubble @ 2006-03-01 2:18 UTC (permalink / raw)
To: netfilter
I have yet to find any resource that answers this question. If I have
a kernel module that registers a callback with netfilter and steals a
packet during the NF_IP_PRE_ROUTING stage, How can I re-insert this
packet on the network stack, (before the ip routing stage) so it is
forwarded back out on the correct device?
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NF_STOLEN reinsertion
2006-03-01 2:18 NF_STOLEN reinsertion Calvin Hubble
@ 2006-03-01 5:31 ` mud dog
2006-03-01 8:09 ` Calvin Hubble
0 siblings, 1 reply; 4+ messages in thread
From: mud dog @ 2006-03-01 5:31 UTC (permalink / raw)
To: chubble; +Cc: netfilter
call NF_HOOK_THRESH(), choise the correct oknf() function,
to finish the following hook.
2006/3/1, Calvin Hubble <calvin.hubble@gmail.com>:
> I have yet to find any resource that answers this question. If I have
> a kernel module that registers a callback with netfilter and steals a
> packet during the NF_IP_PRE_ROUTING stage, How can I re-insert this
> packet on the network stack, (before the ip routing stage) so it is
> forwarded back out on the correct device?
>
> Thanks
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NF_STOLEN reinsertion
2006-03-01 5:31 ` mud dog
@ 2006-03-01 8:09 ` Calvin Hubble
2006-03-01 8:31 ` mud dog
0 siblings, 1 reply; 4+ messages in thread
From: Calvin Hubble @ 2006-03-01 8:09 UTC (permalink / raw)
To: mud dog; +Cc: netfilter
Where is the list of oknf functions I can choose from?
On 2/28/06, mud dog <muddogxp@gmail.com> wrote:
> call NF_HOOK_THRESH(), choise the correct oknf() function,
> to finish the following hook.
>
> 2006/3/1, Calvin Hubble <calvin.hubble@gmail.com>:
> > I have yet to find any resource that answers this question. If I have
> > a kernel module that registers a callback with netfilter and steals a
> > packet during the NF_IP_PRE_ROUTING stage, How can I re-insert this
> > packet on the network stack, (before the ip routing stage) so it is
> > forwarded back out on the correct device?
> >
> > Thanks
> >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NF_STOLEN reinsertion
2006-03-01 8:09 ` Calvin Hubble
@ 2006-03-01 8:31 ` mud dog
0 siblings, 0 replies; 4+ messages in thread
From: mud dog @ 2006-03-01 8:31 UTC (permalink / raw)
To: chubble; +Cc: netfilter
It depends on your kernel version.
Search your kernel codes with NF_HOOK and NF_IP_PRE_ROUTING to find.
2006/3/1, Calvin Hubble <calvin.hubble@gmail.com>:
> Where is the list of oknf functions I can choose from?
>
>
> On 2/28/06, mud dog <muddogxp@gmail.com> wrote:
> > call NF_HOOK_THRESH(), choise the correct oknf() function,
> > to finish the following hook.
> >
> > 2006/3/1, Calvin Hubble <calvin.hubble@gmail.com>:
> > > I have yet to find any resource that answers this question. If I have
> > > a kernel module that registers a callback with netfilter and steals a
> > > packet during the NF_IP_PRE_ROUTING stage, How can I re-insert this
> > > packet on the network stack, (before the ip routing stage) so it is
> > > forwarded back out on the correct device?
> > >
> > > Thanks
> > >
> > >
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-01 8:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-01 2:18 NF_STOLEN reinsertion Calvin Hubble
2006-03-01 5:31 ` mud dog
2006-03-01 8:09 ` Calvin Hubble
2006-03-01 8:31 ` mud dog
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox