Tools to help build network mirrors in Linux
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Readme.md
ovs-mirror.sh
tc-mirror.sh

Readme.md

Open vSwitch & Traffic Control Mirror Port Utilities

These scripts are intended to facilitate in creating a mirror port for both Open vSwitch environments and for more simplistic Traffic Control environments. The scripts are pretty straightforward and both behave the same way logically:

tc-mirror

  • build SOURCE DESTINATION - Mirrors the traffic from the SOURCE interface to the DESTINATION interface.
  • teardown SOURCE - Removes the traffic mirror on the SOURCE interface.

ovs-mirror

  • build BRIDGE MIRROR_SOURCE MIRROR_DEST - Creates a new mirror mirroring the source port to the destination port
  • teardown BRIDGE MIRROR - Destroys the mirror on the specified bridge