@@ -246,6 +246,20 @@ config NET_DROP_MONITOR
just checking the various proc files and other utilities for
drop statistics, say N here.
+config NET_PORT_MIRRORING
+ boolean "Network port mirroring"
+ depends on EXPERIMENTAL && TRACEPOINTS
+ ---help---
+ When debugging network connectivity problems, it can be useful (and
+ sometimes necessecary) to record frames from an interface without using
+ any of the systems under test (e.g. if running a capture on the system
+ in question affects it in such a way that the problem then cannot be
+ reproduced). Port mirroring allows for the traffic to and from a given
+ port to be resent unaltered to a secondary port, so that a tertiary
+ system can record the traffic). If you need to be able to see monitor
+ network traffic to/from a system without running software on the system
+ in question, say Y here.
+
endmenu
endmenu
@@ -18,4 +18,5 @@ obj-$(CONFIG_NET_DMA) += user_dma.o
obj-$(CONFIG_FIB_RULES) += fib_rules.o
obj-$(CONFIG_TRACEPOINTS) += net-traces.o
obj-$(CONFIG_NET_DROP_MONITOR) += drop_monitor.o
+obj-$(CONFIG_NET_PORT_MIRRORING) += mirror.o
Add configuration to enable port mirroring feature. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Kconfig | 14 ++++++++++++++ core/Makefile | 1 + 2 files changed, 15 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html