Timestamping in nfqueue
Hello,
What is the purpose of nfq_get_timestamp() in libnfnetlink_queue if skbs, entering nfnetlink_queue, are not timestamped?
Hello,
Quoted 4 lines · nowhere
Hello,
What is the purpose of
nfq_get_timestamp()inlibnfnetlink_queueif skbs, enteringnfnetlink_queue, are not timestamped?
If I remember correctly, skb are timestamped when catch in the FORWARD chain. This is not the case in some other chains.
BR,
--
Eric Leblond
В Птн, 13/05/2011 в 16:43 +0200, Eric Leblond пишет:
Quoted 10 lines
Hello,
Quoted 4 lines · nowhere
Hello,
What is the purpose of
nfq_get_timestamp()inlibnfnetlink_queueif skbs, enteringnfnetlink_queue, are not timestamped?If I remember correctly, skb are timestamped when catch in the FORWARD chain. This is not the case in some other chains.
Thanks for the tip. Looks like timestamping happens for forwarded frames only.
Quoted 5 lines
BR,
--
Eric Leblond
Quoted 6 lines · Nikolay S.
В Птн, 13/05/2011 в 16:43 +0200, Eric Leblond пишет:
Quoted 5 lines
Hello,
Quoted 2 lines · nowhere
Hello,
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
What is the purpose of
nfq_get_timestamp()inlibnfnetlink_queueif skbs, enteringnfnetlink_queue, are not timestamped?If I remember correctly, skb are timestamped when catch in the FORWARD chain. This is not the case in some other chains.
Thanks for the tip. Looks like timestamping happens for forwarded frames only.
I guess you can force timestamping by feeding the packet(s) through -m time in the ruleset. Doing so would be a hack, though probably a working one :)