Questions tagged [packet-capture]

is for questions about capturing packets of various protocols that are transmitted over a network.

A lot of computer network protocols transmit their contents in packets. Packet capture is the interception of these packets as they are moved over a network of some type.

A packet sniffer captures raw data traveling over a network segment and saves it to a file for analysis.

Software

A software sniffer can generally only capture network data either originating from or going to the computer running it, plus any "broadcast" messages, if the computer is connected to the network via a switch. If the computer is connected to the network via a router, it may be able to capture network data for any device on connected to the same router.

Hardware

A hardware packet sniffer is physically connected to the network by connecting it to a router or switch. Sometimes the router or switch has to be configured to allow the sniffer to capture traffic being routed through it; this is called port mirroring.

Analysis

The captured data can be analyzed by the software that captured it, or by a program specifically designed to analyze the network data.

See Also

  • Wikipedia Article on Packet Analyzers
  • The term packet sniffer is also common and can be considered a synonym.
659 questions
-1
votes
1 answer

Sending TCP packets through a socket

I'm using VpnService to capture packets and after capturing them I want to send them to their destination. Now, the capturing aspect works. I got the protocol, Source IP / Destination IP and the Source Port / Destination Port from the packets. I…
Fischa
  • 33
  • 4
-1
votes
2 answers

How to program pcap with Objective-C and get HTTP request and response values in text format

I am working with pcap in an OS X application to understand packet analysis. I am working with a app https://github.com/jpiccari/MacAlyzer but I am getting only raw data but I want to differentiate every domain request into separate and clear way…
Retro
  • 3,985
  • 2
  • 17
  • 41
-1
votes
1 answer

What's the best classification method for capturing packets in heavy traffic

I want to capture packets from a crowded network and classify it by user request. I use java and jpcap for capturing packets. now I'm using array threads for each req packet. it's realy slow and there is many conflicts among threads. what's the best…
Alireza
  • 4,347
  • 3
  • 20
  • 31
-2
votes
1 answer

tcpdump difference between ip host hostname | ip and host hostname

In tcpdump, which is the difference between the following two commands? I tried to understand but they seems pretty much the same to me. tcpdump ip host google.com and tcpdump ip and host google.com
testermaster
  • 1,031
  • 6
  • 21
  • 40
-2
votes
1 answer

How to use Task.Run(...) in Windows Forms? - C#

I am trying to make a client-server application using some person's code for console as an example. In the Main function he uses this Task.Run(() => { while (true) ReceivePacket(); }); for receiving packets. He sends a packet from one client and…
J. Doe
  • 229
  • 3
  • 15
-2
votes
1 answer

Emulating Android Drone Control App On Windows

I recently purchased a Yuneec Breeze quad-copter drone that uses an Android and iOS app with its own WiFi connection as a controller. I am looking to write a Java application that performs the functions of the Android app with Game Controller…
-2
votes
2 answers

Writting an object in a file. Best way

I have a problem with time. I currently develop an app in Java where I have to make a network analyzer. For that I use JPCAP to capture all the packets, and write them in a file, and from there I will put them bulk in DB. The problem is when I am…
Paul F.
  • 17
  • 1
  • 8
-2
votes
2 answers

Wireshark capture in Packet tracer

So after googeling there seem to be a lot of people saying that you cannot capture packets from a simulation in Packet Tracer with Wireshark. However, my prof has given me this as an assignment. I cannot seem to figure it out. The Scenario: 2…
Maartenw
  • 595
  • 1
  • 5
  • 19
-2
votes
1 answer

wireshark capture the traffic of other devises in LAN

I am using wireshark on windows to capture my traffic. Is there a way to capture the traffic of other computers which are connected to the same LAN. If it is not possible with wireshark, is there other tool capable of doing this.
Salvador Dali
  • 214,103
  • 147
  • 703
  • 753
-3
votes
2 answers

how to decrypt a http request captured during packet capture

Hi Guys Im currently capturing some traffic from an android application, but the requests it is sending out to server seems encrypted. Would you guys know how to decrypt such requests? Or is that impossible to…
isuru
  • 1
-3
votes
1 answer

How to parse captured packet from socket in cpp?

I'm using RAW socket to capture udp packets. After capturing I want to parse the packet and see what's inside. The input I get from the socket is an unsigned char* buffer and it's length. I tried to put the buffer into a string but I guess I did it…
user3206874
  • 795
  • 2
  • 7
  • 15
-3
votes
1 answer

What is an emulator? How to write a basic http packet emulator?

So I basically captured a packet using Wireshark and I want to emulate it. Can someone give me some information about an emulator and some tips or even help and answer it?
Frought
  • 116
  • 9
-3
votes
1 answer

how to see exact communication in wireshark?

We have installed a proxy inbetween host and internet. when i make a request google.com and if i see the communication in wireshark, i can just see the communication to proxy and reply from proxy, since proxy makes the actual request and reply to…
thuk
  • 263
  • 3
  • 7
  • 21
-3
votes
1 answer

How to capture packets from Hotspot Shield

How can I capture packet of applications, including Hotspot Shield and other free proxy applications?
1 2 3
43
44