Questions tagged [packet]

152 questions
98
votes
2 answers

How does Router know where to forward packet

If several computers with local addresses (192.168.0.#) are connected to a router and each computer opens a web browser and requests a page over HTTP, when these TCP:80 packets are sent out, the router switches the local address with the static IP…
Kornelije Petak
  • 2,062
  • 3
  • 21
  • 24
30
votes
5 answers

How do IP answer packets reach their destination inside of a private LAN?

This is a little theory question that has been confusing me for a pretty long time. Basically, if we are inside of a private LAN, and we want incoming packets to reach, for example, an HTTP server located on one of the machines, we forward ports so…
InsomniaArray
  • 301
  • 1
  • 3
  • 3
24
votes
11 answers

What's the difference between a TCP segment and a TCP packet?

Is a TCP segment not part of a TCP packet? Here's what I've read: A segment is a piece of application data chopped into a transportable size by TCP and wrapped with a TCP header Isn't the TCP header itself made up of segments?
use753231
  • 259
  • 1
  • 2
  • 3
15
votes
2 answers

Are Segments, Packets and Frames the same size if we ignore headers?

I've looked for some explanation about the differences between Segments, Packets and Frames, and from what I read: Segment is the original data + Transport Layer header. Packet is a Segment + Network Layer header. Frame is a Packet + Data Link…
amiregelz
  • 8,099
  • 12
  • 48
  • 58
14
votes
3 answers

Intercept HTTP/HTTPS traffic of one application (Windows 10)

I'd like to capture all traffic from one particular .exe application. I tried to follow this guide with only the one application running on a windows 10 VM, but the VM was very slow and crashed a plenty of times. Is there any other way to capture…
layton
  • 151
  • 1
  • 1
  • 5
11
votes
4 answers

What's the minimum size of a TCP packet

A post here: http://blogs.adobe.com/dreamweaver/2011/02/optimal-css-tiled-background-image-size.html staes that "The smallest download that browsers can do is 1K bytes." Is this due to minimum size of a packet across the network? If not, what is the…
Andy Hume
  • 223
  • 1
  • 3
  • 8
9
votes
2 answers

What does the MySQL "max_allowed_packet" setting actually control?

We've been cleaning up database problems for the last four hours, thanks to a broken mysqldump that wasn't sufficiently erroring out. We were getting these errors: mysqldump: Error 2020: Got packet bigger than "max_allowed_packet" bytes when…
Plutor
  • 551
  • 1
  • 3
  • 8
8
votes
5 answers

Capture live streaming

I want to capture an RTMP stream. The videos are live, different every day and usually I can't tune in because I am busy at work doing something :(. I would like to capture the stream; however, they use anti-capturing techniques (it's live and free…
user3109
8
votes
1 answer

Capturing wireless traffic (using Wireshark)

When I run wireshark on a wired network it works fine and reports all of the packets. When I run it on a wireless network though I only see my own traffic. The wireless card I have is supposed to support packet capture and go into premiscous mode,…
Daisetsu
  • 5,881
  • 4
  • 33
  • 44
7
votes
2 answers

On an unencrypted public wi-fi hotspot, what exactly is a packet sniffer doing to get another computer's packet?

I get mixed results when reading information security articles, some of them stating that in order to do something similar you need to also setup some sort of honeypot with a running access point and local Web server to intercept traffic. Then other…
user87216
7
votes
2 answers

Packet sniffing tools

OS: Windows XP Is there any tool that can do packet sniffing by processes? I use Wireshark before, but that's too wide. I need just to look into a certain process.
Stan
  • 7,215
  • 35
  • 97
  • 142
5
votes
3 answers

TCP vs UDP. Sending data on a closed port

I try to understand differences between TCP and UDP packet on the error-checking. I know that UDP packets are connectionless and doesn't care that the packet will arrive the destination safely. And TCP packet is the opposite of UDP. My question is,…
ebyrock
  • 61
  • 2
  • 2
  • 3
5
votes
1 answer

How to enable "packet forwarding" in OS X

How is it possible to enable packet forwarding in Mac OS X? Google gives me tons of hints for Windows and Linux but not for OS X.
stefan
4
votes
3 answers

Packet Sniff over Wi-Fi

I've got a non-PC wireless client, and I'm wondering about some of its connections. I want to see the actual packets being exchanged from the net to my device over a Wi-Fi connection. I have Wireshark running on a PC and am watching traffic go by on…
4
votes
1 answer

Practical (vs theoretical) max limit of TCP packet size

I'm a web developer who is pretty new to the industry. I was presented with a coding challenge for a job interview where I need to design a messaging system and architect a system for how it deals with messages, malformed messages, different…
1
2 3
10 11