ã¤ã³ã¿ã¼ãããã®ãããã¯ã¼ã¯ã«å¤å°ãªãã¨èå³ãããæ¹ãªããæå®ã®ç®çå°ã¾ã§ã®çµè·¯æ¢ç´¢ããã¦ããããã¿ããªå¤§å¥½ãtracerouteã³ãã³ãã
ãããªtracerouteã®è²ã
ãã¡ã¢ãã¦ããã¾ãã
tracerouteã®ä»çµã¿
æ¢ã«å¤ãã®è§£èª¬ãµã¤ããããã®ã§ããã¡ãã«è²ãã¾ãï½
tracerouteã¯TTLã1ãã¤å¢ãããªãããã±ãããéä¿¡ãããã¨ã§ãçµè·¯æ å ±ãåå¾ããã TTLã¨ã¯ãã±ããã®çåæéã表ããã«ã¼ã¿ã1ã¤çµç±ãããã¨ã«1ãã¤æ¸ç®ãããã ã«ã¼ã¿ã¯TTLã2以ä¸ã®ãã±ãããå±ããå ´åãTTLã®å¤ã1ã ãå°ããã次ã®ã«ã¼ã¿ã¸è»¢éããã TTLã1ã®ãã±ãããå±ããå ´åãå±ãããã±ãããç ´æ£ãICMP time exceededãã±ãããéä¿¡è ã«è¿ãã
tracerouteã¯ã¾ããTTLã1ã«ã»ãããããã±ãããéä¿¡ãããæåã®ã«ã¼ã¿ã«å±ããæç¹ã§TTLãã¼ãã«ãªããICMP time exceededã¡ãã»ã¼ã¸ãæ»ã£ã¦ããããã®ã¡ãã»ã¼ã¸ã®éä¿¡å ã¢ãã¬ã¹ãè¦ãã°ãæåã®ã«ã¼ã¿ã®IPã¢ãã¬ã¹ããããã次ã«TTLã2ã«ã»ãããã¦éä¿¡ããã¨ãä»åº¦ã¯2çªç®ã®ã«ã¼ã¿ããICMP time exceededãæ»ã£ã¦ããã以éãTTLã3ã4・・・ã¨å¢ããã¦ããäºã§ãé ã«ã«ã¼ã¿ã®IPã¢ãã¬ã¹ãå¾ãäºãã§ããã
å®éã«ã¯ã以ä¸ã®ä½æ¥ã3åç¹°ãè¿ãã¦è¡ããå¿çã¾ã§ã®æéã表示ããã çµç±ãã¦ããã«ã¼ã¿ãå¿çããã¿ã¤ã ã¢ã¦ããçºçããå ´åã¯ã*ãã¼ã¯ã表示ããã tracerouteã§å¾ãããçµè·¯æ å ±ã¯å¾è·¯ã®ã¿ã§ãããå対å´ããã®çµè·¯ãåãã¨ã¯éããªãã
traceroute - Wikipedia
ä»ãä¸è¨ã®ãµã¤ãã«ã¯ãå³èª¬ããã£ãããã¦ããªããªãããããããã§ãã
ICMP/UDP/TCPã使ã
âã®ä»çµã¿ã®èª¬æã¯ãICMPãã±ãããå©ç¨ããæ¹æ³ã§ãããtracerouteã®å®è£
ã«ãã£ã¦ã¯ãä»ã«ãUDPãTCPãGREã使ã£ããã®ãªã©ãããã¾ãã
Windows(tracert)ã§ã¯ãICMPãã±ããã使ããã¦ãã¾ãããUnix/Linux(traceroute)ã§ã¯ãããã©ã«ãã§UDPãã±ãããå©ç¨ããã¾ãã
å°ãUbuntu(Linux)ã§ãtracerouteã³ãã³ãã®manãèªãã¨ã以ä¸ã®ãããªæå®ã§ãã
-I Use ICMP ECHO for probes -T Use TCP SYN for probes -U Use UDP to particular destination port for tracerouting (instead of increasing the port per each probe). Default port is 53 (dns). -M method Use specified method for traceroute operations. Default traditional udp method has name default, icmp (-I) and tcp (-T) have names icmp and tcp respectively. Method-specific options can be passed by -O . Most methods have their simple shortcuts, (-I means -M icmp, etc).
â» TCPãå©ç¨ããã±ã¼ã¹ã«ã¤ãã¦ã¯ãtcptracerouteã¨ããã³ãã³ããããã
ããã£ãtracerouteã³ãã³ãå®è¡ãããã©ãã»ã¨ãã©ã*ãã表示ããã¦çµè·¯ãããåãããªãï¼(><) ...ã¨ãã£ãå ´åã§ãéããããã³ã«ãå©ç¨ããã°ãã²ãã£ã¨ããã好ã¾ãã調æ»çµæã¨ãªãããããã¾ããã
ãã®å ´åã¯ãLinuxã¨ãã ã¨âã®ãªãã·ã§ã³éãã§ããã
$ traceroute -I (IPã¢ãã¬ã¹ or FQDN)
è¦ãããªæãã§ããªãã·ã§ã³ãä»ãã¦å®è¡ãã¦ã¿ã¦ãã ããã
UDPã使ç¨ããtracerouteã¯ããã¼ãçªå·ãå®ã¾ããªããããã±ãããã£ã«ã¿ãªã³ã°ãè¡ã£ã¦ãããããã¯ã¼ã¯ã§ã¯å©ç¨ãé£ããé¢ããããç¹ã«ãã¡ã¤ã¢ã¦ã©ã¼ã«ãããå ´åã¯åé¡ã«ãªããããã ã¾ããæçµçãªå®å ãã¼ãã«ãã±ãããå°éããéãICMP Echo requestã®å ´åã¯åã«ICMP Echo replyãè¿ãããã ãã ããUDPã®å ´åã¯ããã¾ãã¾ãã®ãã¼ãçªå·ã使ããã¦ããçã§ãæå¾ ããåä½ã«ãªããªãäºãããã
traceroute - Wikipedia
Wikipediaã§ãä¸è¨ã®ãããªè¨è¼ãããã¾ããããããã³ã«ã«ãã£ã¦ã¯éä¸çµè·¯ã§ãã±ãããè½ã¨ãããã±ã¼ã¹ãå¤ããã¤ã³ã¿ã¼ãããã§å¤é¨ã«å ¬éãã¦ãããµã¼ãã¹ã«åãã¦èª¿ã¹ãå ´åãå¤ãã®ã±ã¼ã¹ã§TCPãã±ãã(ex. HTTP)ãå©ç¨ããã¦ãããã¨ãå¤ãã®ã§ãTCPã使ãã®ããæãæåçã®é«ã調ã¹æ¹ããããã¾ããã
ã¡ãªã¿ã«ãæ¸ç±ãインターネットのカタチãã«ããã¨ãtracerouteã®å©ç¨å¯è½ç¶æ³ã2008å¹´ã«èª¿æ»ããè«æã§ã¯ãã¢ã¡ãªã«ã®è¨æ¸¬ãµã¼ããããã¢ã¡ãªã«å½å
ã®2000å°ã®ã«ã¼ã¿ã«å¯¾ãã¦tracerouteãå®è¡ããçµæãICMPã§ã¯å
¨è©¦è¡ã®84.5%ãçµè·¯æ¢ç´¢ã«æåã8.2%ãéä¸çµè·¯ã«ã*ããåºåãUDPã§ã¯å
¨è©¦è¡ã®69.2%ãçµè·¯æ¢ç´¢ã«æåã23.3%ãéä¸çµè·¯ã«ã*ããåºåã¨ããçµæã ã£ãããã§ããUDPããã¯ICMPã使ã£ãã»ããæåçãé«ãå¯è½æ§ããããã¨ãããã¨ã§ããã
注æç¹: æ»ãã®çµè·¯ã«ã¤ãã¦
tracerouteã³ãã³ãã§èª¿ã¹ãããã®ã¯ãããã¾ã§è¡ãã®çµè·¯ã ãã§ããæ»ãã®çµè·¯ã«ã¤ãã¦ã¯ãè¡ãã¨ã¯ç°ãªã£ã¦ããå¯è½æ§ãããã¾ãã
ã¨ããã§ãããã¾ãæ¸ç±ãインターネットのカタチãã«ããã¨ãã¯ã·ã³ãã³å¤§å¦ã®reverse traceroute (revtr) ããã¸ã§ã¯ããã対象ã®ãã¹ãããèªãã¹ãã¾ã§ã®çµè·¯ãã¤ã¾ãæ»ãã®çµè·¯ãæ¢ç´¢ã§ããä»çµã¿ãèæ¡ãã¦ããã¨ã®ãã¨ã§ãã
reverse tracerouteã¯ãtracerouteã®ããã«ã³ãã³ãã§ã¯ãªãã¦ãä¸è¨ã®Webãµã¤ãã§ãµã¼ãã¹ã¨ãã¦è©¦é¨æä¾ããã¦ãã¾ãã
ã¡ãªã¿ã«ã"ã¯ã¦ãªããã°"ã§è©¦ããã¦ããã£ãã¨ããã以ä¸ã®ãããªçµæãã¡ã¼ã«ã§éããã¦ãã¾ããã
Thanks for trying our reverse traceroute tool! The resulting data follows: reverse traceroute from ec2-54-249-30-47.ap-northeast-1.compute.amazonaws.com (54.249.30.47) back to planetlab1.sfc.wide.ad.jp (203.178.143.10) 0 ec2-54-249-30-47.ap-northeast-1.compute.amazonaws.com (54.249.30.47) 19.332001 ms 18.938 ms 19.063999 ms dst 1 (27.0.0.204) 20.726 ms 20.691999 ms 20.736 ms sym 2 (27.0.0.25) 11.235 ms 11.233 ms 10.985 ms rr 3 (27.0.0.23) 10.604 ms 10.575 ms 10.551 ms rr 4 jc-osa302.kddnet.ad.jp (113.157.227.248) 10.684 ms 11.055 ms 11.007 ms -rr 5 obpjbb205.int-gw.kddi.ne.jp (118.155.199.252) 13.906 ms 13.946 ms 13.917 ms -rr 6 obpjbb206.int-gw.kddi.ne.jp (118.155.199.253) 10.589 ms 10.68 ms 10.609 ms rr 7 ix-osa207.kddnet.ad.jp (118.155.199.78) 10.246 ms 10.181 ms 23.028999 ms ts 8 ge-0-1-v2.cisco3.dojima.wide.ad.jp (203.178.138.47) 10.053 ms 9.749 ms 9.772 ms ts 9 ve-3761.cisco2.dojima.wide.ad.jp (203.178.136.110) 10.058 ms 9.927 ms 9.932 ms rr 10 ve-51.cisco2.notemachi.wide.ad.jp (203.178.141.142) 1.633 ms 1.644 ms 1.74 ms rr 11 ve-51.foundry6.otemachi.wide.ad.jp (203.178.141.141) 1.688 ms 1.626 ms 1.51 ms tr 12 ve-42.foundry4.nezu.wide.ad.jp (203.178.136.66) 1.49 ms 1.568 ms 2.666 ms -tr 13 ve-46.juniper2.fujisawa.wide.ad.jp (203.178.136.94) 1.85 ms 0.779 ms 0.347 ms -tr 14 ve100.alaxala3.sfc.fujisawa.wide.ad.jp (203.178.137.87) 0.504 ms 0.465 ms 0.474 ms -tr 15 planetlab1.sfc.wide.ad.jp (203.178.143.10) 0.045 ms 0.031 ms 0.03 ms -tr The rightmost columns explains how we determined a path. A dash prefix indicates that this hop was determined from the same segment as an earlier hop. dst - This hop is the destination or the destination's uplink. sym - We had to assume this hop was symmetric to the forward traceroute in order to generate the path. Note that we always assume that hop1, the destination's uplink, is symmetric, in order to avoid excess probing of endhosts. This assumption will generally be true for endhosts. tr - This hop was determined from an intersection with a known traceroute. rr - We used the Record Route option of the Internet Protocol to find this hop. ts - We used the Timestamp option of the Internet Protocol to find this hop. See here for more details on the different methods.
é¢é£ãã¼ã«
mtr
mtrã¯ãå®å
ãæå®ããã¨ãçµè·¯ãæ¢ç´¢ããããããã®ä¸ç¶å°ç¹ã®ã«ã¼ã¿ã¼ã«å¯¾ãã¦ãä¸å®ééã§pingãå®è¡ããRTTå¤ããã±ãã¹ã®çµ±è¨ãè¨é²ãã¾ãã
çµè·¯ä¸ã®ãããã¯ã¼ã¯ãä¸èª¿ã®çããããå ´åãªã©ããã°ããmtrãå®è¡ãã¦çµé観å¯ãè¡ããã¨ã§ãåé¡ç¹ã®åãåããã§ãã¾ãã
$ mtr (IPã¢ãã¬ã¹ or ãã¹ãå)
ã§ãå®è¡ããçµæã¯ã以ä¸ã®ãããªæãã§åºåããç¶ãã¾ãã
My traceroute [v0.71] (0.0.0.0) Thu Aug 15 23:56:43 2013 Keys: Help Display mode Restart statistics Order of fields quit Packets Pings Host Loss% Last Avg Best Wrst StDev 1. 10.200.xx.xx 0.0% 0.2 0.3 0.2 0.5 0.1 2. 10.202.xx.xx 0.0% 0.5 0.6 0.4 0.8 0.1 3. 10.202.yy.yy 0.0% 0.3 0.7 0.2 2.7 0.7 4. 10.202.zz.zz 0.0% 1.0 1.0 0.8 1.5 0.2 5. ??? 6. 27.0.0.135 0.0% 2.7 2.7 2.6 2.9 0.1 7. 27.0.0.147 0.0% 2.9 3.0 2.9 3.0 0.1 8. ec2-x-x-x-x.ap-northeast-1.compu 0.0% 2.5 2.8 2.5 2.9 0.1
ããã¡ãã£ã¨æ¸ãããã¨æã£ãã®ã§ãããä»æ¥ã¯ããã£ããããã¾ã§ã(ã¾ãå¥ã¨ã³ããªã§)
ããã§ã¯ï¼ =͟͟͞͞(๑•̀=͟͟͞͞(๑•̀д•́=͟͟͞͞(๑•̀д•́๑)=͟͟͞͞(๑•̀д•́
ã¤ã³ã¿ã¼ãããã®ã«ã¿ãâããããç¹ãæãç²ãå¼·ãä¸çâ
- ä½è : ããã¿ã¡,空éæ´å¹³
- åºç社/ã¡ã¼ã«ã¼: ãªã¼ã 社
- çºå£²æ¥: 2011/06/25
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- è³¼å ¥: 8人 ã¯ãªãã¯: 185å
- ãã®ååãå«ãããã° (30件) ãè¦ã