TCP/IPʐM̏Ԃ𒲂ׂunetstatvR}hgȂyWindows OSzFTech TIPSi1/2 y[Wj - IT

TCP/IPʐM̏Ԃ𒲂ׂunetstatvR}hgȂyWindows OSzFTech TIPSi1/2 y[Wj

TCP/IP֘ÃguV[eBOł͒ԂƂWindows OSẂunetstatvR}hBTCP̒ʐMԂ𒲂ׂR}hłAʐM̏ԂʐMAʐMĂvZXAʐMʂȂǂ̏m邱ƂłB̎gB

» 2023N0201 0500 J

̋L͉łBo^ijƑSĂ܂B

uTech TIPSṽCfbNX

Aږڎ

TCP/IPʐM̏Ԃ𒲂ׂunetstatvR}hgȂ

ΏOSFWindows 10^Windows 11AWindows Server 2012^Windows Server 2012 R2^Windows Server 2016^Windows Server 2019^Windows Server 2022


@TCP/IP֘ÃguV[eBOsꍇɁAKƂĂ悢قǎgR}hƂāunetstatvR}hist@Cnetstat.exejB̃R}h́ATCP̒ʐMԂ𒲂ׂ邽߂ɂ͕K{łAЂƂ̎g}X^[ĂB

netstat̊{\\ʐMTCPRlNV̒

@netstatR}h̍ł{IȎǵAʐMTCPRlNViTCPڑj̏Ԃ\邱ƂłB̃R}hsƁA[JPCTCP/IPvgRX^bNɂāA݃ANeBuɂȂĂTCPʐM̏Ԃ\łB

uTCPvƂ́H@uRlNVvƂ́H

@TCPƂ́A2‚̃AvP[VԂŁAM̂ʐMHiRlNVjJ݂A݂Ƀf[^ȂǂƂ肷邽߂̋@\łBʐMAvP[V́APC̃AvP[Vmł悢AقȂPCizXgjɂ2‚̃AvP[VԂł悢B

@ႦWebuEUgWebT[oɃANZXꍇAۂɂHTTPiHypertext Transfer ProtocoljƂvgRpBWebT[oHTTP|[giTCP80ԃ|[gjWebuEŮԂTCPRlNVJ݂iNCAg̃|[gԍ͔CӁjAWebT[oփR}h𑗂AWebT[ỏbZ[WM肷B

TCP̒ʐMf TCP̒ʐMf
TCṔA2‚̃Rs[^ԁiAvP[VԁjŒʐMHiRlNVjJ݂A݂Ƀf[^Ƃ肷邽߂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EDv͒ʐMmԁAuTIME_WAITv̓RlNV̏I҂Ԃꂼ\ĂāAʐMɂ͂̏Ԃʂ̏ԂɈڂuԑJvЂςɐiڂ͂ŐjB

TCPRlNV̎ʒP

@netstat1s•\TCP̃RlNV́A4‚̑gݍ킹ŎʂB

  • [JIPAhX
  • [J̃|[gԍ
  • [gIPAhX
  • [g̃|[gԍ

@̂Aǂꂩ1‚łlقȂΕʂ̃RlNVƂĈ̂ŁAႦWebT[oƂ̒ʐMsĂƁA悤Ȓl̃RlNV\邱ƂBWebuEÚÂ߂ɕTCPRlNVĝʓI炾BA悭ƃ[Jij̃|[gԍĂ͂łB

netstat́uԁvɕ\TCṔuԑJځvƂ́H

@netstatTCP̒ʐM𒲂ׂɂ́ATCP̃Xe[giԁj̈ڂςAȂ킿uԑJvɂ‚ėĂKvBTCP̏ڍׂɂ‚Ă͉uTCPiTransmission Control ProtocoljvQƂĂƂāAł͏ԑJڂɃtH[JXĐ悤B

@TCP̓Xe[giԁjƒvgRłARlNV̊JnIAʐM@ȂǂɊւčׂ菇߂ĂBT[oƃNCAĝǂ̑ɒʐMJn̂Af[^̑M͂ǂ̂AIꍇ͂ǂ̂AȂǂɌ܂ĂB

@܂ʐMx͗LȂ̂ŁAMR}h葤֓͂܂łɂ̓^COB[JɏIR}h𑗂ƂĂAꂪ葤ɓ͂OɁA葤ɏIv邱ƂB̂悤ȏ󋵂łAj]̂Ȃ悤ɏ菇߂ĂB

@̐}TCP̏ԑJڂ܂ɕ\ĂB̐}̔lp̒ɏĂuSYN_SENTvuESTABLISHEDvȂǂAnetstatR}h́uvɕ\B

TCP̏ԑJڐ} TCP̏ԑJڐ}
TCP̋KiiRFC793jɋLڂ̏ԑJڐ}ȗāA₷̂Blp̒ɏĂ̂TCP̏ԖB͉”\ȑJڂ̌oHB̂΂ɂ镶́ugKiANVjv\ĂAugKvƂȂCxgƎw肳ꂽuANVvsāȀԂ֑JڂBeԂ̏ڍׂ͉\ŐB

@}ŐFꂽubŃATCP̏Ԃ܂ɕނ̂Bꂼ̈Ӗ\ɋLB

TCP̏ԁi啪ށj Ӗ
pbVuI[v TCP̐ڑv󂯕t鑤BT[óALISTENԂŃNCAg̐ڑ҂󂯂ĂBFWebT[oȂ
ANeBuI[v TCP̐ڑv𑗐M鑤BLISTENԂTCP̃|[gɑ΂āAڑ݂鑤BFWebuEUȂ
ʐMm TCP̐ڑmāAʐM̏ԁBof[^𑗐M”\ȏԁiʐMHANeBuȏԁj
ANeBuN[Y ɏIv𑗐M鑤
pbVuN[Y 肩Iv󂯎āAgIs
TCP̏ԁi啪ށj

@ׂԁi}̔lpj̈Ӗ͎̒ʂłB𒲂ׂ邱ƂɂARlNV̏ԂǂȂĂ邩AJn悤ƂĂ̂A҂󂯒Ȃ̂AI悤ƂĂ̂AȂǂB

TCP̏ԁiڍׁj px Ӗ
CLOSED | gpԂTCP|[gBʏ킱ꂪ\邱Ƃ͂Ȃ
LISTENING ҂󂯏ԁibXԁj̃|[gBnetstatɁu-avIvVtƕ\
SYN_SENT T[oɑ΂āAʐMJn̗viSYNFSynchronizej𑗐MA܂ɑ΂鉞iACKFAcknowledgementj󂯎ĂȂԁB肪̂Ƃ̏ԂɂȂBACK󂯎ESTABLISHED֑Jڂ
SYN_RECEIVED | NCAgSYNv󂯎̏ԁBSYNɑ΂ACK𑗐MESTABLISHED֑Jڂ
ESTABLISHED TCPRlNVmĒʐMĂԁBnetstatł͍ł悭ԁBǂ炩In߂ƁAFIN_WAIT_1CLOSE_WAIT֑Jڂ
FIN_WAIT_1 | ̑FIN𑗐MԁBFINɑ΂ACK𑊎肩MƁAFIN_WAIT_2֑Jڂ邪Aɑ肩FIN󂯂CLOSING֑Jڂ
FIN_WAIT_2 | FINɑ΂ACKMԁB肩FINMāAɑ΂ACKԂƁATIME_WAIT֑Jڂ
CLOSE_WAIT 肩FIN󂯎ԁBAvP[VIƁAFIN𑗐MĂLAST_ACK֑Jڂ
CLOSING | FINɑ΂鑊肩ACK󂯂TIME_WAIT֑Jڂ
LAST_ACK | MFINɑ΂ACK҂ԁBACK󂯎CLOSED֑JڂďIinetstat̕\j
TIME_WAIT RlNV̏I҂ԁB΂炭҂ƁACLOSED֑JڂďIinetstat̕\j
TCP̏ԁiڍׁj
ł͍ŏɃbXĂi҂󂯂ĂjT[oÃT[oɐڑv𑗂NCAgƂĂBupxv́AnetstatR}hsƂɁȀԂ[U[”\̍\ĂB

@Oq̂悤netstatR}h́uvɕ\镶́ATCPRlNV̊JnmAI܂ł̈ÁiIȁjԑJڂ\ĂBuLISTENINGvuESTABLISHEDv͂悭ڂɂŁAȊÔ̂͂ɑ̏ԂɑJڂĂ܂̂ŁA@͏ȂB

IPAhX|[gԍ𐔒lŕ\ɂ́iu-nvIvVj

@netstatł̓ftHgŁAIPAhXTCP^UDP|[gԍŕ\Bu-nvIvVtƁAIPAhX|[gԍSĐlŕ\悤ɂȂB

netstat -nŐl\ netstat́u-nvIvVŐl\
unetstat -nvR}hsƁA|[gԍPCizXgjȂǂł͂ȂAl݂̂ŕ\BIPAhX疼O߂閼OsȂ̂ŁAʂf\BIPAhX̂܂ܕ\̂ŁAʐMȂǂÂ炢Bʏ́u-nvIvVtőfsAKvɉāu-nvIvVȂŗpƂ悢낤B

@TCP/IPł́AIPAhX|[gԍ͑SĂ̂悤ɐlŕ\̂{łBł͐lԂɂƂĔɕÂ炢̂ŁAgđp邱Ƃł悤ɂȂĂB

@̂߂̃JjYƂẮAIPAhXȂDNShostst@CɂuFQDN^zXg←→IPAhXv̑ݕϊVXeiuOvƂjB|[gԍȂservicest@CɂuT[rX←→|[gԍv̑ݕϊ@\Bhostst@Cservicest@ĆAWindows OSł́u%windir%\system32\drivers\etcvtH_ɒuĂB

@netstatɁu-nvIvVtȂƁA̕ϊ@\gāAȂׂIPAhX|[gԍ̓IȃzXgT[rXɕϊďo͂̂ŁAlԂɂƂĂ͕₷iϊłȂ̂ɂ‚ẮÂ܂ܐlŏo͂jB1̃zXgɕIPAhXtĂAT[rXł͂͂Ƃ͕Ȃ肷ꍇ́Au-nvIvVgĎۂ̐lŊmFKvB

@܂u-nvIvVtĎsƁADNST[oȂǂɑ΂₢킹sȂ̂ŁAʂɕ\Ƃ_B

@WebuEUŃC^[lbg̃TCg{Ă悤ȏꍇɂ́AOIPAhXC^[lbg̃zXgɂȂB̏ꍇ́AODNST[oɑ΂DNS̋tiIPAhXFQDN^zXgւ̕ϊjŝŁAȂ҂Bɂ̓RlNVƂɋt삪KvɂȂ̂ŁAʐM̏Ԃfׂꍇɂ́u-nvIvVtċt}悢B

@ǂĂ̓IȃzXgKvȂ΁AʓrunslookupvR}hȂǂŒׂ邩iTech TIPSuDNSgu̒ԁAnslookup̊{IȎgiГlbg[NҁjvQƁjAŌ1񂾂u-nvIvVȂnetstats΂悢낤B

zXgFQDNŕ\ɂ́iu-fvIvVj

@u-fvIvVtƁA[giOAhXj̃Rs[^FQDNŕ\悤ɂȂB

@Ⴆ΁ua1234.sys.example.jpvƂFQDNƒRs[^ƒʐMĂꍇAu-fvIvVȂƒPɁua1234vƂ\ȂBŁu-fvIvVtƁASDNSŕ\B\ȂČÂ炭Ȃ锼ʁAǂ̃Rs[^ƒʐMĂ邩₷ȂB

netstat́u-fvIvVŁAzXgFQDNŕ\ netstat́u-fvIvVŁAzXgFQDNŕ\

@@@@@@ 1|2 ̃y[W

Copyright© Digital Advantage Corp. All Rights Reserved.

X|T[̂m点PR

ڂ̃e[}

Microsoft  WindowsőO2025
AI for GWjAO
[R[h^m[R[h Zg by IT - ITGWjArWlX̒SŊ􂷂gD
Cloud Native Central by IT - XP[uȔ\͂gD
VXeJmEnE yirzPR
Ȃɂ߂̋LPR

RSSɂ‚

ACeBfBAIDɂ‚

[}KWo^

IT̃[}KẂA AׂĖłBЃ[}KWwǂB