4 ms·
The cheap and easy way to do this is to buy a hub and plug it into your router the computer you want to analyse and another computer.
by asdfaoeu 11y ago
The cheap and easy way to do this is to buy a hub and plug it into your router the computer you want to analyse and another computer.
- lewiseason 11y agoOr buy/make something like this: http://hakshop.myshopify.com/products/throwing-star-lan-tap http://hakshop.myshopify.com/products/throwing-star-lan-tap and a couple of USB-Ethernet adaptors
- mikeash 11y agoIf you happen to have a computer with both WiFi and ethernet (many/most laptops these days), set it up as a bridge, connect the Windows machine to one of those interfaces and use the other one to connect to the internet.
- BuildTheRobots 11y agoEven easier (buying hubs is hard) and possibly cheaper (switches with mirror ports aren't the cheapest) is to just stick two network cards into your linux box, set up a layer-2 bridge and sniff everything going between. CentOS/RedHat derivitives: https://www.banym.de/linux/centos/setup-bridge-device-on-centos https://www.banym.de/linux/centos/setup-bridge-device-on-cen... Debian/Ubuntu: https://wiki.debian.org/BridgeNetworkConnections https://wiki.debian.org/BridgeNetworkConnections