* Timestamping in nfqueue
@ 2011-05-13 14:32 nowhere
2011-05-13 14:43 ` Eric Leblond
0 siblings, 1 reply; 4+ messages in thread
From: nowhere @ 2011-05-13 14:32 UTC (permalink / raw)
To: netfilter
Hello,
What is the purpose of nfq_get_timestamp() in libnfnetlink_queue if
skbs, entering nfnetlink_queue, are not timestamped?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timestamping in nfqueue
2011-05-13 14:32 Timestamping in nfqueue nowhere
@ 2011-05-13 14:43 ` Eric Leblond
2011-05-13 17:34 ` Nikolay S.
0 siblings, 1 reply; 4+ messages in thread
From: Eric Leblond @ 2011-05-13 14:43 UTC (permalink / raw)
To: nowhere; +Cc: netfilter
Hello,
On Fri, 2011-05-13 at 18:32 +0400, nowhere wrote:
> Hello,
>
> What is the purpose of nfq_get_timestamp() in libnfnetlink_queue if
> skbs, entering nfnetlink_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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timestamping in nfqueue
2011-05-13 14:43 ` Eric Leblond
@ 2011-05-13 17:34 ` Nikolay S.
2011-05-13 19:06 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Nikolay S. @ 2011-05-13 17:34 UTC (permalink / raw)
To: Eric Leblond; +Cc: netfilter
В Птн, 13/05/2011 в 16:43 +0200, Eric Leblond пишет:
> Hello,
>
> On Fri, 2011-05-13 at 18:32 +0400, nowhere wrote:
> > Hello,
> >
> > What is the purpose of nfq_get_timestamp() in libnfnetlink_queue if
> > skbs, entering nfnetlink_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.
> BR,
> --
> Eric Leblond
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Timestamping in nfqueue
2011-05-13 17:34 ` Nikolay S.
@ 2011-05-13 19:06 ` Jan Engelhardt
0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2011-05-13 19:06 UTC (permalink / raw)
To: Nikolay S.; +Cc: Eric Leblond, netfilter
On Friday 2011-05-13 19:34, Nikolay S. wrote:
>В Птн, 13/05/2011 в 16:43 +0200, Eric Leblond пишет:
>> Hello,
>>
>> On Fri, 2011-05-13 at 18:32 +0400, nowhere wrote:
>> > Hello,
>> >
>> > What is the purpose of nfq_get_timestamp() in libnfnetlink_queue if
>> > skbs, entering nfnetlink_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 :)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-05-13 19:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 14:32 Timestamping in nfqueue nowhere
2011-05-13 14:43 ` Eric Leblond
2011-05-13 17:34 ` Nikolay S.
2011-05-13 19:06 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox