¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

Similar documents
¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè11²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó


¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè7²ó

2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14

2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP, TCP, IP 2,, IP, IP. IP, ICMP, TCP, UDP, TELNET, FTP, HTTP TCP IP

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè5²ó

$ ifconfig lo Link encap: inet : : inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :8 :0 :0 :0 :0 TX :8 :0 :0 :0 :0 (Collision

1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari student

I j

untitled

I TCP 1/2 1

$ ifconfig lo Link encap: inet : : inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :8 :0 :0 :0 :0 TX :8 :0 :0 :0 :0 (Collision

untitled

UDPとCBR

IP 2.2 (IP ) IP 2.3 DNS IP IP DNS DNS 3 (PC) PC PC PC Linux(ubuntu) PC TA 2

IP... 2 IP... 2 IP... 2 IP... 2 VLAN... 3 IP ADD IP IPADDRESS... 5 DELETE IP... 7 PING SETIP SHOW IP IP CentreCOM FS9

wide95.dvi

IPSJ SIG Technical Report * Wi-Fi Survey of the Internet connectivity using geolocation of smartphones Yoshiaki Kitaguchi * Kenichi Nagami and Yutaka

untitled

untitled

wide97.dvi

2004 SYN/ACK SYN Flood G01P014-6

JANOG6 Yet Another network command/tool/system Janog6 2000/06/16

untitled

UsersGuide_INR-HG5497c_.doc

... 4 HTML IP TC

TCP T ransmission Control Protocol TCP TCP TCP TCP TCP TCP TCP TCP c /(18)

8 P2P P2P (Peer-to-Peer) P2P P2P As Internet access line bandwidth has increased, peer-to-peer applications have been increasing and have great impact

wide96.dvi

MFC-8660DN Presto! PageManager TEL/ FAX/

集中講義 インターネットテクノロジー 第5回

$ cal ) ( cal $ cal cal cal 1. () ( clear) 2. ( cal) 3. ( man) \() ( ) --() +()

3. LISP B EID RLOC ETR B 4. ETR B ITR A 1: LISP 5. ITR A B EID RLOC 6. A SYN 7. ITR A ITR A B EID RLOC SYN ITR A RLOC ETR B RLOC 8. ETR B SYN ETR B B

IPv4aaSを実現する技術の紹介

IP IP DHCP..

破損した CIMC ファームウェアの復旧


22 / ( ) OD (Origin-Destination)

第1回 ネットワークとは

untitled

Si-R30取扱説明書

IIJ Technical WEEK IIJのバックボーンネットワーク運用

2

untitled

LSM-L3-24設定ガイド(初版)

LSM-L3-24設定ガイド(初版)

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

total-all-nt.dvi

オペレーティング システムでの traceroute コマンドの使用

ルータ(IPv6)掲示用池田.PDF

worm hoihoi

IP RTP 2 QoS i

TCP/IP Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.3 Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.4 2

_JANOG44_LINE_tsuchiya

CPE9V1.0&AP615V2.0-C01说明书-电子档

[1] [2] [3] (RTT) 2. Android OS Android OS Google OS 69.7% [4] 1 Android Linux [5] Linux OS Android Runtime Dalvik Dalvik UI Application(Home,T

NetworkKogakuin12

untitled

IPv6 トラブルシューティング ホームネットワーク/SOHO編

RT300i/RT140x/RT105i 取扱説明書

untitled

065763J ping ping pw ping % ping -c 5 pw193.cs.ie.u-ryukyu.ac.jp PING pw193.cs.ie.u-ryukyu.ac.jp ( ): 56 data bytes 64 bytes from

スライド 1

スライド 1

RT300/140/105シリーズ 取扱説明書

ict2-.key

橡c03tcp詳説(3/24修正版).PDF

LAN

OSPF OSPF.


ヤマハ ルーター ファイアウォール機能~説明資料~


tcp/ip.key

i TCP/IP NIC Intel 3com NIC TCP/IP *1 20 IPv4 IPv6 IPv6 TCP/IP TCP/IP *1 3

Flow Control Information Network 1 /

SRX IDP Full IDP Stateful Inspection 8 Detection mechanisms including Stateful Signatures and Protocol Anomalies Reassemble, normalize, eliminate ambi

NetSkate

第1回 ネットワークとは

main.mgp

17 TCP (ACK:ACKnowledge) (RTT:Round Trip Time) TCP (Transmission Control Protocol) PSPacer (Precise Software Pacer) JGN2 TCP FAST TCP UDP PSPacer

ohp.mgp

Cumulus Linux MLAG と vsphere vds の LACP 接続検証

nakayama15icm01_l7filter.pptx

IIJ Technical WEEK SEILシリーズ開発動向:IPv6対応の現状と未来

netmap Web syslog NetFlow I/O netmap netmap OS fluentd 10GbE 1,500 50,000pps 100% netmap NetFlow i

PPPoE HATS LAN

Mac OS X Server QuickTime Streaming Server 5.0 の管理(バージョン 10.3 以降用)

Vol.54 No (June 2013) GSRAv2 1,a) 1,b) 1,c) 1,d) , IPsec-VPN SSL-VPN OpenVPN PacketiX VPN GSRA Group-based Secure Remote

untitled

第1回 ネットワークとは

P2P P2P Winny 3 P2P P2P 1 P2P, i

IPSEC-VPN IPsec(Security Architecture for Internet Protocol) IP SA(Security Association, ) SA IKE IKE 1 1 ISAKMP SA( ) IKE 2 2 IPSec SA( 1 ) IPs

untitled

ヤマハ ルーター ファイアウォール機能~説明資料~

Microsoft Word - PSM_Mig_FAS_16209.doc

Transcription:

1 2011 5 11

lumeta internet mapping http://www.lumeta.com http://www.cheswick.com/ches/map/ 2 / 43

( ) 3 / 43

(Kenjiro Cho) WIDE 1984 ( ) OS 1993 1996 ( ) (QoS ) 2001 ( ) 2004 ( ) QoS 4 / 43

(Internet measurement and data analysis) : kjc@sfc.keio.ac.jp TA: sora@sfc.wide.ad.jp SA: katoon@ht.sfc.keio.ac.jp upa@sfc.wide.ad.jp URL: http://web.sfc.keio.ac.jp/ kjc/classes/ sfc2011s-measurement/ ( TA SA ): imda@sfc.wide.ad.jp : : 2 5 / 43

6 / 43

(1/4) 1 (5/11) :ruby 2 (5/18) :gnuplot 3 (5/25) : 7 / 43

(2/4) 4 (6/1) : 1 5 (6/8) : 6 (6/15) : 8 / 43

(3/4) 7 (6/22) ( ) : CDF 2 8 (6/26) : 9 (6/29) : 9 / 43

(4/4) 10 (7/6) : 11 (7/13) : 12 (7/20) : 13 (7/27) : 10 / 43

( ) 11 / 43

12 / 43

13 / 43

( ) ( ) ( ) ( ) (web ) 14 / 43

: : TCP 15 / 43

16 / 43

17 / 43

18 / 43

19 / 43

90 web 2000 P2P SNS 30 dst address 25 20 Traffic (Mbps) 15 10 5 0 00:00:00 04/12 03:00:00 04/12 06:00:00 04/12 09:00:00 04/12 12:00:00 04/12 15:00:00 04/12 18:00:00 04/12 21:00:00 04/12 00:00:00 04/13 Time total 0.0.0.0/0 148.65.7.36 167.210.0.0/17 160.0.0.0/5 202.0.0.0/8 135.0.0.0/10 148.65.0.0/16 128.0.0.0/5 167.208.0.0/12 192.0.0.0/4 129.13.28.0/17 135.43.0.0/17 167.215.33.42 129.13.0.0/17 202.0.0.0/7 20 / 43

PC 21 / 43

22 / 43

( ) ping traceroute tcpdump SNMP 24 / 43

ping ICMP-echo request/reply ICMP 25 / 43

fast path: slow path: ICMP processor line card line card switch fabric line card line card 26 / 43

ping sample output % ping -c 10 www.ait.ac.th PING www.ait.ac.th (202.183.214.46): 56 data bytes 64 bytes from 202.183.214.46: icmp_seq=0 ttl=114 time=112.601 ms 64 bytes from 202.183.214.46: icmp_seq=1 ttl=114 time=106.730 ms 64 bytes from 202.183.214.46: icmp_seq=2 ttl=114 time=106.173 ms 64 bytes from 202.183.214.46: icmp_seq=3 ttl=114 time=111.704 ms 64 bytes from 202.183.214.46: icmp_seq=4 ttl=114 time=112.412 ms 64 bytes from 202.183.214.46: icmp_seq=5 ttl=114 time=114.603 ms 64 bytes from 202.183.214.46: icmp_seq=6 ttl=114 time=111.755 ms 64 bytes from 202.183.214.46: icmp_seq=7 ttl=114 time=115.273 ms 64 bytes from 202.183.214.46: icmp_seq=8 ttl=114 time=106.525 ms 64 bytes from 202.183.214.46: icmp_seq=9 ttl=114 time=111.562 ms --- www.ait.ac.th ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 106.173/110.934/115.273/3.142 ms 27 / 43

traceroute IP TTL (time-to-live) TTL 1 TTL 0 ICMP TIME EXCEEDED IP IP 28 / 43

traceroute sample output % traceroute www.ait.ac.th traceroute to www.ait.ac.th (202.183.214.46), 64 hops max, 40 byte packets 1 202.214.86.129 (202.214.86.129) 0.687 ms 0.668 ms 0.730 ms 2 jc-gw0.iij.net (202.232.0.237) 0.482 ms 0.390 ms 0.348 ms 3 tky001ix07.iij.net (210.130.143.233) 0.861 ms 0.872 ms 0.729 ms 4 tky001bb00.iij.net (210.130.130.76) 10.107 ms 1.026 ms 0.855 ms 5 tky001ix04.iij.net (210.130.143.53) 1.111 ms 1.012 ms 0.980 ms 6 202.232.8.142 (202.232.8.142) 1.237 ms 1.214 ms 1.120 ms 7 ge-1-1-0.toknf-cr2.ix.singtel.com (203.208.172.209) 1.338 ms 1.501 ms 1.480 ms 8 p6-13.sngtp-cr2.ix.singtel.com (203.208.173.93) 93.195 ms 203.208.172. 229 (203.208.172.229) 88.617 ms 87.929 ms 9 203.208.182.238 (203.208.182.238) 90.294 ms 88.232 ms 203.208.182.234 (203.208.182.234) 91.660 ms 10 203.208.147.134 (203.208.147.134) 103.933 ms 104.249 ms 103.986 ms 11 210.1.45.241 (210.1.45.241) 103.847 ms 110.924 ms 110.163 ms 12 st1-6-bkk.csloxinfo.net (203.146.14.54) 131.134 ms 129.452 ms 111.408 ms 13 st1-6-bkk.csloxinfo.net (203.146.14.54) 106.039 ms 105.078 ms 105.196 ms 14 202.183.160.121 (202.183.160.121) 111.240 ms 123.606 ms 112.153 ms 15 * * * 16 * * * 17 * * * 29 / 43

tcpdump N : TCP SYN 30 / 43

