Bitzu

N10-009 ยท Ports, protocols and traffic types

ICMP, TCP, UDP, GRE and IPsec

Differences between TCP and UDP, role of ICMP and GRE, IPsec components AH, ESP and IKE.

Key points

  • TCP: connection-oriented, with handshake, sequence numbers, acknowledgements, retransmission, flow control.
  • UDP: connectionless, low overhead, no delivery guarantee.
  • ICMP: error and diagnostic messages (echo, unreachable), no ports.
  • GRE: tunnels other protocols, no encryption.
  • IPsec: AH gives integrity and authentication without encryption, ESP adds encryption, IKE negotiates keys and security associations.

Source: https://www.rfc-editor.org/rfc/rfc4303

Practice questions

Single choice

Which IPsec component provides encryption of the payload?

  1. AH
  2. ESP
  3. IKE
  4. GRE
Show answer

Answer: B. ESP

ESP can encrypt and also authenticate. AH only authenticates and protects integrity, IKE negotiates keys, and GRE is a separate tunneling protocol.

Select all that apply

Which features describe TCP?

  1. Three-way handshake
  2. Sequence numbers and acknowledgements
  3. No delivery guarantee by design
  4. Connectionless operation
  5. Window-based flow control
Show answer

Answer: A. Three-way handshake, B. Sequence numbers and acknowledgements, E. Window-based flow control

Handshake, sequencing with ACKs and windowing are TCP traits. No guarantee and connectionless describe UDP.

True or false

ICMP messages such as ping echo use a TCP or UDP port number.

Show answer

Answer: False

ICMP sits directly on IP and uses message types and codes, not ports.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module