Re: Netfilter Packet Reinjection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

i've been trying this, but it seens as soon i call NF_HOOK, the whole
thing freezes, like if it entered in a infinite loop, i tried adding
some sanity check to avoid 'recursive' looping and it seemed to avoid
this scenario, but now it just freezes and only resetting the OS put
it back to work (since it wont load the module)...

Any ideas ?!

Em 23 de março de 2012 20:09, Fr3DBr <fr3dbr@xxxxxxxxx> escreveu:
> Yeah i was looking this, so i'll try through the NFHook and see what happens...
>
> As long i call it with the properly 'event' identifier, everything
> should works i guess.
>
> Em 23 de março de 2012 20:06, Jan Engelhardt <jengelh@xxxxxxxxxx> escreveu:
>> On Saturday 2012-03-24 00:04, Fr3DBr wrote:
>>
>>>Well, i have a hook to capure the packets right now... but after
>>>storing then in other place, after some 'tests' i perform around then
>>>i have to 're-create' part of the packet flow (like a proxy) and then
>>>let the real packets from the source, flow locally or remotelly
>>>through forwarding to its destinations.
>>>
>>>But i didn't understood well what i would do with NF_HOOK
>>
>> If you do read the function body of nf_reinject, you will see that it
>> too will only call nf_iterate (which is the same that NF_HOOK eventually
>> gets to do).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux