libnetfilter_conntrack's NFCT_OF_TIMESTAMP is not working

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

 



Hii

regarding libnetfilter_conntrack I have been working on getting start
and stop timestamp of the connection, I lookup source code and found
if i enable NFCT_OF_TIMESTAMP (echo "1" >
/proc/sys/net/netfilter/nf_conntrack_timestamp)  , i will get the same
but when i ran
conntrack -E -eDESTROY -otimestamp,extended , it didn't show the start
and stop time and when i print the value it said flags=1,
NFCT_OF_TIMESTAMP is 8
somehow the following line....
if (flags & NFCT_OF_TIMESTAMP) in code
/src/conntrack/snprint_default.c doesn't match hence function
__snprintf_timestamp_start and __snprintf_timestamp_stop doesn't get
called.

I don't know how else can i set or use NFCT_OF_TIMESTAMP

any help regarding this issue would be appreciated

Regards
Ravin Goyal
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux