Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 29, 2012
Commits on Jan 24, 2012
  1. Minor code refactoring and cleanup

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

    authored
Commits on Dec 15, 2011
  1. Add a score and term threshold setting

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

    authored
    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
    string.
Commits on Dec 5, 2011
  1. Fix SQL syntax errors when running db_dump.pm

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

    authored
    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.
Commits on Dec 2, 2011
  1. Change rate statistics mode switch to -s

    authored
    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.
  2. Dynamically allocate host stats hash array

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

    authored
    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.
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

    authored
    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
    wire.
Commits on Nov 21, 2011
Commits on Nov 18, 2011
  1. Remove extraneous whitespace

    authored
  2. Reorder default method string

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

    authored
    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.
Commits on Oct 25, 2011
  1. Follow IPv6 extension headers

    authored
    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.
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

    mephux authored committed
    run_stats function and refactor structs.
Commits on Sep 29, 2011
  1. Applied a patch from Bart Roos <mail@bartroos.com> adding an option (…

    authored
    …-P) to specify the PID filename
Commits on Aug 8, 2011
  1. Minor documentation tweaks

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

    authored
Something went wrong with that request. Please try again.