1.1 - Ports and Protocols Flashcards
TCP and UDP (3)
- Encapsulated inside IP protocol
- OSI Layer 4 (transport)
- Multiplexing, different apps at same time
TCP (3)
- Reliable
- Flow control, the receiver can manage how much data is sent
- 3 way handshake
UDP (3)
- Connection less
- No open or close
- No flow control, sender determines amount of data sent
Non-Ephemeral Ports (2)
- Permanent ports
- 0-1023
Ephemeral Ports (2)
- Temporary port numbers
- 1024-65535
ICMP - Internet Control Message Protocol (3)
- Protocol carried by IP protocol
- “Text messaging” for network devices
- Devices can request and reply to admin requests, “hey you there?” “Yes, I’m here”.
Telnet (6)
Telecommunication network
- TCP/23
- Provides authentication
- Log into devices remotely
- Console access
- Not encrypted
SSH (3)
Secure Shell
- TCP/22
- Same as Telnet but encrypted
DNS (2)
Domain Name System
- UDP/53
SMTP (5)
Simple Mail Transfer Protocol
- TCP/25
- Sending only
- Server to server
- Device to server
SFTP (3)
Secure File Transfer Protocol
- TCP/22
- Encrypted, using SSH (uses same port)
FTP (5)
File Transfer Protocol
- TCP/20, Active mode data
- TCP/21, Control
TFTP (4)
Trivial File Transfer Protocol
- UDP/69
- No authentication
- Only read/write files
DHCP (5)
Dynamic Host Configuration Protocol
- UDP/67, UDP/68
- Requires DCHP server, can be in router or server
- Can reserve addresses
HTTP (2)
- TCP/80
- Web server communication
HTTPS (1)
-TCP/443
SNMP (3)
Simple Network Management Protocol
- UDP/161
- Gather stats from network devices
RDP (1)
TCP/3389
NTP (2)
Network Time Protocol
- UDP/123
SIP (5)
Session Initiation Protocol
- TCP/5060, TCP/5061
- VOIP, call…ring…hang up
- Video conferencing
SMB (3)
Server Message Block
Also, CIFS - Common Internet File System
- TCP/445
POP3 (3)
Post Office Protocol
- TCP/110
- Receiving emails
IMAP 4 (3)
Internet Message Access Protocol
- TCP/143
- Multiples inboxes at the same time
LDAP (3)
Lightweight Directory Access Protocol
- TCP/389
- Store and retrieve into in a network directory