Friday, 18 March 2016

tcpdump is amazing - Julia Evans

tcpdump is amazing - Julia Evans:



Let's suppose you have some slow HTTP requests happening on your machine, and you want to get a distribution of how slow they are. You could add some monitoring somewhere inside your program. Or! You could use tcpdump. Here's how that works!


  1. Use tcpdump to record network traffic on the machine for 10 minutes
  2. analyze the recording with Wireshark
  3. be a wizard

The secret here is that we can use tcpdump to record network traffic, and then use a tool that we're less scared of (Wireshark) to analyze it on our laptop after.


No comments:

Post a Comment