SECTION 4 : TCP/IP MODEL Flashcards
How many layers in the TCP/IP model? And what is their names ?
Four.
Layer 5-6-7 are smashed together to form the application layer.
The transport layer is the same.
The network layer becomes the internet layer.
Datalink and physical are called the network interface layer.
Most modern computer networks are TCP/IP based.
What is the nerwork interface layer ?
Describes how to transmit bits across a network and déterminés how the network medium is going to be used.
What is the internet layer ?
Where data is taken and packaged into IP datagrams. IP, IMCP, ARP and reverse ARP.
What is the transport layer ?
Defines the level of service and the status of the connection being used by TCP UDP or RTP.
What is the application layer ?
Dictates how programs are going to interface with the transport layer by conducting session management.
Layer 5-6-7
HTTP, Telnet, FTP, SSH, SNMP, DNS, SMTP, SSL/TLS
What is a port ?
A logical opening on a system representing a service or application that’s listening and waiting for traffic.
It’s a room of a house (IP adress)
How many ports ? And How many groupes ?
0 —> 65.535
Well-known and réserved ports (FTP,
25, 80) : 0 —> 1024
Ephemeral ports : 1024 —> 65.535
How does data transfer works works when it comes to ports ?
If we want to transfer data to a website we open port 49.163 and go to an IP port 80. These are source and destination. Because this is default port. The website will reverse the process.
Thé port 80 will always be opened.
What is an IP v4 packet ?
Consists of a source address, destination address, IP flags and protocol (TCP/UDP) No need to memorize a full IP header.
Compare UDP and TCP header
TCP header (40 bytes) whereas UDP is 8 bytes.
Both have source and destination port. But UDP has much less information (only checksum) that ex plains why UDP is faster.
What is FTP ?
Operates on port 20 and 21 and provides insecure file transfers.
Unencrypted.
What is SSH ?
Operates on port 22 and provides secure remote control of another machine using a text-based environment.
You use a command shell and it is a cryptographic network protocol.
SSH is for secure shell.
What is SFTP ?
Secure FTP.
Port 22.
Provides secure file transfers.
What is Telnet ?
Provides insecure remote control of another machine using a text-based envieonement.
Port 23
Considered insecure and not to use on the internet.
What is SMTP ?
Simple mail transfer protocol. Port 25
Provides the ability to send emails over the network. Old protocol.,
What is DNS ?
Port 53.
Domain Name System convert domain names to IP addresses and inversely.
Really important.