Section 9 & 10 Flashcards
(38 cards)
Protocol Data Units (PDU)
the info used by the different protocols provided in frame segments
Ethernet Frame
FCS, Data, ACK, Sequence, Source Port, Dest Port, Source IP address, Destination IP address, source MAC, Destination MAC
IP Packet
Data, ACK, Sequence, Source Port, Dest Port, Source IP address, Destination IP Address
TCP & UDP
Data, ACK, Sequence, Source Port, Dest Port
TCP
connection Oriented. Internet uses TCP
UDP
Connectionless oriented. One-way communication
TCP 3-way handshake
clients initiate contact with servers with a SYN. Servers send back a SYN/ACK. Then Client sends an ACK to the server
ICMP (Internet Control Message protocol)
works at the IP layer. No port numbers or data. Ex: Ping
IGMP (Internet Group Message Protocol)
Internet layer of TCP/IP model. Provides multicast support. Multicast address always start with 224
Both tracert (Windows) and traceroute (Linux) commands
display the hops through a router to reach a destination.
Using the alternative command “pathping”
can get a quick ping response from the routers.
Bandwidth speed testing
helps verify the upload and download speeds to an individual computer.
Wireshark
protocol analyzer. Allows us to dismantle everything going on in the system. Display the traffic flow of Ethernet frames and can drill down into the frame-viewing various protocols, ports, timelines, and services
Netstat
lists all the open ports and connections on your computer
Netstat commands
netstat -n presents the results numerically, netstat -b shows the executable for every connection, netstat -a shows all the open ports, netstat -r shows the local routing table
HTTP
port 80, HTTPS uses TCP port 443 by default
Web sites host web servers: Web clients access Web servers
Anonymous accounts enable public access to FTP servers
FTP is not an encrypted protocol. SFTP is a more secure FTP. FTP servers listen on port 21 and send data back to the clients on port 20
Traditional email
SMTP (Simple Mail Transfer Protocol) - port 25
IMAP (Internet Message Access Protocol v4) - port 143
POP3 uses port 110
All 3 port numbers are not encrypted
Implementing TLS
IMAP 143 -> 993 encrypted
POP3 110 -> 995 encrypted
SMTP 25 -> 465 encrypted
STARTTLS
IMAP, POP3, SMTP - Port 465
TLS/STARTTLS conflicted with Port 465
STARTTLS changed to port 587
Telnet enables you to access a remote computer.
Telnet runs on TCP port 23
Telnet (unsecure) and SSH (secure) are both terminal emulators
SSH runs on TCP port 22
SSH uses an authentication key
Rlogin is not secure uses port 513 - replaced with SSH
Network Time protocol
NTP runs on port 123
Hundreds of protocols rely on NTP
A system with incorrect time can cause trouble on a network
DHCP Issues
IP reservation- reserve ip addresses for stuff that you dont want to change
Reduce your DHCP scope as much as possible
MAC reservation- can be used to define devices that have top priority for address assignment
Exhausted DHCP Scope- not set enough ip addresses aside for the scope. Coffee shop example
IPAM
keep track of all IP addresses. Automatically create new DHCP scopes, set reservations, generate new blocks of addresses, and can keep your systems running no matter what happens
Domain Name System (DNS)
resolve IP addresses from Fully Qualified Domain Name (FQDN) ex: www.totalsem.com
Typing ipconfig /all will show DNS server information
Computers and DNS servers cache IP address information for a time to enable faster resolution.
Interior DNS
.local to show it’s an internal domain
Authoritative DNS server
lookup zones