Protocols Flashcards
HTTP/s
Hypertext transfer protocol (secure)
Transfer information in hypertext format between client and server
Ideal for websites
HTTP default port 80
HTTPS default port 443
FTP / sFTP / TFTP /SMB
Transfers files between client and server
FTP = File Transfer Protocol
sFTP = secure File Transfer Protocol
TFTP = trivial File Transfer Protocol
SMB = Server Message Block
FTP default ports: 20,21
sFTP default port: 22 (ssh)
TFTP default port: 69
SMB default port : 445
What is TFTP used for
For transfering small files without having to worry about authentication or firewalls
POP3 / IMAP / SMTP
To transfer emails from server to client POP3, IMAP
To transfer emails from client to server, SMTP
POP = post office protocol
IMAP = internet message access protocol
SMTP = simple mail transfer protocol
default ports:
POP3: 110/995 (encrypted)
IMAP: 143/993 (encrypted)
SMTP: 25/465 (encrypted)
LDAP / LDAPs
Lightweight Directory Access Protocol
Used for authentication
LDAP 389
LDAPs 636
DHCP
Dynamic Host Configuration Protocol
typically the network access point has a DHCP server
Assigns an IP address, subnet Mask, default Gateway, DNS server to device when it connects
How to find information assigned to pc by DHCP server?
ipconfig
How to clear information automatically assigned to pc by DHCP server
ipconfig /release
ipconfig /renew
DNS
Domain Name Server
translates domain names to ip addresses
How to find the configured DNS server on a client?
ipconfig /all
How to find the IP address of a domain name?
nslookup [domain name]
NTP
Network Time Protocol
Utilizes UCT
Used to sync time across devices
Telnet SSH
Network management protocols
Used for accessing and configuring devices remotely
SSH is encrypted
Telnet is clear text
Ports
SSH: 22
Telnet: 23
Tools:
Putty
Netcat
SNMP
Network managment protocol
Uses SNP server to collect information and statistics about devices on a network
RDP
Network management protocol
Remote desktop protocol
Tools:
remote desktop
Port:
3389