Sunteți pe pagina 1din 13

What is the OSI model?

The Open Systems Interconnection (OSI) model is a conceptual model created by the
International Organization for Standardization which enables diverse communication
systems to communicate using standard protocols. In plain English, the OSI provides
a standard for different computer systems to be able to communicate with each
other.

The OSI model can be seen as a universal language for computer networking. It’s
based on the concept of splitting up a communication system into seven abstract
layers, each one stacked upon the last.

Each layer of the OSI model handles a specific job and communicates with the layers above
and below itself. DDoS attacks target specific layers of a network connection; application
layer attacks target layer 7 and protocol layer attacks target layers 3 and 4.

Why does the OSI model matter?

Although the modern Internet doesn’t strictly follow the OSI model (it more closely
follows the simpler Internet protocol suite), the OSI model is still very useful for
troubleshooting network problems. Whether it’s one person who can’t get their
laptop on the Internet, or a web site being down for thousands of users, the OSI
model can help to break down the problem and isolate the source of the trouble. If
the problem can be narrowed down to one specific layer of the model, a lot of
unnecessary work can be avoided.

7. The Application Layer

This is the only layer that directly interacts with data from the user. Software
applications like web browsers and email clients rely on the application layer to
initiate communications. But it should be made clear that client software applications
are not part of the application layer; rather the application layer is responsible for the
protocols and data manipulation that the software relies on to present meaningful
data to the user. Application layer protocols include HTTP as well as SMTP (Simple
Mail Transfer Protocol is one of the protocols that enables email communications).

Acesta este singurul strat care interacționează direct


cu datele de la utilizator. Aplicațiile software precum
browserele web și clienții de e-mail se bazează pe
stratul de aplicație pentru a iniția comunicări. Dar ar
trebui clarificat faptul că aplicațiile software client nu
fac parte din stratul aplicației; mai degrabă stratul de
aplicație este responsabil pentru protocoalele și
manipularea datelor pe care se bazează software-ul
pentru a prezenta utilizatorilor date semnificative.
Protocoalele de nivel ale aplicației includ atât HTTP
cât și SMTP (Simple Mail Transfer Protocol este
unul dintre protocoalele care permit comunicațiile
prin e-mail).

This is the last and the topmost layer of the OSI model. This layer provides an
interface between application programs running in system and network. If any
application needs to access any resource that is available in remote system, it
interacts with this layer. Then this layer encompasses the protocols and services that
the application will employ to access that resources.

Acesta este ultimul și cel mai de sus strat al


modelului OSI. Acest strat oferă o interfață între
programele de aplicații care rulează în sistem și
rețea. Dacă orice aplicație trebuie să acceseze
orice resursă disponibilă în sistemul la distanță,
ea interacționează cu acest strat. Apoi, acest
strat cuprinde protocoalele și serviciile pe care
aplicația le va folosi pentru a accesa resursele
respective.

Top layer of OSI model is application layer. It provides the protocols and services that are
required by the network-aware applications to connect with the network. FTP, TFTP, POP3,
SMTP and HTTP are the few examples of standards and protocols used in this layer.

Stratul superior al modelului OSI este stratul de aplicație. Oferă protocoalele și serviciile
necesare aplicațiilor care conțin rețeaua pentru a se conecta la rețea. FTP, TFTP, POP3, SMTP
și HTTP sunt câteva exemple de standarde și protocoale utilizate în acest strat.
6. The Presentation Layer

This layer is primarily responsible for preparing data so that it can be used by the
application layer; in other words, layer 6 makes the data presentable for applications
to consume. The presentation layer is responsible for translation, encryption, and
compression of data.

Two communicating devices communicating may be using different encoding


methods, so layer 6 is responsible for translating incoming data into a syntax that the
application layer of the receiving device can understand.

If the devices are communicating over an encrypted connection, layer 6 is


responsible for adding the encryption on the sender’s end as well as decoding the
encryption on the receiver's end so that it can present the application layer with
unencrypted, readable data.

Finally the presentation layer is also responsible for compressing data it receives
from the application layer before delivering it to layer 5. This helps improve the
speed and efficiency of communication by minimizing the amount of data that will
be transferred.

Stratul de prezentare este responsabil pentru


traducerea, criptarea și compresia datelor.

Două dispozitive de comunicare care comunică pot


folosi diferite metode de codificare, astfel încât
stratul 6 este responsabil pentru traducerea datelor
primite într-o sintaxă pe care stratul de aplicație al
dispozitivului de recepție o poate înțelege.

