1
vote
1answer
88 views

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 ...
1
vote
1answer
96 views

Why HTTP response is split in 2 parts: header and body?

I'm trying to understand why a single HTTP response is split in 2 parts in the following setup: Requested resource is protected by HTTP Digest Authentication on server side. Communication is ...
0
votes
0answers
62 views

How do I drop a TCP packet matching a certain signature on windows (e.g. firewall-based)?

I am searching for a way to stop a TCP packet with a certain signature and connection from reaching an application. The packet may be dropped completely. The packet contains the byte signature [42, ...
6
votes
5answers
8k views

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 ...
0
votes
2answers
4k views

Minimum size of the data part of TCP segment

My question has two parts: I know that the "data" part of an Ethernet frame can be 46~1500 bytes. Considering the IP header of 20 bytes + TCP header of 20 bytes, the minimum "data" size of a TCP ...
0
votes
1answer
1k views

tcpdump missing on Cygwin v1.7.7 for packet sniffing

I am trying to debug why my TCP packets are truncated. I see that only the first 24 bytes of each packet are showing up in my program. The 25th through 28th bytes are scrambled and all others after ...
0
votes
2answers
2k views

Size of an IP Packet

What is the complete size of an IP Packet?
8
votes
4answers
11k views

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 ...
20
votes
3answers
8k views

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 ...