Questions tagged [protocol-theory]

For questions about network protocols published in a Standard or RFC. Do not use this tag merely because the question mentions a networking protocol in it. Questions with this tag *could* be closed if they do not explain why the question is relevant and important to answer; this is necessary to avoid issues with tangential / trivial questions or help vampires.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

What happens to the packets in the sender buffer when “eventually a timeout would be reached” for a **delayed ACK** in a AIMD TCP connection?

In a AIMD TCP connection, What happens to the packets in the sender buffer when "eventually a timeout would be reached" for a delayed ACK for a specific packet at the sender side? Suppose ...
1
vote
2answers
22 views

rules regarding IPV4 fragments and piecing them together

I'm rolling off my own TCP/IP stack for DOS and I have a question on IPV4 packets. Assuming that a client sends multiple IPV4 fragments, I would predict the MF flag would be set for every fragment ...
3
votes
1answer
38 views

Recommended IPv6 prefix size for PPP to a single host?

I am using PPP to create a IPv6 connection to a remote host. What is the recommended IPv6 prefix size for a single host at the other end of the PPP connection? Should it be /128, because there is ...
0
votes
1answer
19 views

Retransmission timer: one per segment or one global timer?

TCP uses various mechanisms to detect packet loss and decide when to retransmit segments. In this question, I am asking about the timeout-based retransmission, wherein a TCP retransmits certain ...
0
votes
3answers
73 views

What would happen if TCP flow control is turned off hypothetically? [closed]

I understand that TCP flow control provides a way for the receiver to backpressure the sender. But what if we eliminated this from the protocol. Of course, the receiver would still ACK everything ...
0
votes
0answers
9 views

Is there any way to send different data packets together over wireline/wireless link? [duplicate]

I would like to know if there is a technology that allow to send many packets (of different data) together and at the same time over communication link (whether in wireline or wireless networks) of ...
0
votes
0answers
14 views

WAN Frames vs. STS-1 and T1 Frames

I am having trouble understanding the need for WAN frames, such as PPP when using the SONET Protocol or T-Carrier System. Since SONET uses STS-1 frames and T-Carrier uses T1 frames, why is there a ...
1
vote
1answer
32 views

I have issue with MSS and window size [duplicate]

I made a short example because I have tried understanding the difference between MSS and window size in tcp header when we consider a sender and a receiver. So let's say sender and receiver use the ...
1
vote
1answer
27 views

Nature of TCP Timeouts

Are timeouts in TCPs inherently part of sequence numbers, or is it an entirely different component of a TCP packet? I understand that timeouts provide some level of reliabilty to a data stream, in ...
8
votes
5answers
1k views

Does the destination port change during TCP three-way handshake?

I'm learning networking programming in C and there is a question bothers me a lot, does the destination port change during TCP three-way handshake? Let's say I have a cilent application running on ...
0
votes
1answer
15 views

AODV Broadcast ID/Broadcast Sequence number/RREQ ID reason for existing

I was looking into Adhoc On-Demand Distance Vector Routing (AODV), in particular the following sources: https://www.cs.cornell.edu/people/egs/615/aodv.pdf https://tools.ietf.org/html/rfc3561 Both ...
2
votes
2answers
704 views

Do these 2 packets belong to the same tcp socket?

Let's say we have two packets A and B. A: Has source-IP S1 , destination-IP D1 , source-port SP1 , destination-port DP1 B: Has source-IP S2 , destination-IP D1 , source-port SP2 , destination-port DP1 ...
0
votes
1answer
42 views

Does an application implemented using services of layer n necessarily belong to layer n+1 and implement a protocol in layer n+1?

I was wondering what counts a protocol? When an arbitrary (software or hardware) application is implemented on top of the service of layer n in the Internet Protocol stack or the OSI model, does ...
0
votes
0answers
17 views

How many time can a Block Acknowledgement Request can be sent if no BA is received, in 802.11 networks?

If we consider a 802.11 ac network, how many time, at most, can a Block Acknowledgement Request be retransmitted if it is not received at first? I'm running simulations in the ns-3 simulator, and I ...
0
votes
0answers
11 views

Does the control packets flow into a router/switch through forwarding plane? [duplicate]

I know there are two platforms in any networking device separating the control packets from the traffic, which I call control plane and data plane. My question is, how does the control packets enter ...
3
votes
2answers
67 views

Networks theory: Layers, Services and Interfaces

