Networks and security, Lecture notes of Computer Networks

Easy learning.... This pdf contains RSN Algorithm... Digital signatures and Other important topics for networks and security

Typology: Lecture notes

2025/2026

Available from 04/28/2026

sanjana-devi-1
sanjana-devi-1 🇮🇳

1 document

1 / 51

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Partial preview of the text

Download Networks and security and more Lecture notes Computer Networks in PDF only on Docsity!

= ——— of| 3[208> ; Unti- lv Transport Aro Application Layres. i Toarspore layer protocols - Ubp and Tep (onnechon and ae Franition. Dlagnam - (Congestion fontn. and dvoidame, AppAication layer parradgnnt)- cent bit, RED) - hos — (oe tem) World wide _ dew! pt annie - b> HTTP, ELechonic Mail. Domain Name Bys We gat -7 Open Sry term a ot layed onichitectute ansmittel in & network . deliver dala tom another. bak lomputmr Tune multiple applizal'on bo builehing fierwosk bayer) (computes) eG. parteet 4 p> C Trane port layer) (app vection.) (i) Aaron xy post number used alt a apecific appliceion One tompuba to Nuum bere" wnk&de tom pulry Ilr ageless Sp ilentities comput: port Numbers -y Application onsicle Compulay . Sorvite Local fosb-> gout A4alee Romotz hosts Other dla Ciwwver) q client -y Requests gorver > provides Gorvice - ByoudbOr 7 Client &. Gor: web fore T ts eee > be } a Ce ptt Hon 5 Rene header to it he aes ety “pPeits reaches srecoive x “7 Th (Manspost Jaye op Siemoves heaclor ~y Bonds orptbal m4 to correct glestinatum Sore Client “we ( . . >) Muttiplacingy ane Dermuttiploc.ng 4. fon Muttiple apps th your phone use _infosney at the Sours me 2° | | fra es (browse, Youtrbe) J . <7 Pore "| ust matt plering ff a mutlipio“g. Multiplexers > (ombuinig dott fom mutiple proces # vey Cotieny ‘tetough a duige channel. an bo-mutipeeny -y Seperate tho SHerekved gla ta and cleliver ° Cues) (he Le poses oon ( cae Applicalien loyer Pe Pa Tromp? ay? Sonder apphicatzcr, v (Akos — enabler ‘troensport= (vi) Flow wontm. Happens i» both A receiver joa font at the vat, OF Whic 7 Ensure a Jd dystem Can handle — without Loxs. > Ber overflow a System pvesdne > a —— te yee eases of flaw tpn tot Ganson (Arptication 7 Trompor t layer) Cao A Taide platy fuel Mae genera ta ¢ buffor. Applica tien TL hac Limited rs Bla conelor Revel ver (Twanepor & —? Tani por) fond clata faster ‘han TPO up Can p -_ "or", aua Useol % alone Preblem ; gato v° Problem denotes may — q | Beaffoy ly Temporancy7 memory Aata bofdro it is nyeoressee or Jans Heo) / / Snoler Sata upte™ beeen case 4+ Sender side flow conor: &y Flow: -7 Application. genovatus date +7 TL Sbves tn Senoley buffer [Preeen): puffer becomes full olution | TL elle Application: "10 When 4pae avedlable " START ‘Laneleng dale,” Cace 2° Reeciver Gide flow onto’ Sn low: <7 Pata arrives from neo. ores th sieceryer buffer, Problem}. Receiver buffoy fun [delion | Razive =pinboms derder "Stop Aandeng packer © P Bendlets dala’ Space avelable. a Sarr GERD aepetin . Soquont? perm boot: Atk: jd packet god loed, duplicatrel how dow he AK Syston Idomity them > §0qUonte pimbey my VA ung heecl to Sending | TL 8 beaut Pocorver Tb héool Lo, > tet. Which packet ak > Detoct duplicats packet - ~> Arrange correct Oxley a Roxenel the each pac ket ~rlolen tide maiming packot. bom Each peicket -> unique number 2 Sequence no. Vv added th TL header . ye Boer -p No of biz allocetec? decide Avo mane oq uence numbers Wwe Can fave Diba van formula: 0 & 9” 4 . —_ 1 mM) Sa, no dtact frora o wo (20% 4 [a bite on gu, = We ey 1, 83 Aeknowledgamen ts Sou: Jmague you fend @ Parl in frond 2 wait for wndismation , Sender. I am eneleng packet -7 Sends packer, Atatts times. At dndor, timer seenntra . jt Ack ar rhes case 41 packet ls tor sect <>moved be hare Receiver Aends Ack Paclee.& (ase 2° packets Covrupled) Ef Ack not Hmer expures Ne ACK ~>nesend Packap. Receiver: Two. possibili Hes i —————_ a t) Congestion tondwt' Ach Whon fhe ant Volyirles entor dbbad al th, Ags | Sens Wy attic Jam Then Api 5 , 4 ‘ Jp polwork, Phe i fatltel Con ; Long 04 | d hin, Joo Imaayd packo HK LENt Pty dh ery, 7 Longest Sy When X \ brtacog ik fapacitiy Jo handle thom toad on dhe Nw -7 No al packe x enoring ‘tho Mey (Opetelly of tho nlw-7 Maxime perekels nl tam Fane, . m load 7 ae 7 tonqeation Otcurg, During congestion ~7 Packet Loss -y pelay 7 —>Nfw becomes Alow. tongeation: Sante ~y Re ulate the no of packets ontrreng the. neo. thal it dos pot e8eecch i enpael Conneckton es 8 and Connection oriented puotecols: provicles devo ype 4 Aorvites X lonnection lew yt Connection- Oriented. Ee Connection loas ervie: = on wou ond metttiple Mmesscugts th Whatéopp, do she alurow arrive oder? . |e a, dah at ily, td mavirteacng order - thé walled —connectionle Atv . goa yp of prwtoved! fommuniaHor Whote each packet is aenk Srdependente Withead ostoblichun connection bw £¥ ancl fax. Recener, & In Connecti? las¢ Arvin Ltaape Ioyyon prrorornla: 7 Wnroliable Zonnoclion less Protoce | * pp 7 | (ol proforo) Hieunle connection Onenta P x Tepe 0 4 derp 7 OTP ver" _p Used for Mond 4 d “ « (A toads £ Control data. sor Date gran: dal! measeuged L tonic tn} odin, i ans 27 Up Packelt sr Use a arian ws . Herder | pata a. OPP ue dale asta - [doco post number ae | Dostinafion. port humber J Total rath Chocks T b. wosider fosmat > Fil ‘fe opp ae bug saager beeches, 7 (ontau% checksum only for erroy dalzcton ana nok, fos err wrrechen- Ay: if UPP is Gonnection (esd, ‘ovo coos ~ i cheat Whethyy dat belongs tp the Wrrect Boney & peotoool ° 9 Ane Fos ths Op uaed paewde Arad ot oliureng = e Checkistem calewla teen - OPP checksum ahivideel nlo thoae packs -Y Puce henley > noe de FL used Only for 1, OPP Header /). > tempo hall rion =y Date (poyplan Fret tow Ip And, a fislds in pad thoader: y4 lene une Ip addwose Md 4 torr y > pedlination '}p ” make I fil 4 -Y protocol Noo. Squieed bia Penal > LPP Aangth A . 5 Somer bile filled with Os (paddy) _> [hese Fidld emuje ‘thet pachet belongs to Upp? 8 Value Opp -> \F \ Tepe b \ 824i Soune 1p : by dest ip ioe J agi as added ty that ~ ‘>if onder Ab not want Wy checkdum, then Zitld with xXbto befows Sent obp Bovices! ay POLES bo Plocess Communication le Varna bocket adcsdwrs 4, Connection lese Absvice —7 Flow 2 Ertor tonto] (No) > -y Error wort) (NO) > Erioe debe & Not eoostelic) =p Checksum nusg pseudo Read ey. + No congestion conto |. . 27 Enea pale lin & olecaptulation G prowess ‘i addeng , ‘ Hoaclar) > Mu th placing £ Demuth plese Tid thote is, only ow Upp, bab Many protect) © heeds we TE » Upp manages be protess muthiple prniath Bima Hanepualy? Lr mux, a — ; [yyanamesien cont patntocol (np)! y tonnection priontecl, dteliable protocol 9 gotviess (xqucam onlentad powoce! ): 7 { wore gs pourcens tpmmirniation ~~ Lone be UAing port Nos ( 4 Aewiw: -p Vidleo online, clo flov 2” cy diem delivery a4 , when you woth or qe pecryve Vs continues Ans Con nliows J Low. > pak & how ep Worx ké - proves provides Stearn delivery | . Barve | vy rat: Bala a5 antinuous Atroam ot betes fonder HELLO TCP WELL bPP Ree ® HELLO Top yeliLlo cai ana Roceiving budta rs’ ir > bending dee’. What it Sender sods date faster than teeoiver @P ; jrsdata mas bo dest. ved this Tep, Uses | butfers Nocel for buffer. — , Gia RX work af different Apeedl 7 Nawork Introd uice dohewp ue Reig P -7 Sending buffer 1 ae otars Sondiig tur Whi Tile ¢ ; Lyra > Tree yw avails {s how dala’ ay > fintert MW applialan ~Y Blue Adlea nt bud Nod Acknowl edger) > Walrteng for Ack, Act not roctived 700K ME B Mack: cvieg -y Racy tp dened Pati wien by Applicalusn bul not sents Y Whon Ac veoive blue betomes write & pene ANetHadl, Wo Heyes ton finuous Racivuty buffer: Wh areq > Availaile pice for Interne Aaa > Blut <7 Roeeiveed Buk nok read by application . > Dal Ofws oy bubfor > When 4’ weodls, apace becomes fron Butters — Aolve [peed mismatch | > dender bubfer > bbws dole bs scoshrrnano WeSUEr™ haus buffer > %rves dol uti) application rracel H, Signs TEP tarsmit iran f- bytes, fut fio lages ony Packets” Jo Tep converte Ktrectm of putea —t ® Tep olivices twntinuous Atream of hi ints Amallor a) fom Ah22 1 bb ania wlll Aegrnents —? hed ner renee * gp dodo by has 4 Appiitation onal fe te 5 ah HEWo WorLp ep 58 > HELLO + feadlex — podone paring Arielle? 2 ~ woRL P+ feacles Then Alu Hratnsred dhese pockols' anoles pack. Tep fon Turon? NS > Numb Sujctim tol perk Saten| hae in? fielels via c oy «DW ke ft 7 Sequeneo umber 9 vio} + Ack numboy, J numbes . Byte Num bey p> Ter aesuns but remot porore dol dy, 4 1 APP ited on cond = HELLO uP A8siame 1} > lvoe 7 E~ [oe] f b Le (dor good to L— lvo3 X D— [o04 > Numberag inclepen dent th each due Ci) client > Server 5 has He Ove number w) Sevvey > clren > “dl Yo’ 1 chooben & 1 > Numbenay dee rot Aer = initial Sequence Fanclone BCH ne number, catleal LESS ? numbey > Kanes. °4 Bye Num bers. c Tep uses arbi num bev 0 by or ‘ bo Uente Numbex’. , joo we Aes Boa Sect canries mand by ors Identify whier Ponta ? Ans: veg Goquence number the finap bys oo that incltcate the NO 4 ” b 4 pata Bont 5 So n0 2 oe! ho> poor” ——_———ss—ash Ac! knowl lg ment oum bor. wtp byt ary caondet the 2M “ wack ‘wells ange 0b), 1065, 1004, weceywos® [OO], [00% , 1003, mocoywr Yorn vwos [pose dhe st0co1 vow Oypee bs 8 pow ve Ack der (60x 2 then \ Md tovmat : Tep Xe mon4 as (as? “faow tol se o oclor al “ Me pala qmenr Bpa wis |. 7 ppm bik eq no ae bi Ack no->32 bits a = P| RE }F = ~ HE I: Bai (Window Sie max. ie “u bs £35 bis IN| : \b bils ~ ~Tohetrsuim gait oxgant pathtrr [te bits Ib bits oaiting Fox Ack max = bp byes 4 go- - tee mio ths Value kB (x42 ao) Hoader Bb A A bi Hay un US (Seq = be) | bel | ACE re | pet Joy Lgin |, 08 Durqent poke u valid 7" Ack 2 Att uw Valider [——— 6 bin ———_—A So ( cn operation go" [SPA > Reak the. teraction pelermune — Which wove d LYN oS nchwnine &84.n0 nt alate Pin D Jesmualz: Connection, Fells vecewves t Adbivas ad by dats Immediatolip, péstablish eonnectien. ORL > India hes uy oS ee The ae | Hanalsha ke (Sop Sy clap) ' n apa thos ( OL 7 Bia on ; 0 (90 sup 7 client —> dower (syn) » Sing =F io! Senel oy “an ends ( ; / anon choose 4 random? Aumboxt if } numbert \ethat happens) YN {loa « 4. ( g | c fuene 4 &eq, nos (000 yun 6 fou -y No Act Yet No valtd wurde Kixe . ad eymnen” gyn har dual slip 2 Servet > client (‘sym 4 Ack ~~ a re = Server Hesponds with gyn F ACK. Ci)syn saan SYN = 4 > Server seks 14 owp ISN for tommunita bor io Ack = 4 > gplacknowldees clien b other duzonfiem Qa 2 5000 & dey novel Hn apt a: ae fo wie hom client Gi) Ack £100) Qmple x Gowor Ci 1% OWN Lequenta —Fyace By Meantng : Fn: =] twndirms Client's Syn se ™ lion opr aene ais Aize Cond . cnver SNES dap 3: client =P cues (Ack) 9 id " en ling Lends ACE Ack = Bool? sy | Teeeiwol Youst “oye | dala ) Meanuq . ani Ace low not temtach consume Aim. no Cit ) cya loading attack! pac> What Pappent Hf mors lohnect You at 4 fime 5 ‘tan ytspond) . Sustim overload. ath 6 ey pinjal of Servi (ms etn wend 4 >In nlws dyn foo ang Occurs When” ange 00 | faxe tonnacton — Hequess (syn ceonmctiza tp a ater pace ie ) than 0,000 people un (Lo In SN Pleecling , : A evoke y be hoviows S Gonda many fake Ovn packe te > Pres nol send final Act eoyvey Behaviour => Retcojyen SYN _> Cencle AYN A Ack | > Waik fos Ack By Ack never tamed uv _Prblem Created: 8 connections Ly Server Keeps fatf— open WS Resources get tonduno] "oun ee -_ Server cannot — aeeept tel Users. Mi Hatton Techniques: > limit lonnection spquest. ~ fi thorny aah lookizs > pala qekourre. allecation arnt) was / B. Aata transfex: Ase: Aff how aatl vonnedkid What Ans: (onvenégalisn: Poppet 7 After lonnection béterblishment, bulisechional data transfor faves place af Cor > Zimilexly & Tep, Connechion e4tetbbichecl , abet transfers |] derkec Place cn both ativectons