Help shape GoConqr. What should we add next?

Flashcards

Transport Layer

Shaun Leung Computer Science English 21 cards

Cards in this deck (21)

  1. 1Transport LayerOnly implemented in the end Systems (hosts). Provides Process to Process communication. (Host to host is network)
  2. 2UDPUser Datagram Protocol
    8 Byte Header
    -4 bytes for addresses
    -2 byte length field
    -2 byte checksum
  3. 3TCPTransmission Control Protocol
    20 Byte Header
    -Flow control window (bits can I buffer)
    -Syn / Ack 32 bits each
  4. 43-Way HandshakeS---SYN1/ACK0--->R (SYN)
    S<---SYN1/ACK1---R (SYN+ACK)
    S---SYN0/ACK1--->R (ACK+DATA)
    RTT before data transmission.
  5. 5SYN Floodwhen a host is flooded with syns that don't respond (DOS) Use Syn cookie to avoid saving state info
  6. 6Graceful closeS---FIN1/ACK0--->R
    S<---FIN0/ACK1---R
    S<---FIN1/ACK0---R
    S---FIN0/ACK1--->R
  7. 7Flow Control Constraints-Deadlock
    -Silly Window Syndrome
  8. 8DeadlockReceiver buffer fills and request no more, but when buffer empties how does it get more data.
    1. Receiver sends window update to Sender
    2. Sender pokes the Receiver
  9. 9Silly Window SyndromeReceiver drains buffer in small chunks which causes small window requests.
    fix. make min buffer drain size before sending window update.
  10. 10Nagle's AlgorithmSender can't transmit unless:
    1. can send a segment of maximal size
    OR
    2. All previous data has been ack'd
  11. 11Smoothed Round Trip TimeSRTT = a*SRTT +(1-a)*R
  12. 12Round Trip Time VariabilityRTTVAR = b*RTTVAR +(1-b)*|SRTT-R|
  13. 13Timeout ValueRTO = max(RTOmin,SRTT+4*RTTVAR)
  14. 14CWINDCongestion Window
    Dynamically determined
  15. 15AIMDAdditive Increase Multiplicative Decrease
    used to set CWIND
  16. 16Additive increase modeevery RTT CWIND increase by 1
  17. 17Slow StartDone at the start of AIMD or after timeout. CWIND doubles ever RTT until TO/loss or passes the SST
  18. 18Multiplicative DecreaseHalf the CWIND when loss happens.
    CWIND of 1 on TO
  19. 19SSTSlow Start Threshold
    -set to half when loss occurs
  20. 20TCP Problems-High Bandwidth
    -Stability ("Feedback delay")
    -Unfairness (Parallel TCP connections from browsers)
    -Only Single Stream per connection
    -Usage of single Network Device.
    -Hard to make changes
  21. 21QuicQuick UDP Internet Connection
    -Faster Handshake
    -build on UDP

Information

Description
Computer Science (Networking) Flashcards on Transport Layer, created by Shaun Leung on 16/04/2019.
Created by
Shaun Leung
Views
3
Rating

More on Transport Layer, TCP and UDP

Feedback

What is it about?

What should we add next?