Docsity

notes for multicavity klystron, Lecture notes of Microwave Engineering and Acoustics

Partial preview of the text

Download notes for multicavity klystron and more Lecture notes Microwave Engineering and Acoustics in PDF only on Docsity!

1

Computer Networks

UNIT V- APPLICATION LAYER AND

NETWORK SECURITY

Objectives

  • (^) The application layer enables the user, whether human or software, to access the network.
  • (^) It provides user interfaces and support for services such as
    • (^) electronic mail,
    • (^) file access and transfer,
    • (^) access to system resources,
    • (^) surfing the world wide web,
    • (^) network management.

Client-Server Model

  • (^) There are several ways that a computer can ask for the services of another computer the most common is the client-server model.
  • (^) Relationship
    • (^) The purpose of a network is to provide services to users
    • (^) a user at local site wants to receive a service from a computer at a remote site.
    • (^) Two computers connected by an internet, must each run a program one to provide a service and the other to request a service.

Client-server model

Client-Server Model

  • (^) Client application program running on the local machine requests a service from another application program – server – running on the remote machine.
  • (^) Commonly server provides service to any client, not a particular client
  • (^) Generally, a client application program that requests a service should run only when it is needed.
  • (^) A server program providing service should run all the time, as it does not know when its services will be needed.

ELECTRONIC MAIL

  • (^) There are two popular applications for exchanging information. - (^) Electronic mail exchanges information between people. - (^) File transfer exchanges files between computers.

Architecture

  • (^) To explain the architecture of e-mail, we give four scenarios
  • (^) First Scenario
    • (^) In the first scenario, the sender and the receiver of the e- mail are users (or application programs) on the same system;
    • (^) they are directly connected to a shared system.
    • (^) When Alice, a user, needs to send a message to Bob, another user, Alice runs a user agent (UA) program to prepare the message and store it in Bob's mailbox.
    • (^) Bob can retrieve and read the contents of his mailbox at his convenience, using a user agent.

First Scenario

Second Scenario

Third Scenario

  • (^) In the third scenario, Bob is directly connected to his system.
  • (^) Alice, however, is separated from her system.
  • (^) Either Alice is connected to the system via
    • (^) a point-to-point WAN,
    • (^) such as a dial-up modem,
    • (^) a DSL, or a cable modem;
  • (^) or she is connected to a LAN in an organization that uses one mail server for handling e-mails.

Fourth Scenario

  • (^) In the fourth and most common scenario, both alice and Bob are connected to his mail server by a
  • (^) WAN or a LAN. After the message has arrived at Bob's mail server, Bob needs to retrieve it.
  • (^) Here, we need another set of client/server agents, which we call message access agents (MAAs).
  • (^) Bob uses an MAA client to retrieve his messages.
  • (^) The client sends a request to the MAA server, which is running all the time, and requests the transfer of the messages.
  • (^) When both sender and receiver are connected to the mail server via a LAN or a WAN, we need two VAs, two pairs of MTAs (client and server), and a pair of MAAs (client and server).
  • (^) This is the most common situation today.

Sending Mail

  • (^) To send mail the user creates mail that looks very similar to postal mail
  • (^) It has envelope and a message.
  • (^) Envelope:
    • (^) the envelope usually contains the sender address, the receiver address and other information
  • (^) Message:
    • (^) Contains header and body.
    • (^) The header of the message define the sender, the receiver, the subject of the message
    • (^) The body of the message contains actual information to be read by the recipient.

Format of an email