I want to learn about computer networks from the bottom up. I don't really understand the nuances of networking layers, with books mentioning that layers provide services to layers above them, but the ...
1
vote
1answer
44 views

Does the first TCP FIN packet (active close) goes with just only FIN bit set?

Suppose we have established TCP connection. The active close process assumes the FIN packet been sent to trigger TCP connection closing. But I can't figure out, is this first (active close) FIN packet ...
1
vote
1answer
59 views

Is there any other network protocol than tcp/udp that works with ports?

Do you know at least one protocol (any OSI layer) that, like tcp and udp, works with ports ? Thank you
0
votes
1answer
14 views

Question about the rebooting state of the DHCP protocol [closed]

Taking into account this diagram... I wonder if a device, after a reboot having a previous known configuration, uses it from the start even tho it's still asking to check if it can continue using ...
2
votes
1answer
111 views

Why is delayed segment prevention (TIME_WAIT) in TCP only done for one side?

One of the reasons for TIME_WAIT is to prevent old packets/duplicates, coming in late, to screw up subsequent connections on the same (src ip, src port, dst ip, dst port) quadruplet. That makes sense, ...
1
vote
2answers
53 views

ICMP distinguish error messages

Can a Internet Control Message Protocol when an error is sent can it tell which datagram that made the error?
43
votes
7answers
15k views

Does UDP do anything at all?

It's my understanding that TCP has logic for ensuring reliable communication, but UDP just naively sends information along the channel set up for it using IP and things in lower layers. Does UDP ...
1
vote
2answers
80 views

How does the ARP table know to update if two hosts flop IP addreses?

When hosts on the same local network communicate, they manage their own ARP tables which translate between IP addresses and MAC addresses. Thus when computer A needs to send data to IP address ...
3
votes
1answer
297 views

ARP Router issue

I have a question when a Router receives ARP request to a host that dosen't exists on the forwarding table for that router does the. And this Router is not the next hop either will the Router continue ...
1
vote
2answers
187 views

MAC address and unicast, multicast and broadcast

I'm very new to computer networking and I'm trying to figure out this dilemma about the Unicast, Multicast and Broadcast transmissions. I was told that MAC address are unique for each device and they ...
2
votes
2answers
47 views

What if my data contains nothing but Preambles and Start of Frame numbers?

Will that continually reset the receiving NIC or is there a sort of escape character that need to be used if my data contains nothing but alternating 1s and 0s in 7 byte blocks with start of frame ...
2
votes
2answers
127 views

What will happen if a server receives a duplicate SYN for an existing connection?

If a server receives a fresh SYN packet for a connection that is already established, what should it do? I have already seen What will happen at server side if it received 2 SYN packet from the same ...
1
vote
2answers
150 views

Is this UDP diagram wrong?

I was just wondering if anyone can tell me why all UDP diagrams I have seen list a request from the server to the client as the first point of communication? Take a look at the following diagram for ...
-1
votes
2answers
155 views

What is the window size of TCP pipelined sending?

We know that instead of sending a packet and waiting a RTT then sending another (stop and wait), TCP uses pipelined sending as picture below shows: So, my question is, what's the maximum number of ...
3
votes
1answer
76 views

What are usecases for IPv6 link-scope anycast?

IPv6 Neighbor Advertisement messages have a flag called Override, see RFC4861. It toggles, whether the receiver of the message should remove other link-layer addresses for the same IPv6 target address ...
2
votes
1answer
127 views

Do both sides need to agree on MSS value?

By definition, The TCP Maximum Segment Size (MSS) is the maximum amount of data that a host is willing to accept in a single TCP/IPv4 datagram. And MSS is one of the parameters which is negotiated ...
0
votes
1answer
223 views

Network Protocol vs Framework?

I've been a network engineer for almost 4 years now. I thought I understand what a network protocol means. but now I'm having doubts. For me, Ethernet is a protocol used at layer 2. there would be ...
0
votes
1answer
114 views

Why do hops before VPN server not reflect in traceroute?

I'm using a remote-site VPN (ProtoVPN). When I tracert to the IP address of the VPN server, the hops through my ISP and other intermediate hops before the VPN sever are shown. But when I tracert to ...
0
votes
0answers
46 views

How does mesh network handles seamless roaming?

When extending a WMN to a city-wide scale one of the problem it faces is seamless handoff. So, do I need to implement one of the ticket based authentication for it to work seamlessly or will IEEE 802....
2
votes
1answer
74 views

