The Open Systems Interconnection (OSI) model describes seven layers that computer systems use to communicate over a network.
Layer 1: Physical Layer
It represents the electrical and physical representation of the data connection / system.
When a networking problem occurs, many networking pros go right to the physical layer to check that all of the cables are properly connected.
It is responsible for the actual physical connection between the devices. The physical layer contains information in the form of bits.
Layer 2: Data Link Layer
The data link layer is responsible for the node to node delivery of the message. The main function of this layer is to make sure data transfer is error-free from one node to another, over the physical layer.
It is IP address understandable layer, which helps you to define logical addressing so that any endpoint should be identified.
The layer also helps you implement routing of packets through a network.
Layer 3: Network Layer
Network layer works for the transmission of data from one host to the other located in different networks. It also takes care of packet routing.
The sender & receiverβs IP address are placed in the header by the network layer.
Layer-management protocols that belong to the network layer are:
The Transport Layer deals with the coordination of the data transfer between end systems and hosts. How much data to send, at what rate, where it goes, etc.
The data in the transport layer is referred to as Segments.
Two examples of the Transport Layer are the UDP (User Datagram Protocol) and TCP (Transmission Control Protocol) that is build on top of the Internet Protocol (IP model), which work at layer 3.
Layer 5: Session Layer
This layer is responsible for establishment of connection, maintenance of sessions, authentication and also ensures security.
Important function of Session Layer:
1. It establishes, maintains, and ends a session. 2. Session layer enables two systems to enter into a dialog 3. It also allows a process to add a checkpoint to steam of data.
Layer 6: Presentation Layer
The presentation layer is responsible for ensuring that the data is understandable for the end system or useful for later stages. It translates or formats data based on the applicationβs syntax or semantics.
The functions of the presentation layer are :
1. Translation : For example, ASCII to EBCDIC.
2. Encryption/ Decryption : Data encryption translates the data into another form or code.
3. Compression: Reduces the number of bits that need to be transmitted on the network.
Layer 7: Application Layer
At this layer the user directly interacts with a software application, so it is closest to the end user. When the user wants to transmit files or pictures, this layer interacts with the application communicating with the nw.
Examples: Web Browsers
The functions of the Application layer are :
1. Network Virtual Terminal 2. FTAM-File transfer access and management 3. Mail Services 4. Directory Services
Some common protocols include:
1. POP3 or SMTP for emails 2. FTP for emails 3. Telnet for controlling remote devices
Retweet the thread if it's useful.
β’ β’ β’
Missing some Tweet in this thread? You can try to
force a refresh
π 7-Day Docker Learning Series β Day 7: Docker Security Best Practices π‘οΈ
Welcome to the final day of our Docker Learning Series! Today, weβll focus on Docker Security β essential for protecting your containers, images, and infrastructure.
πΉ Why is Docker Security Important?
β’ Containers share the host kernel π₯οΈ
β’ Misconfigurations can expose sensitive data π
β’ Unverified images can introduce vulnerabilities β οΈ
π 7-Day Docker Learning Series β Day 6: Docker Compose β Managing Multi-Container Applications π οΈ
Welcome to Day 6 of our Docker Learning Series! Today, weβll learn about Docker Compose, a powerful tool to define and manage multi-container applications using a simple YAML file.
πΉ Why Use Docker Compose?
π§΅π (Thread)
1οΈβ£What is Docker Compose?π
Docker Compose is a tool that allows you to define & run multi-container apps using a single YAML config file (docker-compose.yml).
β Helps manage complex applications
β Simplifies multi-container setups
β Automates container startup & networking