Commits on Feb 29, 2012
Commits on Jan 24, 2012
  1. Minor code refactoring and cleanup

    Cleaned up a few variables and types to better match their
    purpose. Remove an incrementor from str_copy().
    committed Jan 23, 2012
Commits on Jan 21, 2012
  1. Update copyright year

    committed Jan 21, 2012
Commits on Dec 15, 2011
  1. Add a score and term threshold setting

    Only flows with scores and term counts above these two thresholds
    will be displayed. Also simplified some of the display logic.
    committed Dec 14, 2011
Commits on Dec 12, 2011
  1. Implemented custom string copy functions

    The str_copy() function is designed to copy a maximum number
    of characters to a destination string and guarantee that the
    destination string is terminated. The str_duplicate() function
    is a wrapper that first allocates memory before copying the
    committed Dec 8, 2011
Commits on Dec 5, 2011
  1. Fix SQL syntax errors when running

    Use placeholders and bind values to correctly handle quotes when
    importing data into a database with
    committed Dec 5, 2011
Commits on Dec 4, 2011
  1. Block signals in rate statistics thread

    Use pthread_sigmask() to block signals when creating the stats
    thread so only the main process handles them. This fixes a hang
    on exit bug in FreeBSD. Also, switch to using the -pthread gcc
    parameter for compiling which is supposed to be more portable.
    committed Dec 3, 2011
Commits on Dec 2, 2011
  1. Change rate statistics mode switch to -s

    Now -s is all it takes to enter rps stats mode. -t is still used
    to set the display interval, but it has a sane default. There
    are situations when it doesn't make sense to have to enter a
    display interval, plus this makes it easier to start seeing data.
    committed Dec 2, 2011
  2. Dynamically allocate host stats hash array

    There's not reason to allocate the memory for this array unless
    we're actually running in rate stats mode.
    committed Dec 2, 2011
  3. Push startup/shutdown rate stats logic into separate functions

    This provides a cleaner interface to the main program and ensures
    that all initialization and cleanup logic is fired correctly. The
    stats display thread is also now only started when not reading a
    saved capture file. It didn't make as much sense to do a real-time
    display while parsing a local file and it led to different results
    depending on when the display thread fired.
    committed Dec 2, 2011
Commits on Dec 1, 2011
Commits on Nov 30, 2011
Commits on Nov 29, 2011
  1. Implement a hash table data structure for rate stats

    This new implementation removes the previous hard limit on
    the number of hosts that could be tracked at one time. Now
    that number can scale to however many hosts are seen on the
    committed Nov 8, 2011
Commits on Nov 21, 2011
Commits on Nov 18, 2011
  1. Remove extraneous whitespace

    committed Nov 10, 2011
  2. Reorder default method string

    This reorganization puts more commonly encountered methods earlier
    so they are checked more efficiently.
    committed Nov 18, 2011
Commits on Oct 30, 2011
Commits on Oct 26, 2011
  1. Fix maximum packet length check for process_ip6_nh()

    Use the header caplen value instead of len when determining the
    maximum length to increment as caplen should always be <= len,
    depending on snaplen. Also, we need to take the ethernet header
    into account.
    committed Oct 26, 2011
Commits on Oct 25, 2011
  1. Follow IPv6 extension headers

    When processing a IPv6 packet that contains extension headers,
    follow the chain until a TCP header is encountered. If no TCP
    header is found, abort processing of the packet.
    committed Oct 25, 2011
Commits on Oct 19, 2011
Commits on Oct 18, 2011
  1. @mephux

    Add #include <sys/types.h> - u_int not defined on macosx. Add return for

    run_stats function and refactor structs.
    mephux committed with Oct 17, 2011
Commits on Sep 29, 2011
  1. Applied a patch from Bart Roos <> adding an option (…

    …-P) to specify the PID filename
    committed Sep 29, 2011
Commits on Aug 8, 2011
  1. Bumped version number to 0.1.7

    committed Aug 8, 2011
  2. Minor documentation tweaks

    committed Aug 8, 2011
Commits on Jul 29, 2011
Commits on Jul 14, 2011
Commits on Jun 8, 2011
  1. Updated documentation

    committed Jun 8, 2011