Public Write-ups
  • 💻Lab Write-ups
    • Who is Space C4det
  • eJPT
    • eJPT Notes
      • Assessment Methodologies
        • Information Gathering
          • Introduction To Information Gathering
          • Passive and Active Information Gathering
        • Footprinting & Scanning
        • Enumeration
        • Vulnerability Assessment
  • Blue Team Labs Online
    • Remote Desktop Protocol (RDP)
    • 📝Phishy V1 BTLO
    • BITS (IN PROGRESS)
  • TCM Security Notes
    • TCM Security Notes
      • Viewing, Creating, and Editing Files
      • Users and Privileges
      • sudo and other commands
      • The OSI Model
      • Scripting with Bash
      • TCP, UDP, and the Three way Handshake
      • Common Network Commands
      • Installing and Updating Tools
      • IP Addresses
Powered by GitBook
On this page
  1. TCM Security Notes
  2. TCM Security Notes

TCP, UDP, and the Three way Handshake

TCP (Transmission Control Protocol) Connection oriented protocol UDP (User Datagram Protocol) Connection-less protocol

TCP is better used for reliability UDP is better used for stuff like DNS, Streaming, Vo-IP

Scanning is important Most commonly scanned protocol (TCP)

Three-way Handshake SYN (hello) SYN ACK (response, hey SYN) ACK (good to go, handshake established)

To connect to port 443 on a website SYN packet is sent to the website (Hey i want to connect to you on port 443) If port 443 is open and available for connection Web server responds with SYN ACK When you want to establish connection, ACK is sent

PreviousScripting with BashNextCommon Network Commands

Last updated 3 years ago