Domain 2: Networking Flashcards
IP
Internet Protocol
IP Payloads
TCP (Transmission Control Protocol)
UDP (User Datagram Protocol)
“In the clear”
Not encrypted
How does TCP work?
Requires formal setup/teardown process to establish protocol. Flow control so one side doesn’t get data too fast.
-called reliable system because data is confirmed to reach destination.
Examples of TCP
HTTPS and SSH
How does UDP work?
No formal setup process, for real time communication.
-called unreliable system as there’s no conformation that data was sent/received.
Examples of UDP
DHCP and TFTP
Multiplexing
Multiple applications at the same time; data signals use the same channel without interference.
IPv4 Sockets
~Server IP address, protocol, Server application port number,.
~Client IP address, protocol, client port number.
Non-Ephemeral Ports
Permanent; ports 0-1023. Usually on a server or service.
Ephemeral Port
Temporary port numbers; ports 1024-65,535. Determined in real time by client.
Most servers use…
Non-Ephemeral ports.
Key fact about ports
Ports are for communication, not security.
Key fact about TCP/UDP using ports
TCP and UDP can use the same port numbers at the same time.
FTP (File Transfer Protocol)
TCP 20/21. File transfer between systems
Telnet
TCP 23; in the clear remote command console access
SSH (Secure Shell)
TCP 22; Encrypted communication for command console
SMTP (Simple Mail Transfer Protocol)
TCP 25; only sending mail, not receiving
DNS (Domain Name System)
UDP 53; converts names to IP addresses. Critical resources
-www.professermesser.com =162.159.246.164
HTTP/HTTPS (Hypertext Transfer Protocol/Secure)
TCP 80: http; web server communication
TCP 443: HTTPS; web server communication + encryption
POP3/IMAP4
both receive emails from email server.
~Post Office Protocol v3 (TCP 110). Basic mail transfer functionality.
~Internet Message Access Protocol v4 (TCP 143). includes management of email inboxes from multiple clients
RDP (Remote Desktop Protocol)
TCP 3389; share desktop control from remote location.
~can connect to entire desktop or application.
~clients for Windows, macOS, Linux, Unix, iPhone, Android, and others
SMB (Server Message Block)
Windows file/printer sharing protocol.
~uses NetBIOS.
NetBIOS name services (nbname)
UDP 137