Snort mailing list archives

Counting Packets Per Second "PCAP ISSUE"


From: Amtul Saboor <saboor.amtul () gmail com>
Date: Thu, 26 Jun 2014 01:09:52 +0500

Hello

I am making changes in dpx preprocessor. Well the main issue I am facing is
that I need to calculate packets per second and then use the count in a
formula, but the "per second" thing is causing trouble for me. Apparently
PCAP does not keep a record of "per second" packets.

 I have used time function and calculating diff between curr time and
previous time (in seconds) and using if condition trying to grab packets
but the interval is not smooth . I am unable to get correct packet count.

Please suggest what can be done

Thanks alot
--
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: