Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
network-debugging [2021/11/19 07:56]
dodenhoeft
network-debugging [2021/11/19 07:58] (current)
dodenhoeft
Line 3: Line 3:
 In some cases it might be useful to see the live network traffic in wireshark and not only the tcpdump output on the console. In some cases it might be useful to see the live network traffic in wireshark and not only the tcpdump output on the console.
  
-=== __Prerequisites:__ ===+=== Prerequisites:===
  
   * Netmodule Router   * Netmodule Router
Line 11: Line 11:
 We can get the output of tcpdump via ssh and pipe it directly in wireshark, no need to save the dump and load it in wireshark. This can be done on linux and windows too. We can get the output of tcpdump via ssh and pipe it directly in wireshark, no need to save the dump and load it in wireshark. This can be done on linux and windows too.
  
-=== __Linux:__ ===+=== Linux: ===
  
 <WRAP center round box 100%> <WRAP center round box 100%>
 ssh root@192.168.1.1 tcpdump -U -i any -w - 'not port 22' | wireshark -k -i -  ssh root@192.168.1.1 tcpdump -U -i any -w - 'not port 22' | wireshark -k -i - 
 </​WRAP>​ </​WRAP>​
-=== __Windows:__ ===+=== Windows: ===
  
 <WRAP center round box 100%> <WRAP center round box 100%>