Docsity

Networks security basics, Cheat Sheet of Computer Networks

Partial preview of the text

Download Networks security basics and more Cheat Sheet Computer Networks in PDF only on Docsity!

Communication

Protocols

Prof. Dr. Pardeep

Kumar

Communication Protocols

Protocol is a set of rules that govern all aspect of data communication between computers on a network. It lets connected devices to communicate, despite the differences that exist in their structure, processes or design. Network protocols play an important part in digital communications. These rules include guidelines that regulate the following characteristics of a network: access method, allowed physical topologies, types of cabling, and speed of data transfer. A protocol defines what, how, when it communicated.

Elements of protocol

The key elements of a protocol

are syntax, semantics and timing.

i) Syntax

◦The structure or format of the data.

◦Eg. A simple protocol;

64 bits 8 bits 8 bits Sender address Receiver address data

Elements of protocol

ii) Semantics

◦Refers to the meaning of each

section of bits.

◦how is a particular pattern to be

interpreted, and what action is to be

taken based on that interpretation.

Eg. Does an address identify the

route to be taken or the final of

7 There are hundreds of such protocols available, we will go through some of them

TCP

TCP is the abbreviation for Transmission

Control Protocol.

This popular protocol is meant for

communicating over a network.

Any message is divided by it into series of

packets, which get sent from a source to

the destination.

At the destination these get reassembled.

8

UDP

It stands for User Datagram Protocol
UDP enables applications to send messages (datagrams),
to the hosts on an IP network.
It uses a connectionless communication model. UDP is an
unreliable delivery service, it does not require receiving
protocols to acknowledge the receipt of the packet.
The advantage of UDP is; it does not concentrate on
establishing a connection, it can transmit more
information in a smaller amount of time than TCP.
Hence it aids in creating such links between various
applications, which are loss-tolerant and have low latency.

10

Domain Name System

Every computer on the internet has a unique address

(like a unique phone number) called an IP address

137.66.125.5 - such numbers are difficult to remember

Domain Naming Service (DNS), an Internet protocol and

distributed database, provides more English like names

for IP addresses.

DNS names are easy to understand, for example:

www.microsoft.com equates to198.105.232.

How does DNS work?

At the heart of DNS are13 special computers distributed around the world containing the same information – these are called root servers – maintained by ICANN. These root servers contain the IP addresses of all the Top Level Domains (TLD) registries. A TLD registry contains all the information about every top level domain names; for example, .edu.au, .org, .com.uk etc are examples of TLD. There are also thousands of other computers scattered around the world – typically located with ISPs or other network suppliers –called Domain Name Resolvers. They are used to resolve the remaining parts of the domain name.

Resolving a domain name

So … you enter a URL (e.g. www.csu.edu.au) This request is sent to a local resolver (e.g. at tgp.com.au) This local resolver splits the request and knows where to find the edu.au register and therefore sends the whole URL to one of the 13 root servers. The register responds with the IP address for csu.edu.au Then the local resolver queries the csu.edu.au register to find the final IP address for www.csu.edu.au

Structure of Internet host

names

Example : http://lorenz.mur.csu.edu.au The process is to read backwards: au = Australia edu - educational institution csu - name of the institution mur - a physical location indication Murray lorenz - actual machine name

FTP

FTP is the abbreviation for File Transfer

Protocol, and it serves as a standard

communication protocol for

transferring files from a server to a

client, over a network.

It is built on the architecture of a

client-server model.

17

SMTP

SMTP is the abbreviation for Simple Mail Transfer Protocol. It is an Internet standard communication protocol for the transmission of electronic mail. SMTP is used by mail servers and by other message transfer agents for sending and receiving mail messages. 19

HTTP

Hypertext Transfer Protocol. It is used for transferring a hypertext between two systems or among multiple systems. An application layer protocol that is meant for collaborative, distributed information systems of hypermedia. HTTP acts as a request-response protocol in the client-server model. accessed by using a browser Uniform Resource Locator (URL) - a specific address to a particular resource. protocol://host/directory/resource 20