Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit message #748

Closed
wants to merge 4 commits into from
Closed

Exit message #748

wants to merge 4 commits into from

Commits on Dec 31, 2013

  1. device list: clean and display stat at exit

    This patch adds a cleaning function to device list. This also
    permits to display per-interface statistics during the exit.
    regit committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    d78b71a View commit details
    Browse the repository at this point in the history
  2. capture: display exit stats at default verbosity

    This patch updates capture modes not using LiveDecice counters
    to display per-thread exit statistics with default verbosity.
    regit committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    5236ec8 View commit details
    Browse the repository at this point in the history
  3. af-packet: fix live device counter usage

    Live device counter was in fact the number of packets seen by suricata
    and not the total number of packet reported by kernel. This patch fixes
    this by using counter provided by kernel instead.
    The counter is Clear On Read, so by adding the value fetch at each call
    and earch sockets we get the number of packets and drops for the
    interface.
    regit committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    1df2319 View commit details
    Browse the repository at this point in the history
  4. pfring: fix live device counter usage

    Live device counter was in fact the number of packets seen by suricata
    and not the total number of packet reported by pfring. This patch fixes
    this by using counter provided by kernel instead.
    
    Pfring kernel counter is per socket and is not cleared after read.
    So to get the number of packet on the interface we can add the new
    value for this thread and add it to the interface counter.
    regit committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    b7243c6 View commit details
    Browse the repository at this point in the history