Ettercap
From charlesreid1
This page primarily covers how to use Ettercap to build a bridge between two network devices that can be sniffed.
Setup
Software
Install bridge utilities, allowing you to bridge network devices:
$ apt-get install bridge-utils
Preparing Network Devices
Both network devices need to be configured as open IP addresses, by setting them to 0.0.0.0.
Assuming the two devices are a wireless card wlan0 and an ethernet connection eth0, this would look like:
$ ifconfig eth0 0.0.0.0 up $ ifconfig wlan0 0.0.0.0 up
Bridge Network Devices
We'll add a bridge, and add endpoints to the bridge.
$ brctl addbr lucifer $ brctl addif lucifer eth0 $ brctl addif lucifer wlan0
Finally, we can raise the bridge:
$ ifconfig lucifer up