I now use tcpdump with “-l” command. Now i can monitor the traffic in realtime.
“C:\Program Files\PuTTY\plink.exe” -ssh -pw “passwd” user@host tcpdump -l -w – -s 0 -i eth0 not port 22 | “C:\Program Files\Wireshark\wireshark.exe” -k -i -
]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2456 Greg Teftt Thu, 04 Oct 2012 17:27:04 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2456 Just wanted to shout out as an AFOL that I love the "diagram" and may have to begin making similar with LDraw!!! The information was helpful too!!! Just wanted to shout out as an AFOL that I love the “diagram” and may have to begin making similar with LDraw!!!The information was helpful too!!! ]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2423 Mike Fri, 23 Mar 2012 09:13:00 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2423 How about on 1 line: ssh root@ "tcpdump -U -n -w - -i eth0 not port 22" | wireshark -k -i - Then ctrl+C and re-run to restart! Works with at least Wireshark 1.4.11. How about on 1 line:
ssh root@ “tcpdump -U -n -w – -i eth0 not port 22″ | wireshark -k -i -
Then ctrl+C and re-run to restart!
Works with at least Wireshark 1.4.11.
]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2422 Mike Thu, 22 Mar 2012 11:13:29 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2422 Neat trick! Works well for me! Neat trick! Works well for me! ]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2393 Phil Fri, 02 Mar 2012 05:41:12 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2393 In response to Bish...sometimes you don't have the luxury of being able to install additional software on the source device. This alternative is a perfect solution. Nice post. In response to Bish…sometimes you don’t have the luxury of being able to install additional software on the source device. This alternative is a perfect solution.Nice post. ]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2382 Niels Horn Tue, 14 Feb 2012 23:40:30 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2382 Hi, I don't think this is possible to do when capturing remotely... But, if anyone has a solution, feel free to post here! Hi,
I don’t think this is possible to do when capturing remotely…
But, if anyone has a solution, feel free to post here!
First, its a very important post for me. Thanks. I have some problem. I am a windows user. couldnt succeed in capturing my linux server packages from windows. However from my ubuntu (in virtualbox) i could capture packets

But If i want to capture from beginning by clearing the previous pakcates (pressing “Restart the running live capture”, it gives an error – “Unrecognized libcap format” and I have to again run my commands by killing the previous processes (wireshark and ssh):
commands I run :
1. ssh username@ “tcpdump -s 0 -U -n -w – -i not port 22″ > /tmp/pipes/cap_fw
2. wireshark -k -i /tmp/pipes/cap_fw
Is there any fix for this?
]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2256 Niels Horn Tue, 08 Nov 2011 15:41:00 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2256 Brian, Thanks for this info! This is probably very useful for Windows users! Niels Brian,Thanks for this info! This is probably very useful for Windows users!
Niels
]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-2255 Brian Tue, 08 Nov 2011 15:31:23 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-2255 Niel - I found your website, and it gave me the building blocks that I needed. I found a way to do something extremely similar inside of winXP. I'm not sure if any of your readers may find it useful or not. Basically what I did was used an extention of PuTTY called plink and piped the result to a windows version of Wireshark - "C:\Program Files\PuTTY\plink.exe" -ssh -pw "enter user passwd here" @ tcpdump -w - -s 0 -i eth0 not port 22 | "C:\Program Files\Wireshark\wireshark.exe" -k -i - It's a little more convoluted, but the results were that I was able to gather my wireshark captures from a remote linux host on my WinXP machine here @ work. Niel – I found your website, and it gave me the building blocks that I needed. I found a way to do something extremely similar inside of winXP. I’m not sure if any of your readers may find it useful or not.Basically what I did was used an extention of PuTTY called plink and piped the result to a windows version of Wireshark -
“C:\Program Files\PuTTY\plink.exe” -ssh -pw “enter user passwd here” @ tcpdump -w – -s 0 -i eth0 not port 22 | “C:\Program Files\Wireshark\wireshark.exe” -k -i -
It’s a little more convoluted, but the results were that I was able to gather my wireshark captures from a remote linux host on my WinXP machine here @ work.
]]> http://underpop.online.fr/n/nielshorn/2010/02/using-wireshark-with-remote-capturing/comment-page-1/#comment-1940 logiciel gratuit Wed, 18 May 2011 17:10:00 +0000 http://underpop.online.fr/n/nielshorn/?p=167#comment-1940 nice tips. i prefer to write wireshark result in a file and scp @desktop and then parse it through wireshark and Amazing gfx ! did you use any special soft for that ? nice tips.i prefer to write wireshark result in a file and scp @desktop and then parse it through wireshark
and Amazing gfx ! did you use any special soft for that ?
]]>