Dacă dispozitivele comunică printr-o conexiune


criptată, stratul 6 este responsabil pentru
adăugarea criptării la capătul expeditorului,
precum și decodarea criptării la capătul
receptorului, astfel încât acesta să poată
prezenta stratul aplicației cu date necriptate,
lizibile.

În cele din urmă, stratul de prezentare este, de


asemenea, responsabil pentru comprimarea datelor pe
care le primește de la stratul de aplicație înainte de a
le livra la stratul 5. Acest lucru ajută la îmbunătățirea
vitezei și eficienței comunicării prin minimizarea
cantității de date care vor fi transferate.

Convert, compress and encrypt are the main functions which presentation layer
performs in sending computer while in receiving computer there are reconvert,
decompress and decrypt. ASCII, BMP, GIF, JPEG, WAV, AVI, and MPEG are the few
examples of standards and protocols which work in this layer.
5. The Session Layer

This is the layer responsible for opening and closing communication between the
two devices. The time between when the communication is opened and closed is
known as the session. The session layer ensures that the session stays open long
enough to transfer all the data being exchanged, and then promptly closes the
session in order to avoid wasting resources.

The session layer also synchronizes data transfer with checkpoints. For example, if a
100 megabyte file is being transferred, the session layer could set a checkpoint every
5 megabytes. In the case of a disconnect or a crash after 52 megabytes have been
transferred, the session could be resumed from the last checkpoint, meaning only 50
more megabytes of data need to be transferred. Without the checkpoints, the entire
transfer would have to begin again from scratch.
Acesta este stratul responsabil pentru deschiderea și închiderea comunicării
dintre cele două dispozitive. Timpul dintre deschiderea și închiderea
comunicării este cunoscut sub numele de sesiune. Stratul de sesiune se asigură
că sesiunea rămâne deschisă suficient de mult timp pentru a transfera toate
datele schimbate, apoi închide prompt sesiunea pentru a evita risipa de resurse.

The session layer is responsible establishing, managing, and terminating


communications between two computers. RPCs and NFS are the examples of the
session layer.

Stratul de sesiune este responsabil de stabilirea, gestionarea și terminarea


comunicațiilor între două computere. RPC-urile și NFS sunt exemplele stratului de
sesiune.

4. The Transport Layer

Layer 4 is responsible for end-to-end communication between the two devices. This
includes taking data from the session layer and breaking it up into chunks called
segments before sending it to layer 3. The transport layer on the receiving device is
responsible for reassembling the segments into data the session layer can consume.

The transport layer is also responsible for flow control and error control. Flow control
determines an optimal speed of transmission to ensure that a sender with a fast
connection doesn’t overwhelm a receiver with a slow connection. The transport layer
performs error control on the receiving end by ensuring that the data received is
complete, and requesting a retransmission if it isn’t.

The Transport Layer


The transport layer is the fourth layer of OSI model. It provides following
functionality: -

Segmentation
On sending computer, it breaks data stream into smaller pieces before transmission.
Each piece is known as segment and the process of breaking data into smaller pieces
is known as segmentation. On receiving computer, it joins all segments back in data
stream. So the upper layers receive data in the format in which it was sent.

Data transportation
This layer establishes a logical connection between sending system and receiving
system and uses that connection to provide end-to-end data transportation. For data
transportation, it mainly uses two protocols; TCP and UDP.

TCP protocol is used for reliable data transportation. TCP is a connection-oriented


protocol. UDP protocol is used for unreliable data transportation. UDP is a
connection-less protocol.

Main difference between a connection-less and connection-oriented protocol is that


a connection-oriented protocol provides reliable data delivery. For reliable data
delivery, it uses several mechanisms such as, three way handshake process,
acknowledgments, sequencing and flow control.

Multiplexing
Through the use of port numbers, this layer also provides connection multiplexing.
Connection multiplexing allows multiple applications to send and receive data
simultaneously.

Stratul 4 este responsabil pentru comunicarea de la


un capăt la altul între cele două dispozitive. Aceasta
include preluarea datelor din stratul de sesiune și
divizarea lor în bucăți numite segmente înainte de a
le trimite în stratul 3. Stratul de transport de pe
dispozitivul de recepție este responsabil pentru
reasamblarea segmentelor în date pe care stratul de
sesiune le poate consuma.
Stratul de transport este, de asemenea, responsabil
pentru controlul debitului și controlul erorilor.
Controlul debitului determină o viteză optimă de
transmisie pentru a se asigura că un expeditor cu o
conexiune rapidă nu copleșește un receptor cu o
conexiune lentă. Stratul de transport efectuează
controlul erorilor la capătul de recepție, asigurându-
se că datele primite sunt complete și solicită o
retransmisie, dacă nu este.

