Questions tagged [packet]

A packet is one unit of binary data capable of being routed through a computer network.

This is a small amount of computer data sent over a network. Any time you receive data from the Internet, it comes to your computer in the form of many little packets.

Each packet contains:

  • A label which uniquely identifies it
  • The IP address of its origin and destination
  • A sequence number (for sorting)
  • A checksum (for error checking

The process of sending and receiving packets is known as "packet-switching." Packets from many different locations can be sent on the same lines and be sorted and directed to different routes by various computers along the way, the packets are then sorted by their sequence number once they reach their destination. It works a lot like the post office, except billions of packets are transferred each day, and most packets take less than a few seconds to reach their destination. Even FedEx same-day delivery can't compete with that.

Packet Definition. 2013. Packet Definition. [ONLINE] Available at: http://www.techterms.com/definition/packet. [Accessed 30 April 2013].

1562 questions
0
votes
1 answer

overflowing UDP buffer(s)

In Linux, does UDP use the same buffer for incoming and outgoing packets? If I want to overflow this buffer, it shouldn't matter if I code in C or in Python, right?
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
0
votes
1 answer

In Android how to know when a DatagramPacket has been received?

Assume that a transmitter is sending DatagramPacket at random intervals. Is there a way to know when a packet is received at the receiver? In C++ and using QT it is possible to connect the socket to a readyRead() signal for…
TJ1
  • 7,578
  • 19
  • 76
  • 119
0
votes
1 answer

Packet sniffing and modification

First, why do I need that? I have Wifi network. I want everyone that just connected to wifi first to redirect to login page and then if login is successful - redirect to the page requested. I thought to do that using PCap. But since WinPCap allows…
seeker
  • 3,255
  • 7
  • 36
  • 68
0
votes
1 answer

C# How to handle TCP packets/segments

A couple of questions about TCP. I know that the packet will be "split" or fragmented if it hits a network device with lower MTU etc. But the problems I have is understanding how I "rebuild" my payload in the application. (I've been trying for 2-3…
hayer
  • 221
  • 2
  • 8
0
votes
0 answers

Why is first access slow via hyper text transfer protocol

I'm researching about the access time via http1.0 inner local network. I setup http server at 127.0.0.1:30000, and let curl access to the server. (http server code is implemented on…
tbl
  • 823
  • 1
  • 8
  • 11
0
votes
3 answers

Is Atheros AR9485WB-EG capable of packet injection in BackTrack 5?

I found a post that said all Atheros chips support packet injection on Backtrack 5 but when I searched aircrack ng's Compatibility List I couldn't find my driver listed
user1776535
  • 3
  • 1
  • 1
  • 3
0
votes
0 answers

When I send a packet with sendto(), I see an "IP0 bad-hlen 0" error

Sending a packet with the sendto() function, analyzing packet with TCP Dump, I get an: IP0 bad-hlen 0 This program use libpcap and raw socket to avoid SYN Stealth, sending a SYN/ACK Packet every open port, to deceive the attacker. Here's my…
0
votes
1 answer

Minecraft took too long to log in error when sending packets with Python

Ok, so this is my code basicly: class Server: def __init__(self, addr, port, mc): self.mc = mc data = {'user': mc.user, 'password': mc.pswd, 'version': '12'} data = urllib.urlencode(data) dta =…
Tom
  • 846
  • 5
  • 18
  • 30
0
votes
1 answer

saving a captured packet in TCPDump format (Java)

I want to save a captured packet in TCPDump format. I'm using Java with JPCap library. However, I'm not able to use JpcapWriter.writePacket() function, it gives me a JVM error. This is the code that is causing the JVM error: …
Shubham Saini
  • 738
  • 3
  • 8
  • 18
0
votes
1 answer

Game Server: Packet Analyzation

My favorite racing game server is shutting down shortly. Before that happens I would like to decipher as much information to work with later so my friends and I can still play. Having hit a brick wall I thought someone with more experience than…
Shawn
  • 116
  • 1
  • 11
0
votes
2 answers

Packet capture data into SQL

I was looking around for some tools that help injecting packet capture into a database. I was lucky bu finding one tool from COMMAND FIVE PTY LTD. the tool is called C5 SIGMA, and based on description, it makes possible to get data from capture and…
fsidiosidi
  • 51
  • 3
  • 12
0
votes
1 answer

Socket.SendTo() and headerincluded

i have used socket name space to establish connection between two system, now i am able to send and receive message , now i want to get information about packet that has been received , like header information( sender Address , ttl and ... ) int…
Moslem7026
  • 3,290
  • 6
  • 40
  • 51
0
votes
2 answers

How do I send a Minecraft server packet?

OK, so I went on http://wiki.vg/Protocol, but I don't understand how to send the packets through a socket to a Minecraft server. I would like to know if it is possible, and if it is how, to send Minecraft packets through a Python socket to a…
Tom
  • 846
  • 5
  • 18
  • 30
0
votes
2 answers

SFML TCP packets being changed

After failing to get any help in the SFML forums, I've decided to see if anyone here can be of any help. I have an application which updates itself through a TCP connection to a server application. This works perfectly fine, except for one specific…
Morgan Patch
  • 336
  • 6
  • 20
0
votes
1 answer

How to combine decoded packet data and header output into a single variable/dictionary for string searches

I'm somewhat of a Python novice, but I've taken up a small personal project to teach myself a bit more. Basically, I'm writing a packet sniffer using sockets and impacket. However, where I am getting stuck at is one particular point: combining the…