A software or a piece of computer hardware that can intercept and log traffic passing over a digital network or part of a network
Questions tagged [packet-sniffers]
718 questions
6
votes
5 answers
Localhost packet analyzer for Mac
Packet sniffers generally do not capture localhost traffic. I need to inspect some post data in a localhost environment (being generated from a Ruby on Rails development). Do you know of any programs that expose localhost packets?

kingjeffrey
- 14,894
- 6
- 42
- 47
6
votes
6 answers
How to sniff http requests
I want to sniff a local HTTP request to an ASP.NET web application.
Is telnet an option?
How do you capture packets to a web application?

Costa
- 3,897
- 13
- 48
- 81
6
votes
1 answer
sniff traffic on a particular port using scapy
Ok so I have client and a server code.
The server code looks like this :
import socket
import sys
HOST = ''
PORT = 5555
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print 'Socket created'
#Bind socket to local host and port
try:
…

sukhvir
- 5,265
- 6
- 41
- 43
6
votes
4 answers
Why Wireshark display filter does not show http packets?
When I use display filter for HTTP it shows only HTTP packets when HTTP message is on standard port i.e. on port 80. But, when message is not using standard port, then display filter not works for HTTP and I need to filter for TCP and then need to…

Pranit Kothari
- 9,721
- 10
- 61
- 137
6
votes
3 answers
How to capture network packet in Android without using any root permissions
I want to capture network data packets on android app. Do you have any suggestions or source code to help me understand if this is possible?

Kadir GÜZEL
- 141
- 1
- 1
- 11
5
votes
3 answers
Packet Level networking in Android
I know how to develop in Android and use the Apache HTTP lib, but I want to go lower, get hold of the wireless interface adapter and be able to send & receive packets wirelessly. I know its possible since there are sniffer apps in the android…

Rushil Paul
- 2,010
- 4
- 26
- 39
5
votes
2 answers
How to get data from TCPPacket using SharpPcap?
I need small sniffer for my report so I went with C# and SharpPcap.
packet = Packet.ParsePacket(rawCapture.LinkLayerType, rawCapture.Data);
tcpPacket = TcpPacket.GetEncapsulated(packet);
I have raw packet with all packet data. Then I get Packet out…

jM2.me
- 3,839
- 12
- 44
- 58
5
votes
1 answer
When does Android BT HCI snoop log start recording Bluetooth traffic?
Background:
The btsnoop hci log no longer works on newer versions on Android. I have to use a bug report instead to sniff/snoop Bluetooth traffic:
On the device:
enable developer option USB debugging
enable developer option HCI logging
start or…

rayogunjimi
- 188
- 1
- 6
5
votes
1 answer
Using RawCap to Sniff localhost on Windows XP, SP3
I am attempting to use RawCap to sniff Windows localhost. However, contrary to its billed ability to do so, it is not working. I am starting it as follows:
rawcap 127.0.0.1 echo.pcap
I then run a little echo TCP client / server test app I wrote. I…

Dave
- 1,519
- 2
- 18
- 39
5
votes
2 answers
C# Listens to HTTP Requests without using WinPcap?
Can i listen to outgoing HTTP Requests with my application without using WinPCap?

Danpe
- 18,668
- 21
- 96
- 131
5
votes
1 answer
iOS Packet Tunnel Provider with Local On-Device Server
I'm using the Network Extension framework provided by Apple to build a packet sniffing/monitoring application similar to Charles Proxy and Surge 4 for iOS.
So far, I have the basic structure of the project up and running with the Main Application…

CervezaEmperor
- 108
- 2
- 6
5
votes
0 answers
Docker Swarm: How to Sniff Network Traffic
I would like to sniff the traffic of a running container on a Docker Swarm on an overlay network without stopping or interfering with the container. Is there a simple way to do it?
At the moment the only solution I have is by sniffing the traffic…

Cecile
- 1,553
- 1
- 15
- 26
5
votes
4 answers
How do I programatically collect packets from passively sniffing?
I want to test the vulnerability of the server I just wrote against man in the middle attacks.
How (on Mac OS X) do I analyze packets. (I'll be checking where they are going, pulling information from if they are heading to my server, and seeing…

NullVoxPopuli
- 61,906
- 73
- 206
- 352
5
votes
0 answers
Fix for 'bytes missing in capture file' using rawcap?
I am using rawcap tcp capture tool for capturing localhost packets on windows.
I have a huge stream flowing and there are multiple
'XXXX bytes missing in the capture file'
in the captured file.
How can I prevent this? How can I capture the…

Starfish
- 697
- 1
- 6
- 18
5
votes
1 answer
Parsing a TCP Packet data
I am trying to parse a tcp packet and then assign to a pointer to the start of the payload.
I am using C and this is my code so far:
void dump(const unsigned char *data, int length) { //*data contains the raw packet data
unsigned int i;
…

Yahya Uddin
- 26,997
- 35
- 140
- 231