Setting up a linux Bridge / Tap to capture network traffic for troubleshooting or intrusion detection
Capturing traffic can be tricky at times. you have a few things to consider: placement of the tap/bridge/port span or mirror throughput in each direction throughput of the hardware used for capture For the placement of where you capture traffic I suggest you follow the guidance on this web page: https://docs.zeek.org/en/current/monitoring.html#instrumentation-and-collection You may hit limits due to your router having an integrated wifi in which case you may have to get creative but that is beyond the scope of this blog entry. The next consideration is to look at what the maximum bi-directional throughput is and that determines the requirements for the next item. The third consideration on a network bridge is the hardware path on the host you are using for the bridge. If the traffic you want to monitor is under 60MBps total then some USB 2.0 ports with Gig Ethernet adapters will likely handle the load. Otherwise you will need a PCI-E network adapter or USB 3.0 network adapters and 3.0 ...