[ovs-git] [openvswitch/ovs] 314ce6: ovs-tcpdump: Add a tcpdump wrapper utility

GitHub noreply at github.com
Thu Jun 23 22:02:57 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 314ce6479a8380e2aeaa53eb5bab96a23c06d62d
      https://github.com/openvswitch/ovs/commit/314ce6479a8380e2aeaa53eb5bab96a23c06d62d
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M NEWS
    M manpages.mk
    M utilities/.gitignore
    M utilities/automake.mk
    A utilities/ovs-tcpdump.8.in
    A utilities/ovs-tcpdump.in

  Log Message:
  -----------
  ovs-tcpdump: Add a tcpdump wrapper utility

Currently, there is some documentation which describes setting up and
using port mirrors for bridges. This documentation is helpful to setup
a packet capture for specific ports.

However, a utility to do such packet capture would be valuable, both
as an exercise in documenting the steps an additional time, and as a way
of providing an out-of-the-box experience for running a capture.

This commit adds a tcpdump-wrapper utility for such purpose. It uses the
Open vSwitch python library to add/remove ports and mirrors to/from the
Open vSwitch database. It will create a tcpdump instance listening on
the mirror port (allowing the user to specify additional arguments), and
dump data to the screen (or otherwise).

Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Flavio Leitner <fbl at sysclose.org>




More information about the git mailing list