0% found this document useful (0 votes)
27 views15 pages

5.application Layer

Computer networking

Uploaded by

Deva M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
27 views15 pages

5.application Layer

Computer networking

Uploaded by

Deva M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 15
Q en ¥ = cy a AR —- Ff Te : — j — el Email allowg ig: Message jo \ndude 4 Emo —_ qudio and video . 2A also attows i gent !o One oY move vedpien\s. ie a Shove -and ~ferward \ype of one Message a ee The email Yslem SYShern , ee Email Systeen has fhree! main Compenent = : @ User Agent ' ahviaiaicot © Nessage TWansfex Agent 9 eal © Nessage Access Agent DADE eit async alle | ce ae oO ee ae Ba Archileqtuie ¢°— 055 sil sll cami cia ne an es 7d ale Ota Rls ole ol itl aaa - | Scenonowd & ee oat Receiver ae ie 4 PAGE NO, DATE: gga) eas mene J Ho Sys}ero 3 i Seenavio 97 Sender and Receiver are on kwo different System An this Scenario , the Sender and receiver are users 6n different System .The emai) has to be Sent Grom usey A in one system fo user B im another! Systemi The mail have fo be sent over the internet. Thus we need two User Agent (VAY and tso Message Wranster Agen} (MTA) \Erta Ses, ae +- E ee P = le fe | ee ote Alice ie ae) Bob By = (Gia iF Ret Fe client ver aa) ES i he ake a ey) \ Syslern Syskro Crncal server ) Crnea Server) vomeketsaes a ee IN iL Tain to ee. NIMs vA MTA TATART Cea aig f fie ATA Seivew, —~ ae poe aks i Syke aa SScenasio 4 2 Both Users are ae users. ddan AN oY da when both Sender and ‘receiver. connecte : WAN We need fwo UMsn two pains ehpMth'ss am Poly of TMAA's. — we DATE: Sian NU TAN of WAN 7 7 CAN @% ATS ee =~ eee” te rae f x wan 4 5 ATA berwer La ee Nea a * | (nia cient Se ieee] eee System Syslery + || Use Agent (un) o The Civsk component of an email 1s the User Agent Ay prevides sewice to Fhe usey lo male the Process of sending and vereiving a message easier. BSewwices Provided bg UA Composing message + |, aa RA _user agent helps Ihe sev Compose the mai) message ¥o be sen} out: Most usey agent provide Jemplale on the Screen lo be filled in by the user, byyy pop ena nate Rermak vesented Mie yesented ” [Normally user agenis show a dne-line Summ ory of each | yereived mail. 3 | Replying message = | Process oby replying low veceived messagex [The veply message may conlain the oviginal message £ the need message, i i 4 | Forwarding message? | prowess af Sending a veceived msg to othey user. @ | forwarding Sends the message to |e thivd party. S | Handling Mailboxes + [A usey agen\ nevmally Creates two mailboxes #/ an inbsx land. ane bukbex @ |The box Keeps alt the veceived emails until they are deleted by the user @ | the Gulbox Keepauait the sent /emailssunhil) dine Usev deletes henna Types of Uses Agen} (uA) || Command driven + This Iype of user agen! uses a command Ve auehaweele, Ue mimentaterecum™. ne sas Wypeathel Commanclenlo parfevmbiniomaucw unina clieiies Ex, mails Pine elm ele. isis Gur based 3 Nodesn UA's ave GU1 based. Ta use GUL Wel batlens, menu's alist. eho sfoxmake athe a freaken Task easien inleractive: Base interface nas lo mere _ She Gleh wai dela fron, BuBe op see ME _teuetent ( Sennett 0 nah dis Pisa Message Access Agent Pops and IMApy ——— eee Midi | rr ee [Te yeltieve messages From Fhe mail Server, the Grent Needs to use a pull Prolocel which Puris ™sg frem the Seve, Carvvently the two mos} widely used “MTA | Protocels ax POPS and IMAPG. The pura protocol 1s [used Yo. velveive the message A- || PORSa=) Post office Proloce! , Version 8 CPOP3> 16 a simple Protocel With limiled Funchenality. The Sewer pops Sofware is inslalied om mou) server and the cent Popa Software IS installed on Host Cempuley s il when the user slavts the mail reader , it [establishes @ TCP Connechon om Pov) 340. The POPS Protocol then performs Aulhovizalien , Mransachend update POP3 Worle iN hoo Modes ¢ “ dd iva © keep mode = an this modey the mailivemains if the mailbox alley yelrieval. i gs © Velele mode- an thic mode, the mail is deleted OPler velyieval. anes 2: || IMAP G = Latoash / aif ‘AUnlevnel Mail Access Prolecol GY tanAP4u) is more PowerFul and Complex than POPS. — ui A} Movides The following Pealures «- wk $)|User can check the email Header before downloading E LSSey tain poxlaliy- coon loa ll Qiasienia. aie saan Di dsev com, Greate « delele ov, wenamal mailbexastaamita Mai) Sevuoy, |) User can axrange mailboxes act FEW ease Ph gi gheo? Te i Due Fe The growing number of emai) Uses / ce e Uidbsites provide a web based mail facility Fey ae Gehaing ) Sloving Y Yeceiving mails: Holmail and es Yahoo are come Commenty used web based erncu] ie sites! ved re ia f : i 4 * || File “Transfer Prelocol CF IP) = PIONS @ Clindard newoneipisleccl used foes | pe a, file: Prem one host to | Transter_ [big Transfer Dalo conneches "process process E Servev F Client Communication, Gver ConWel Cennechon F owe! code local code fj I 5 ae conhe) NoT ASCIT — contro) Hl Proress contol Connechon process Chen} Sevvey [By 1S Used for sending Command bek™ client and Sever A} Gemains open fer the entire duratien of she Session FIP Uses Ascis based Command over the conbel Th nection . Communication is vequest- Fespanse based . NW wails for a wespense before Sending ah a akeeali ia nen Command Bie Command is seni by the Clienl allo, mel and ©. Fre Uses Phe i f ® | ARoR = Abo the active Cle Transtey +s b) | Cnt Changing the & orking Oiveclers = S| CORES Deleve 1 era ie O|RUst = Uist of Mie mame # | Communtcaton Over Pala CeAnechtsn File type, dala Shucture Ts and +ransmissie0 mode ore defined bg the chenE ay tora! di b aL lato lype € Shuchur focal_dala typed. buclore | _— 4 See pone [a r = ye Dale cannecio Sr client aa LE 4. || The ‘purpose of the Data ConnecHon 1s the achial | File thansfer. L 2. || Vhe dala transfer is STACSVELNES The contro) Gnnecton | 3. | Before Whe dala hanster ve done: the Cent must | define 3 IMP things» J a) | File Tyee > St “F1p can thansfer the following Ailes types 5 Le e ASCIT ce EBCDIC ov an Image file. Whe default ot type 1s AsciT. The image formal is used for © —~— Fransterviag binary files. baie , » Data Shuctuve => A RENTERS: Shree Pile Shuclures are detined in FIP? Ire File shucture t when there 16 Ao intevnal ht See and the file is Considered fe be a CanHnucus mode Uploh > nate ee aie TiN AVS Mirna Desicag an potent indexed pc P8825) ell) cna. Oo Transmission mode => | Data transfer can he done in any of 3 medes: o Stream mode : Dalovis sent as a Continucus Shean © Block mode i Ftp byeaksithe data blocks and then passes it) cn to top jo Compressed) mode: Dala is compressedl 4 4hen Senk inlo Several Anonymous FIP | ANonyMous FIR 35 a Network prelocel used Foy (Asxansmabing Siles using Tcp-based nelworks WW) Archilecture- Sevuer A Seisek chent | | A | af || ae Request web poge A oe ee web page & 1A citer} Deeds Vo Sane _ BS Yons ane and Pelch’ Bome iftomalion Wom ne) Tequest OTOH A broweey conlains information about Fhe = ¢@ S&ver AT) sen | The Yeques) ¢ = he addvess of the Site ino UPL ~— MERCY Sends inadecumal le (he ee BENGE PClecanmen the clien! find Some yebevences ~— fevancMey document al Saver IB a) Sends -— Tequesl’ Jo Sexver A Foy the decurmen). re . = * || Mleb Decuments : a Documents can. be eee tnlo the Pottowing types: A. || Statte Documents := 4 USER riGt st As the name ‘suggest 7 these \ype of documents are fixed in natuve j-e theiy content does Moe 7 Change. Sfalic documents ave Geated and Gn.Some cases. the web idocument is jCreated at the [ident side instead of the Sever, The Program OY Gaipt uns at the Cent and generates the document Such docurnents are catiec) active: document Server cient pened: 244 -[ Requests {| _frplet _Pevsislent and Non-persishent Connection ~~ ss | NonPersiglent. connechon & ; _ __|[ 35 Wie Vope . one te “nnecHon 16 made for ~~ each yequent T vesponse WYpe This means that 2g Foy Fehieving more Than one file Prom (He Seyyey = — @ Separate CohnecHen ts opened & closed Foy _— Rach File. Herve : a: i) The client opens a TCP connechen — Sends a vequerg W The Sewer Sends a yesponse ££ Close the conneck™ Mi) The client yeads Hhe dala Hil end-of file £ also 7 Closes its side of connechon : Persistent Connection i > 9 an ts ype. the connecHon ance created vis kept open HU the client yequest fhe connechen te be closed oy until Some time-out period has elapsed. Thus a Separate onnéchicn Neecl Nol be estahiltshed) Poy evay yequeyl. Proxy Server A proxy server 1S another Computey chich Stores qecently vyequesteol clocuments. The Chen} yeque. frst gees lo the proxy server. 1 the documel Found tn ts cache, the proxy yeluyns Phe yesponse . AF not the teques) ve furwavoled fo the Seve. ia A gateway is a compuley system ov other device Yhat acts as a fiansiqtey bet” wo systems thal do Lnol use the Same Communicalicn protocels | Wees of gateways == + Transport gateways - Jat connect fw computers thal use different | coanecHen -ovented Hanspal prolocels- The yansport galeway can Copy the Packels Prem ene connecticn do the othevs yeformaiting them as neecl be. 2- || Application gateways - Di undevstand the Parmat and contenls of the dato and tanslale messages from one formal to another .

You might also like