NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Wireshark and libpcap

Solved!
Go to solution

Hi everybody,

for a customer we need to install Wireshark to sniff and troubleshoot a network issue. 

I saw that in the 2016 NI repository there is wireshark and also libpcap.

 

I installed both but the version of wireshark in the repository was not compiled with libpcap and is not able to sniff (only to open logs).

 

Is there a possibility to integrate libpcap functionality after compilation?

If we have to start again from the source (I saw that the version in the NI repository is the 1.12.4) which is the configuration used for building wireshark (./configure options)?

 

Thank you in advance!

Regards.

0 Kudos
Message 1 of 3
(3,371 Views)
Solution
Accepted by topic author Stefano.Caiola

Hmm, odd. I'll take a look into that.

 

Anyway, to get unstuck you can install tcpdump from the feeds, dump the traffic that you care to inspect, and load that into wireshark (host or target) to investigate visually.

Message 2 of 3
(3,353 Views)

Nice! The tcpdump solution works perfectly!

I will propose this solution as a workaround... Regards 🙂

 

0 Kudos
Message 3 of 3
(3,333 Views)