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
0answers
4 views

how to calculate optimal frame size for a transmission using stop & wait ARQ? [closed]

I have a project where i need to calculate the optimal frame size for a given transmission. It's assumed that the time-out is based on 2*RTT probability of bit error p = 10^-5 bitrate 100 mbps header ...
1
vote
0answers
44 views

Diffie-Hellman with PSK/PKI in the context of IKEv1

It seems I fail to understand few things about DH's functionality in the context of IKEv1. A little bit of context first: During IKE Main Phase, with the 3rd and 4th messages, the peers each exchange ...
3
votes
2answers
392 views

Why the two connected routers via PPP doesn't use ARP but ethernet use ARP?

I have read from @Ron Maupin's answer of this question that your two routers are connected via PPP (this is not uncommon), ARP will not be used , but if the two routers are connected via ethernet, ...
0
votes
2answers
159 views

How is P actually chosen in P-persistent CSMA?

I am struggling to understand how the probability value P is chosen for P-persistent CSMA for any particular station, what's the logic behind this.I have read from Wikipedia . P-persistent This ...
1
vote
2answers
80 views

Why does IPsec not support Multicast/Broadcast?

Many sources site GRE as supporting broadcast/multicast and IPsec does not. Both GRE and IPsec are merely tunneling protocols. Therefore there is nothing inherent about tunneling protocols which ...
1
vote
1answer
42 views

Does UDP can be exposed to stateful analysis?

From protocol theory we know that TCP is stateful protocol. Different stateful packet filters do filtration based on connection state. I.e. it can distinguish responses and replies. It's obviously for ...
0
votes
1answer
51 views

Could one call a network protocol an algorithm too

Is protocol - the term that is used in mainly networking contexts is nothing but an algorithm ? Could we so say like TCP algorithm ?
1
vote
1answer
35 views

Does RIP v1 store next hop in its routing tables?

Does RIP v1 routing protocol store "next hop" field in its routing tables despite not announcing it in the updates? And if yes, how does it do that, simply by storing the address of the node ...
1
vote
1answer
44 views

How Pruning avoids loops in Protocol Independent Mulitcast (PIM- SM)?

I can not think of a scenario, how pruning avoid loops in PIM-SM when a router joins a SPT. I understood that it avoids duplicate messages, but how it avoids loops? I want a scenario where the router ...
1
vote
1answer
65 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
37 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
56 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
57 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
215 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
10 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
25 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
115 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
34 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 ...
9
votes
5answers
2k 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 ...
3
votes
3answers
865 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
48 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
12 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
89 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
100 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
67 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
41 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
2answers
177 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
56 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?
44
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
215 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
304 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 ...
2
votes
2answers
988 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
69 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
359 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
203 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
339 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
82 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
217 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
416 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
757 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 ...
2
votes
1answer
92 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
185 views

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

Many articles consider PPP as byte-oriented, and others mention it as bit-oriented. +----------+----------+----------+----------+------------ | Flag | Address | Control | Protocol | ...
2
votes
1answer
126 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
3k 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, ...
2
votes
1answer
2k 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 ...
5
votes
1answer
367 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
74 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
177 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)...
2
votes
1answer
95 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
38 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). ...

1
2 3 4 5
9