what were the classless routing protocols used with VLSM when it was first introduced?

Since VSLM is supported only by classless routing protocols, if VSLM was introduced in 1987(RFC 1009) and all classless protocol(RIPv2 developed in 1993 , OSPF standardized in 1989 RFC 1131 ) cited ...
0
votes
1answer
148 views

How is the PPP protocol byte-oriented as well as bit-oriented?

Many articles considered PPP as a byte-oriented, and the others mention it as a bit-oriented. +----------+----------+----------+----------+------------ | Flag | Address | Control | ...
2
votes
1answer
86 views

IPv6 SLAAC and Static DAD

I started learning about IPv6 and I wonder what happens when you mix SLAAC and static addresses in the same /64. My current understanding is as follows: Machine A with a statically configured ...
12
votes
2answers
2k views

Why does Ethernet use EtherType field to determine what type of packet is in a frame instead of just looking at the packet header?

I'm studying for some networking concepts and have learned that a receiving host looks at an Ethernet frame's header to determine what protocol being used by the packet. It makes me wonder though, ...
1
vote
1answer
660 views

IPv4 maximum datagram size

The IPv4 datagram consists of two parts:the header length and the payload. The maximum header size is 60 bytes and minimum is 20 bytes. The maximum size of the data can be 65515 bytes. So why the ...
0
votes
0answers
8 views

Why do i see only UDP and not QUIC during capture in wireshark? [duplicate]

During packet sniffing in wireshark i dont see any QUIC or GQUIC packets only UDP
4
votes
1answer
353 views

Is TCP slow start supposed to be enabled for VoIP SIP?

TCP slow start mechanism generally is pretty useful in most cases. But it is not so good and reasonable for short-lived TCP connections. Hence the question: Should TCP slow start be used with SIP-over-...
1
vote
1answer
65 views

Unexpected bytes in AS_PATH BGP attribute

I am parsing out the ASNs from several AS_PATHS. A majority of the attributes I encounter look like this one: [64, 1, 1, 0, 64, 2, 10, 2, 2, 0, 0, 23, 169, 0, 0, 50, 156, 64, 3, 4, 200, 40, 162, 202]...
4
votes
1answer
109 views

Which exact bytes are transmitted while TCP zero window probing?

I read the post about TCP zero window probe and it seems that such a probing segments transmit some payload. But I can't figure out which exactly bytes are sent in probing segments? Is it one (or more)...
1
vote
1answer
59 views

Why must host A continue to transmit after host b sends runt frame post collision on ethernet? (CSMA/CD)

Trying to understand example from computer networks: a systems approach ... -Host A sends Host B a frame at time t; Packet arrives at B at time t + d; (d = one link latency) Instant before frame ...
1
vote
1answer
32 views

Do DR-Other router forwards Type 2 LSA received by DR?

In the Diagram below when R1 is newly added to Network Topology R1 and R2 become neighbors and exchange Type 1 LSA from R2, R3, R4. But how R1 knows Network LSA created by the DR in LAN(subnet 1). ...
2
votes
1answer
76 views

How can MLDv2 work according to the RFCs 3810 and 4606?

When IPv6 Stateless Address Autoconfiguration is happening, an interface/node has to join the all-nodes multicast address and the solicited-node multicast address AFTER forming a "tentative" ...
2
votes
1answer
1k views

Worst-case efficiency of PPP escaping mechanism

Will transferring over PPP data stream containing only reserved bytes 0x7E, 0xFF, 0x03 reduce bandwidth by 50% because of escaping? Then it seems to be very stupid if not say moronic. Such poor ...
13
votes
4answers
3k views

Difference between :: and ::1

I am confused about following netstat output. There are two kind of local ports. The first is: [::]8100 The second is: [::1]8100 I know that [::1] is a loopback address for IPv6. My question is: ...
2
votes
1answer
50 views

in 802.11, when must a station go to the “random fall back slot” mechanism?

i've been reading Michael Gast's 2005 book on 802.11, and he talks about how each station, after it has seized a channel and finished transmitting, will then have its NAV timer expire (along with all ...
33
votes
3answers
10k views

Why does the IPv6 header not include a checksum?

It is stated in Wikipedia that an IPv6 header does not include a checksum. What are the reasons that were behind this decision?

1
2 3 4 5
9