written 6.7 years ago by | modified 2.7 years ago by |
Subject: Mobile Communication and Computing
Topic: Mobile Network
Difficulty: High
written 6.7 years ago by | modified 2.7 years ago by |
Subject: Mobile Communication and Computing
Topic: Mobile Network
Difficulty: High
written 6.6 years ago by | • modified 6.6 years ago |
![Snooping TCP The main drawback of l-TCP is the segmentation of the single TCP connection into two TCP connections, which loses the original end-to-end TCP semantic. A new enhancement, which leaves the TCP connection intact and is completely transparent, is Snooping TCP. The main function is to buffer data close to the mobile host to perform fast local re transmission in case of packet loss.
Here, the foreign agent buffers all packets with destination mobile host and additionally 'snoops' the packet flow in both directions to recognize acknowledgements. The foreign agent buffers every packet until it receives an acknowledgement from the mobile host. If the FA does not receive an acknowledgement from the mobile host within a certain amount of time, either the packet or the acknowledgement has been lost. Alternatively, the foreign agent could receive a duplicate ACK which also shows the loss of a packet. Now, the FA re-transmits the packet directly from the buffer thus performing a faster re-transmission compared to the CH. For transparency, the FA does not acknowledge data to the CH, which would violate end-to-end semantic in case of a FA failure. The foreign agent can filter the duplicate acknowledgements to avoid unnecessary re-transmissions of data from the correspondent host.
If the foreign agent now crashes, the time-out of the correspondent host still works and triggers a re-transmission. The foreign agent may discard duplicates of packets already re-transmitted locally and acknowledged by the mobile host. This avoids unnecessary traffic on the wireless link.
For data transfer from the mobile host with destination correspondent host, the FA snoops into the packet stream to detect gaps in the sequence numbers of TCP. As soon as the foreign agent detects a missing packet, it returns a negative acknowledgement (NACK) to the mobile host. The mobile host can now re-transmit the missing packet immediately. Reordering of packets is done automatically at the correspondent host byTCP.
Advantage of snooping TCP
Disadvantages of snooping TCP