Main functionalities of transport layer are segmentation, data transportation and


connection multiplexing. For data transportation, it uses TCP and UDP protocols. TCP
is a connection-oriented protocol. It provides reliable data delivery.
3. The Network Layer

The network layer is responsible for facilitating data transfer between two different
networks. If the two devices communicating are on the same network, then the
network layer is unnecessary. The network layer breaks up segments from the
transport layer into smaller units, called packets, on the sender’s device, and
reassembling these packets on the receiving device. The network layer also finds the
best physical path for the data to reach its destination; this is known as routing.

Stratul de rețea este responsabil pentru facilitarea


transferului de date între două rețele diferite. Dacă
cele două dispozitive care comunică sunt pe aceeași
rețea, atunci stratul de rețea nu este necesar. Stratul
de rețea împarte segmente din stratul de transport în
unități mai mici, numite pachete, pe dispozitivul
expeditorului și reasamblând aceste pachete pe
dispozitivul receptor. Stratul de rețea găsește, de
asemenea, cea mai bună cale fizică pentru ca datele
să ajungă la destinație; aceasta este cunoscută sub
numele de rutare.

Defining logical addresses and finding the best path to reach the destination are the
main functions of this layer. Router works in this layer. Routing also takes place in
this layer. IP, IPX and AppleTalk are the examples of this layer.
Definirea adreselor logice și găsirea celei mai bune
căi pentru a ajunge la destinație sunt principalele
funcții ale acestui strat. Routerul funcționează în
acest strat. Rutare are loc și în acest strat. IP, IPX și
AppleTalk sunt exemplele acestui strat.

2. The Data Link Layer

The data link layer is very similar to the network layer, except the data link layer
facilitates data transfer between two devices on the SAME network. The data link
layer takes packets from the network layer and breaks them into smaller pieces called
frames. Like the network layer, the data link layer is also responsible for flow control
and error control in intra-network communication (The transport layer only does flow
control and error control for inter-network communications).

Defining physical addresses, finding host in local network, specifying standards and
methods to access the media are the primary functions of this layer. Switching takes
place in this layer. Switch and Bridge work in this layer. HDLC, PPP and Frame Relay
are the examples of this layer.
Stratul de legătură de date este foarte similar cu
stratul de rețea, cu excepția stratului de legătură de
date care facilitează transferul de date între două
dispozitive din aceeași rețea. Stratul de legătură de
date preia pachete din stratul de rețea și le împarte în
bucăți mai mici numite cadre. La fel ca stratul de
rețea, stratul de legătură de date este, de asemenea,
responsabil pentru controlul fluxului și controlul
erorilor în comunicațiile intra-rețea (Stratul de
transport face doar controlul fluxului și controlul
erorilor pentru comunicațiile inter-rețea).
Definirea adreselor fizice, găsirea gazdei în rețeaua
locală, specificarea standardelor și metodelor de
accesare a mass-media sunt funcțiile principale ale
acestui strat. Comutarea are loc în acest strat. Switch
și Bridge funcționează în acest strat. HDLC, PPP și
Frame Relay sunt exemplele acestui strat.
1. The Physical Layer

This layer includes the physical equipment involved in the data transfer, such as the
cables and switches. This is also the layer where the data gets converted into a bit
stream, which is a string of 1s and 0s. The physical layer of both devices must also
agree on a signal convention so that the 1s can be distinguished from the 0s on both
devices.

Acest strat include echipamentul fizic implicat în transferul de date, cum ar fi


cablurile și comutatoarele. Acesta este, de asemenea, stratul în care datele sunt
convertite într-un flux de biți, care este un șir de 1s și 0s. Stratul fizic al ambelor
dispozitive trebuie, de asemenea, să cadă de acord asupra unei convenții de
semnal, astfel încât 1 să poată fi distins de 0 pe ambele dispozitive.

The Physical Layer mainly defines standards for media and devices that are used to
move the data across the network. 10BaseT, 10Base100, CSU/DSU, DCE and DTE are
the few examples of the standards used in this layer.

Stratul fizic definește în principal standardele pentru


mass-media și dispozitive care sunt utilizate pentru a
muta datele prin rețea. 10BaseT, 10Base100, CSU /
DSU, DCE și DTE sunt câteva exemple de standarde
utilizate în acest strat.

S-ar putea să vă placă și