Running in the background your raspberry pi will log network traffic and performance allowing you to troubleshoot or monitor certain issues.
Raspberry pi network traffic monitor.
Once the traffic is available on the mirrored port i was able to run traffic monitors like wireshark tshark and tcpdump on the mirror port to analyze all the traffic between the router and isp.
The raspberry pi is an amazing little inexpensive linux based computer.
For example the following will restrict the captured traffic to that which flows in or out of the 192 168 0 0 24 subnet.
Network monitoring traffic analysis vpn servers diy minded it pros can hack together heavy duty solutions as cheap and easy as raspberry pi by brian chee contributing editor infoworld.
Turn your raspberry pi into a network monitoring tool.
The mirrored traffic is passed on to the raspberry pi.
The most important part of the configuration is setting up the tcpdump filters.
Keep in mind that raspberry pi can not only work as a network monitoring tool but also as a camera system weather station farming bot and more.
Share share tweet email.
All traffic monitoring happens on the pi.
If you want to set up a raspberry pi network monitor here s what you ll need to do.
Find the code detailed documentation for the raspberry pi network monitor in the network traffic metrics github repository.