From the course: CompTIA Security+ (SY0-701) Cert Prep
Introducing TCP/IP
From the course: CompTIA Security+ (SY0-701) Cert Prep
Introducing TCP/IP
- [Instructor] We use networks every day, but we don't always pause to reflect upon what's happening under the covers to make our networks function properly. As we begin our exploration of network security, let's first talk about the basics of networking and a set of protocols called TCP/IP. TCP/IP is an acronym. It stands for Transmission Control Protocol, TCP, Internet Protocol, IP. TCP and IP are two of the main protocols that make up all modern networks. The internet protocol is responsible for routing information across networks. Now, the name is a little deceiving because it's not just used on the internet. It's also used on the networks in your home and office. The main responsibilities of the internet protocol are providing an addressing scheme, known as IP addressing, that uniquely identifies computers on a network and delivering information in chunks known as packets from their source to the correct destination. IP is known as a network layer protocol. IP supports transport layer protocols that have higher level responsibilities. The two main transport layer protocols are the Transmission Control Protocol, TCP, and the User Datagram Protocol, UDP. TCP is responsible for the majority of network traffic. It's a connection-oriented protocol, meaning that it establishes connections between two systems before data is transferred. TCP is also a reliable protocol that guarantees delivery by having the destination system acknowledge receipt of every packet. TCP's reliability makes it widely used for applications that require this guaranteed delivery, such as email and websites. Because TCP is connection-oriented, systems go through a handshaking process to create a connection before transmitting data. This process is known as the three-way handshake. TCP packets include special flags that identify packets used in this handshaking process. The SYN flag identifies packets that are requesting a new connection. While the FIN flag identifies packets that are requesting the closure of an existing connection. The ACK flag is used to acknowledge a SYN or FIN request. Let's look at that three-way handshaking process in more detail. In the first step, the system originating the connection sends a packet with the SYN flag set. This indicates that the system would like to open a connection to the destination system. The destination system receives this packet and replies with another packet that does two things. It acknowledges the original connection request and then asks to open a reciprocal connection in the other direction. This packet has both the SYN and ACK flag set. Then finally, the original system that started the connection receives the SYN/ACK packet and sends a final ACK packet to the system, completing the reciprocal connection. Once this three-packet sequence completes, the connection is open, and the systems may begin exchanging data. Now, the User Datagram Protocol, on the other hand, is a much more lightweight protocol that doesn't use the three-way handshake because it is not connection-oriented. Systems basically send data off to each other blindly, hoping that it is received on the other end. UDP does not perform acknowledgements, and therefore cannot guarantee delivery. It is often used for applications like voice and video where guaranteed delivery of every packet isn't essential. Networking professionals describe these protocols using a model known as the Open Systems Interconnection or OSI model. The model describes networks as having seven different layers. The first, the physical layer, is responsible for sending bits over the network using wires, radio waves, fiber optics, and other means. The second layer, the data link layer, transfers data between two nodes connected to the same physical network. The third layer, the network layer, expands networks to many different nodes. The internet protocol works at this layer. The fourth layer, the transport layer, creates connections between systems, and transfers data in a reliable manner. TCP and UDP are transport layer protocols. Above them, the fifth layer is called the session layer. This layer manages the exchange of communications between systems. The sixth layer, the presentation layer, translates data so that it may be transmitted on a network. This layer describes how to represent a character in terms of bits and performs encryption and decryption. And then finally, the seventh layer, the application layer, determines how users interact with data using web browsers or other client applications. This OSI model is a great reference to help you understand how networks function, and you should be familiar with it as you prepare for the exam.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
The goals of information security2m 11s
-
Authentication, authorization, and accounting (AAA)3m 31s
-
Categorizing security controls5m 11s
-
Conducting a gap analysis2m 34s
-
Zero Trust5m 32s
-
Physical access control4m 40s
-
Physical security personnel2m 12s
-
Deception technologies2m 55s
-
Change management6m 2s
-
-
-
Trust models2m 52s
-
PKI and digital certificates4m 5s
-
Hash functions7m 38s
-
Digital signatures3m 50s
-
Digital signature standard1m 27s
-
Create a digital certificate4m 55s
-
Revoke a digital certificate1m 28s
-
Certificate stapling2m 29s
-
Certificate authorities6m 13s
-
Certificate subjects3m 35s
-
Certificate types2m 55s
-
Certificate formats2m 30s
-
-
-
Preventing SQL injection4m 25s
-
Understanding cross-site scripting3m 17s
-
Request forgery4m 8s
-
Overflow attacks3m 21s
-
Explaining cookies and attachments4m 7s
-
Session hijacking4m 8s
-
Code execution attacks2m 43s
-
Privilege escalation1m 56s
-
OWASP Top Ten4m 45s
-
Application security4m 3s
-
Defending against directory traversal3m 4s
-
Race condition vulnerabilities2m 13s
-
-
-
Restricting network access2m 8s
-
Network access control4m 30s
-
Router configuration security4m 5s
-
Switch configuration security3m 42s
-
Maintaining network availability2m 32s
-
Network monitoring3m 41s
-
SNMP2m 54s
-
Isolating sensitive systems2m
-
Zero trust networking4m 9s
-
Secure access service edge (SASE)3m 50s
-
-
-
Operating system security8m 44s
-
Malware prevention7m 25s
-
Application management3m 46s
-
Host-based network security controls7m 44s
-
File integrity monitoring4m 9s
-
Data loss prevention5m 17s
-
Data encryption5m 39s
-
Hardware and firmware security5m 24s
-
Linux file permissions4m 2s
-
Web content filtering1m 47s
-
-
-
What is vulnerability management?5m 2s
-
Identify scan targets4m 24s
-
Scan configuration5m 20s
-
Scan perspective4m 24s
-
Security Content Automation Protocol (SCAP)2m 27s
-
Common Vulnerability Scoring System (CVSS )3m 31s
-
Analyzing scan reports4m 37s
-
Correlating scan results2m 20s
-
Vulnerability response and remediation2m 14s
-
-
-
Authentication factors3m 26s
-
Multifactor authentication2m 17s
-
Something you have4m 24s
-
Password policy4m 19s
-
Password managers2m 3s
-
Passwordless authentication3m 23s
-
Single sign-on and federation3m 9s
-
Kerberos and LDAP5m 18s
-
SAML2m 35s
-
OAUTH and OpenID Connect2m 55s
-
Certificate-based authentication5m 25s
-