tcpdump sample output 18:45:29.767497 IP 202.214.86.132.50052 > 202.210.220.18.80: \ S 3304970307:3304970307(0) win 65535 <mss 1460,nop,nop,sackOK,nop, \ wscale 1,nop,nop,timestamp 710778973 0> 18:45:29.770038 IP 202.210.220.18.80 > 202.214.86.132.50052: \ S 3129218301:3129218301(0) ack 3304970308 win 65535 <mss 1460,nop, \ ywscale 1,nop,nop,timestamp 2523776361 710778973,nop,nop,sackOK> 18:45:29.770090 IP 202.214.86.132.50052 > 202.210.220.18.80: \. ack 1 win 33304 <nop,nop,timestamp 710778973 2523776361> 18:45:29.787084 IP 202.214.86.132.50052 > 202.210.220.18.80: \ P 1:521(520) ack 1 win 33304 <nop,nop,timestamp 710778975 2523776361> 18:45:29.791392 IP 202.210.220.18.80 > 202.214.86.132.50052: \ P 1:222(221) ack 521 win 33304 <nop,nop,timestamp 2523776363 710778975> 18:45:29.887024 IP 202.214.86.132.50052 > 202.210.220.18.80: \. ack 222 win 33304 <nop,nop,timestamp 710778985 2523776363> 18:45:34.792726 IP 202.210.220.18.80 > 202.214.86.132.50052: \ F 222:222(0) ack 521 win 33304 <nop,nop,timestamp 2523776864 710778985> 18:45:34.792763 IP 202.214.86.132.50052 > 202.210.220.18.80: \. ack 223 win 33304 <nop,nop,timestamp 710779475 2523776864> 18:45:42.528539 IP 202.214.86.132.50052 > 202.210.220.18.80: \ F 521:521(0) ack 223 win 33304 <nop,nop,timestamp 710780249 2523776864> 18:45:42.531088 IP 202.210.220.18.80 > 202.214.86.132.50052: \. ack 522 win 33303 <nop,nop,timestamp 2523777637 710780249> 31 / 43

SNMP (Simple Network Management Protocol) SNMP UDP ( ) OS MIB (Management Information Base) SNMP : interfaces.iftable.ifentry.ifoutoctets MIB MIB get, set, get-next to access MIB 32 / 43

SNMP 5 tupples (protocol, srcaddr, dstaddr, srcport, dstport), AS, etc : NetFlow sflow IPFIX... flow 5 flow 4 flow 3 flow 2 flow 1 flow 6 time bin N time bin N+1 time 33 / 43

MRTG SNMP daily, weekly, monthly, yearly inbound/outbound traffic 34 / 43

RRDtool RRDtool: MRTG flowscan RRDtool NetFlow from caida web site 35 / 43

36 / 43

Ruby

Ruby 1993 : Ruby on Rails (Web ) Ruby Ruby official site: http://www.ruby-lang.org/ Ruby : http://www.ruby-lang.org/ja/documentation/ Ruby : http://jp.rubyist.net/magazine/?firststepruby 38 / 43

Ruby : : ( ) : ( Mixin ) / OS Ruby : 39 / 43

Ruby commands irb: Ruby $ irb --simple-prompt >> puts "Hello" Hello ruby: Ruby $ ruby test.rb $ ruby -e puts "Hello".reverse olleh rdoc: RDoc RDoc Ruby ri: RDoc Ruby $ ri String#upcase 40 / 43

: filename = ARGV[0] count = 0 file = open(filename) while text = file.gets count += 1 end file.close puts count count.rb $ ruby count.rb foo.txt Ruby #!/usr/bin/env ruby count = 0 ARGF.each_line do line count += 1 end puts count 41 / 43

2 (5/18) :gnuplot 42 / 43

[1] Ruby official site. http://www.ruby-lang.org/ [2] gnuplot official site. http://gnuplot.info/ [3] Mark Crovella and Balachander Krishnamurthy. Internet measurement: infrastructure, traffic, and applications. Wiley, 2006. [4] Antonio Nucci and Konstantina Papagiannaki. Design, Measurement and Management of Large-Scale IP Networks: Bridging the Gap Between Theory and Practice. Cambridge University Press, 2008. [5] Pang-Ning Tan, Michael Steinbach and Vipin Kumar. Introduction to Data Mining. Addison Wesley, 2006. [6] Raj Jain. The art of computer systems performance analysis. Wiley, 1991. [7],.., 2010. [8],.., 2009. 43 / 43