Qhov Nruab Nrab Nrov TCP thiab UDP Naj Npawb Nruab Nrab

Txoj Kev Tso Cai Tiv Thaiv Kev Tiv Thaiv (TCP) siv cov txheej txheem kev sib txuas lus hu ua chaw nres nkoj los tswj cov kev sib txawv ntawm ntau yam sib txawv ntawm tib lub cev. Tsis zoo li cov chaw nres nkoj ntawm cov computers xws li USB ports lossis Ethernet ports , TCP cov chaw nres nkoj yog virtual - programmable entries numbered ntawm 0 thiab 65535.

Feem ntau cov TCP cov chaw nres nkoj yog cov phiaj xwm dav dav uas tuaj yeem hu ua kev pab cuam raws li xav tau, tab sis zaum saum tsis tau. Qee cov npav qis dua, txawm li cas los xij, muaj feem xyuam rau cov ntawv thov. Txawm ntau qhov chaw nres nkoj TCP muaj rau cov kev siv uas tsis muaj tshwm sim, qee cov neeg nyiam heev.

01 ntawm 08

TCP qhov chaw nres nkoj 0

Kev Kis Tus Kab Mob Kis (TCP) Header.

TCP tsis tau siv qhov chaw nres nkoj 0 rau kev sib txuas lus network, tab sis qhov chaw nres nkoj no paub zoo rau cov neeg siv kev sib tham. TCP qhov (socket) cov kev pab cuam siv qhov chaw nres nkoj 0 ntawm lub rooj sib tham kom thov kom muaj chaw nres nkoj muaj chaw xaiv thiab muab faib los ntawm kev khiav hauj lwm. Qhov no cawm tus programmer los ntawm kev tuaj tos ("hardcode") qhov chaw nres nkoj naj npawb uas yuav tsis ua haujlwm zoo rau qhov teeb meem no. Ntau ยป

02 ntawm 08

TCP lub nkoj 20 thiab 21

FTP servers siv qhov chaw nres nkoj hauv TCP 21 kom tswj tau lawv sab ntawm FTP zaug.Lub neeg tuaj saib mloog rau FTP commands txog ntawm qhov chaw nres nkoj thiab teb raws. Nyob hauv hom FTP, tus neeg rau zaub mov ntxiv siv qhov chaw nres nkoj 20 mus pib cov ntaub ntawv xa rov qab mus rau tus neeg siv FTP.

03 ntawm 08

TCP chaw nres nkoj 22

Kev ruaj ntseg plhaub (SSH) siv qhov chaw nres nkoj 22. SSH cov neeg zov me nyuam mloog ntawm qhov chaw nres nkoj no rau cov khoom nkag tuaj nkag los ntawm cov neeg siv kev sib tham. Vim yog qhov kev siv no, qhov chaw nres nkoj 22 ntawm txhua tus neeg tau txais kev pabcuam pejxeem feem ntau raug cuam tshuam los ntawm network hackers thiab tau ua qhov kev tshawb xyuas ntau hauv cov zej zog kev ruaj ntseg hauv lub network. Qee cov tswv yim kev ruaj ntseg pom zoo tias cov thawj coj xa lawv cov SSH kev xa mus rau lwm lub chaw nres nkoj kom pab tiv thaiv cov kev tawm tsam no, thaum lwm tus tawm tsam qhov no tsuas yog ib txoj hauj lwm uas yuav pab tau zoo dua.

04 ntawm 08

UDP chaw nres nkoj 67 thiab 68

Dynamic Host Configuration Protocol (DHCP) servers siv UDP chaw nres nkoj 67 mus mloog cov lus nug thaum DHCP cov neeg sib txuas lus ntawm UDP chaw nres nkoj 68.

05 ntawm 08

TCP chaw nres nkoj 80

Arguably lub nto nto moo tshaj plaws nyob rau hauv Internet, TCP chaw nres nkoj 80 yog lub neej ntawd HyperText Hloov Cov Kev Cai (HTTP) Web servers mloog rau Web browser thov.

06 ntawm 08

UDP chaw nres nkoj 88

Lub Xbox Live Internet gaming service siv ntau qhov chaw sib txawv chaw nres nkoj nrog UDP chaw nres nkoj 88.

07 ntawm 08

UDP lub rooj sab laj 161 thiab 162

Los ntawm kev pomzoo Cov Kev Tswj Teebmeem Network yooj yim (SNMP) siv UDP chaw nres nkoj 161 rau kev xa thiab tau txais cov kev thov ntawm lub network raug tswj. Nws siv UDP chaw nres nkoj 162 ua lub neej tau txais kev SNMP cuab los ntawm kev tswj cov khoom siv.

08 ntawm 08

Cov chaw nres nkoj saum toj no 1023

TCP thiab UDP chaw nres tsheb ntawm 1024 thiab 49151 yog hu ua cov chaw nres nkoj . Internet Tso Tooj Cai Teeb Meem muaj lub npe ntawm cov kev pab cuam uas siv cov chaw nres nkoj thiaj li txo cov kev siv tsis sib haum.

Tsis zoo li cov chaw nres tsheb nrog cov lej tsawg dua, cov tsim kev pabcuam tshiab ntawm TCP / UDP tuaj yeem xaiv ib tus nab npawb los sau npe nrog IANA es tsis muaj tus naj npawb rau lawv. Kev siv cov npav ua lag luam tseem tuaj yeem tiv thaiv cov kev txwv ntxiv kev ruaj ntseg uas khiav hauj lwm hauv cov chaw nres nkoj nrog cov naj npawb tsawg.