Questions tagged [packets]

Packets refer to network packets. A network packet is a formatted unit of data carried by a packet-switched network.

A network packet is a formatted unit of data carried by a packet-switched network.

A packet consists of control information and user data, which is also known as the payload. Control information provides data for delivering the payload, for example: source and destination network addresses, error detection codes, and sequencing information. Typically, control information is found in packet headers and trailers.

Use this tag for programming questions related to packet creation, packets contents analysis, packet sending and receiving, or other tasks that can be done with network packets.

Source: Wikipedia

372 questions
2
votes
4 answers

Sniff iphone network packets?

How to capture iphone network packets ? im using windows is it possible to capture its packets through wifi ?
osx
  • 27
  • 1
  • 2
  • 4
2
votes
2 answers

Changing tcp/ip packets c++ or java

Here is the situation. There are server and client in network. They communicate like this: Client sends request for some function. Server sends to client function parameters. Client trying to perform function and sends answer to server. Server…
ov7a
  • 1,497
  • 4
  • 15
  • 34
2
votes
3 answers

Split message in serial communication

I am new to serial communication. I have read a fair few tutorials, and most of what I am trying to do is working, however I have a question regarding serial communication with C#. I have a micro controller that is constantly sending data through a…
Bender
  • 44
  • 1
  • 1
  • 9
2
votes
1 answer

Weird IPERF observations: MSS size get decreased from what specifed

I am using IPERF to send some packets from one PC to another. Following things have been observed while testing MSS (Maximum Segment Size) with IPERF. Send packets with MSS = 20 Bytes: iperf -c 192.168.1.98 -P 1 -i 5 -p 5001 -M 20 -m We were…
Uthman
  • 9,251
  • 18
  • 74
  • 104
2
votes
2 answers

Implementing packet timeout c++

For a computer networks project, we are writing an ftp server in c++ with different window protocols. We are having issues implementing a working timeout function. The gist of it is to set a timestamp to when a packet is transmitted, and if the…
Jeff Schmitz
  • 1,087
  • 1
  • 13
  • 28
2
votes
1 answer

Decoding IPFIX packets using BitArray C#

Following on from my previous thread, I seem to be closer to decoding IPFIX data from a Sonicwall firewall using a UDP listener and a BitArray in C#. I now get data in my BitArray but it doesnt make sense - I thought I would see binary in my array…
Jimbo James
  • 727
  • 2
  • 9
  • 17
2
votes
1 answer

Sniffing Facebook chats with Wireshark

Once, we were having a conversation with our computer science professor about Wireshark and he told us, how he previously used it in a class and even saw facebook chats of some of his students. As I know, facebook is encrypted, so does anybody have…
Quechua
  • 23
  • 1
  • 1
  • 7
2
votes
1 answer

TCP slow start and congestion avoidance problems?

Having a little problem with a trace i'm examining. I know a connection is in slow start if the window size is increasing along with the amount of ACKs sent between each segment and that it will increase by the size of the ACk'd segment. However the…
RED_
  • 2,997
  • 4
  • 40
  • 59
2
votes
2 answers

Android - Vpnservice DatagramChannel.open() not working

I want create app, which rerouting packets. I use vpnservice (because no need root phone), use toyVpn and this code http://www.thegeekstuff.com/2014/06/Android-vpn-service/ but problem is in this line DatagramChannel tunnel =…
2
votes
1 answer

How to add a fake ethernet header to a capture

I have a decrypted VPN pcap file. What I am trying to do is to read the pcap using tcptrace in linux. But, tcptrace does not seem to get this format that I have. So here is the snapshot of the pcap. This is the pcap So, what I want to do is to…
2
votes
1 answer

Can't find mitmproxy-ca-cert.pem

I installed mitmproxy on a Mac and a Linux but I can't seem to find the certificate. All tutorials seem to assume it is downloaded upon installation but I can't find it. Any ideas?
EnTaim
  • 23
  • 1
  • 4
2
votes
0 answers

I've captured a packet in Smartsniff and would like to resend it in Python

Packet captured between localhost:23150 and localhost:6010 ================================================== Index : 5 Protocol : TCP Local Address : 127.0.0.1 Remote Address : 127.0.0.1 Local Port : 23150 Remote…
2
votes
0 answers

C# server not receiving sockets on some pc's

Okay guys I have a really weird issue. I've created an Android application who should send a token to a C# server. This is the android client code implementation. So nothing weird, this should work. What it should do is to send a token to the…
Crimson
  • 311
  • 2
  • 14
2
votes
3 answers

Parsing a PCAP File in python

I am trying to parse a Pcap file in python. When i run this code for ts, buf in pcap: eth = dpkt.ethernet.Ethernet(buf) print eth I get junk values instead of getting the following output: Ethernet(src='\x00\x1a\xa0kUf',…
Normal one
  • 145
  • 1
  • 2
  • 12
2
votes
0 answers

Wireshark sms Plugin Install

How do I add isi-wireshark-plugin Link Here to the wireshark software. I'm quite new to wireshark and its interface. Also i would like to know on how can i analyse GSM packets which show as SLL in wireshark is there a separate tool to analyse GSM…
Daniel Euchar
  • 1,740
  • 5
  • 28
  • 45