Console

Logging network traffic via the console

It is possible to log the network traffic with a simple console command, so it is not mandatory to install any additional software.

  1. Open console with admin rights
  2. Execute the following command to start the logging
  3. netsh trace start persistent=yes capture=yes tracefile=c:\temp\test.etl

    The folder /temp/ has to exist already.

  4. Execute the following command to stop the logging
  5. netsh trace stop

  6. Now you can analyze the logged data in the file test.etl
  7. To view the data you can for example use Microsoft Message Analyzer (http://www.microsoft.com/en-us/download/details.aspx?id=44226) including practical filter options.

Taggings:

Subscribe to Console