A simple bash script which creates a transparent bridge over two physical network interfaces. If there is no switch available with a monitoring port, a bridge on a portable system is a nice way to perform network analysis tasks.
- Insert your secondary network cards
- Check the name of your network interfaces (e.g.,
ifconfig
orip addr show
) - Edit the interface names in the script
- Run the script as root
sudo ./set-bridge
- Start collecting data on br0
set-bridge
is licensed under MIT, for more details check LICENSE.