Professional Documents
Culture Documents
CNS Assignment 1
CNS Assignment 1
pees-to -
e ee qenerOt S 0 0 t a d by eq vesHn9 Re
each peoz OSO Qdds gexu'ce to V
SyStern by disturbuhaa e s to Othez peerg.
utuEe p appl? d a i o a c e t h e e axe
hsee MOroe ohalienqms: -V
I TSP Urerd i- mos++ sesiddenta
Tsps
+Hav e been d?*)e)Jsioned ko
banduoidhUSage, h a t iS ot Much mote
doLO eam+hdo vpSHeam tiottiC
2 SeCuei ty ecau se the't +tiqhy d:stbuti
Opeo n a u e , pap Applicaio dhateng
con be dhaiienge
to Secue
SoCket ) e M o n S t o t ¢ h e uOE:Oa
Soc e E
Socket S one endpoiot oj tuwD- Y
A ComDUD
Cotion Gog betuoeen O p q r o m S gudoi
t h e OesOoK
a Conoe o)-osen d potoCo.This mos
t h a t bekot e t h e clien t Servez Can Start to Sed
data t o eacrn other, they i S t eed to handshae
One end o TCP co0ne CEoN :S atached td Cent
Socket 4 Othee end i atached toSerer Socka-
e h
- en ceai9 the TCP CsNnecton,ude associae
uitn t h e J e t SCeet addse ss 4 u t h the TUD
COnoeCtion estabol Shed. shen One S:de uAn ts tD
end data tO
Other Side, *tTUSt dtop8 the dota
ioto TCP Connechon ura itS SoKet .Th:s is di e
C+
om UOP, tot ohch h e Seeuer MUSE taCh
a
deSKnosion address to the acket bekote deueto
dsopPia9 t i0to Socue.
ushen tMe Seever
hearS the knoc09t&eafa
n e doot -MOEe
essey, a ned Sdcetthat is
ded:cakd tD thnt 10ri Oren
CAen+ piOceSS
Seeue pioce SS
shak
hand
-say
+hee
3 oplas o the
OtlsAG O bit Cento togaent toethne
a:Stiouton.
Lo Q:t tottent, the COection q an
peers (art-
p0 9 inhe distibutio O d 0rtiwuaz {le
Caied atDs8ent * |DeeS V in the tomentD
douonO0d eia- Size ChunuS o) a i e
fion one
anotth er, uwrth a tyoicoo hunk S:z
o 956 Bytrs
Lshey a jaea iSt joioS atbnent ,i+Has Oo
chuouS. Ovez ime 1t Accumular¢ mote Oke
*t OJSO
ChuokS. wh: le i+ download the ehuoeg
ploods chuos to Oher pee&S.
* e a h to58ent t+aS node
AO OaSthuCtuAe NOde
coued a tocez shen d peeejorns a tom
O+h h e tsackez 4
peiod:can
H
ttoemg
t h e the torent.
ne Ahe sacke that i+iss
*possessin9 h i s i s t Qt peerS
S,OeD pets attemps
tO e s t a b i s h . concuneh t eonnectns wth
a tHe peesS om this ist.
euery
eueey o Seconds, peer$ s e c a C u a t s the
SaKsposs bly O d i e s the Set Q touz pex
b : t t o r e n t toqo hese t L es are
80id to be uoch odded
omethOA Ode
uoplrd ostm
a m e8 to Tp Add re sses.
nS essags
The+St dbytes :s the header Secion, whic
haS a Oumber td 3.
TheeSt ieud ds.btt numbe thot ideriie
4he
the
qerythis 'dertiee
i Cosi ed into he geiy
messaoto a quey, asouoia9 the e n t tD MaIÉ)
seceued seples ot-+h ent UQSies,
Toet COtioO_
Numbe O uestignS umbez oansuer RRS
Numbez of auhotityNumber Voj add:tiSQ/RRS
QueStiOnS
vatobl e Oumber O QueStians)
A suexs
Jau'OOIe Numbez O KeSOUI Ce geCDAos
Autho ty
CUatabie ouMoeL O sESoUrCe Auhott
-Aaii tiana notenatio)
( uasabe numbe o sesource 1eCotd s
5 OitH a aqraM explo)tHe iotEZaCtioD O
S SeruetS.
tiln
xplay CookeS 4. web cach:4 wth d:agr9sm.
COovie t i s qte0 des:EaKe to a useh ste to
**** **
idety USer8, ette becouse the Seevez ew'sheso ---
U S u a
G*
Use eoty :o
Omazod 68 uSuai s9Stnes o backernd
dotabn
e
ebon 8+34 aCcessK
SuOd PieSPONSe
Ocib
O0e de ek
Co PqUest mgkiC /o
O e -Spre
amazon 6T8S response
S u o ln t t
ebay: 81434 SA
me
web Cach Oq
=
+ PséspOOsS P eqvest
piO.o>..
H T P
e q u e s t
I p rrSp0nSe
Dost:
o s t : 0
ith a
.
to anoth er host.
Lo oAdee toe the s e r t o a c e s s the Semot ACD
o * h e usbr MOSE povide user. idetiiconon
9asS uMid.
he bser-ESt povides +he hostnome the
8emote hostY causSq h e FTP e n pecess
Oocas hosr t d J ES+obl:sh a TCp snnec%