Is there a packet sniffer for Android?

Is there an Android version of Wireshark?

I know this would be a major project, and it would probably be a lot of work.

But does anyone have an idea how to do it?

The reason I'm asking is because I have the Wireshark.jar that's in the SDK, but it doesn't seem to work. I can't connect to the phone via USB cable, and I'm trying to capture the traffic in real time on the phone itself. I tried to compile the code from the source from Google, but I got a lot of error messages, which apparently means that the SDK for Android has some serious issues. The error I get is this one:

Exception in thread "Thread-7" java.lang.ClassDgetDeclaredMethods0(Native Method) at java.privateGetDeclaredMethods(Class.java:2547) at java.privateGetPublicMethods(Class.java:2671) at java.getMethods(Class.java:1603) at java.getDeclaredMethods(Class.java:1718) at javax.swing.actionPerformed(Unknown Source) at javax.AbstractButton.fireActionPerformed(Unknown Source) at javax.actionPerformed(Unknown Source) at javax.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.setPressed(Unknown Source) at javax.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.JComponent.processMouseEvent(Unknown Source) at javaxprocessEvent(Unknown Source) at java.Container.processEvent(Unknown Source) at java.dispatchEventImpl(Unknown Source) at java.

Can Wireshark capture cell phone traffic?

Hi, I have a simple question that is not really a technical question, but rather just something we are wondering.

on 3G or GSM? Is it just a packet sniffer to view/analyse the traffic? Or is there anything else involved? What does it actually record? Wireshark can capture packets from all other kinds of network equipment, except cell phones. Is this because it is impossible to do so? Could you point me to articles explaining how to analyse cellular/mobile data. The only thing I find is
There are many wireless protocols used by mobile devices (CDMA vs GSM), you should also look at your service provider's documentation to understand what they use, here's one example. I haven't tested any of these apps with Wireshark, and I don't know what they do exactly so I couldn't give much details without testing.

As always you need to read the TOS (terms of use) before downloading any app from the app store. This usually explains why the app doesn't work, if the app is free and uses data plan it is illegal and the carrier may terminate your service.

Related Answers

How to analyse Wireshark traffic?

What is the difference between Protocol and Application? How do I f...

Is there a Wireshark for Mac?

(I'm on OS X 10.6.8) After using it for a while, now my question is no...

How to capture Wi-Fi on Wireshark?

In this article, I'll teach you how to capture the Wi-Fi traffic on Wire...