LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wireshark remote packet capture, Linux (https://www.linuxquestions.org/questions/linux-networking-3/wireshark-remote-packet-capture-linux-4175438162/)

mutwkil 11-21-2012 01:08 PM

Wireshark remote packet capture, Linux
 
Hello everybody:

I am trying to do live packet capture from (remote) redhat linux server, by wireshark installed on windows7 machine.
Is there a packet should be installed on remote machine(line winpcap in windows), could you tell me what it's name.

unSpawn 11-21-2012 02:32 PM

Quote:

Originally Posted by mutwkil (Post 4834231)
Is there a packet should be installed on remote machine

The classic one would be 'tcpdump'. Wireshark also includes dumpcap (and tshark but don't use it unless you avoid analysis-triggering switches). When you capture packets do limit what you need to see using a BPF filter for performance reasons and dump packets to file. Performing remote Live analysis by redirecting tcpdump output over SSH (obviously) requires your to BPF-filter your SSH connection out and will strain the connection more, depending on the volume.


Quote:

Originally Posted by mutwkil (Post 4834231)
I am trying to do live packet capture from (remote) redhat linux server, by wireshark installed on windows7 machine.

What is the problem you're trying to solve if I may ask?

mutwkil 11-21-2012 03:14 PM

Thanks unSpawn
i appreciate that.
but is there an another way to do that without dump to pcap file and openssh?

unSpawn 11-21-2012 05:33 PM

Quote:

Originally Posted by mutwkil (Post 4834308)
is there an another way to do that without dump to pcap file and openssh?

It's dump to pcap or redirect using SSH. And what do you mean "other way"? What are your problems or constraints? Be clear and verbose about what you ask.

[EDIT]*BTW come to think of it there's cloudshark.org. They've got a plug-in allowing capture upload via their tshark / Wireshark plugin.[/EDIT]

mutwkil 11-22-2012 12:38 AM

I meen can i install package in redhat like winpcap in windows to get live packets instead of dump and redirect them from remote machine to machine that contains wireshark.
can i use libpcap packet in redhat to do that, or wireshark don't support that in linux.
I hope I have explained to you the problem this time.

unSpawn 11-22-2012 05:53 AM

http://wiki.wireshark.org/CaptureSet...Remote_Capture


All times are GMT -5. The time now is 04:28 AM.