IPv6 Ready Logo Phase II SIP符合性測試平台建置技術報告

Similar documents
untitled

untitled

個人教室 / 網路硬碟

untitled

untitled

公立學校教職員成績考核辦法修正草案總說明

依據教育部八十九年 月 日臺(八九)技(二)字第 號函

1

untitled

untitled

了 立 連 立 量 領 來 例 蘭 便 不 數 不 論 更 更 更 力 更 參 例 來 例 見 量 度 量 量 參 論 量 行 量 量 瑩 理 來 錄 量 量 不 力 省 力 立 力 量 量 量 了 量 便 錄 錄 錄 料 說 省 6

派赴國外工作人員子女返國入學辦法

廢證相關作業

untitled

國立自然科學博物館館訊第263期

IPv6 Ready Logo Phase II DHCP符合性測試平台建置技術報告

人身保險業務員資格測驗方案

untitled

I/O Files讀寫檔案:

untitled

台灣經濟新報資料庫

untitled

untitled

第五章 實例個案

untitled

PowerPoint 簡報

untitled

untitled

中華電信市內網路業務服務契約

PowerPoint 簡報

中華人民共和國殘疾人保障法(2008年修訂)

臺灣地區的警察教育現況與展望

九十三年第三期檔案管理工作研習營學員建議事項答覆情形彙整表

untitled

untitled

untitled

untitled

錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更

untitled

龍華科技大學

untitled

見 例 年 例 利 不 料 林 不 立 理 不 念 類 理 利 了 路 來 行 來 行 立 見不 立 亂 不 理 立 來 2

untitled

untitled

untitled

untitled

untitled

個人提供土地與建設公司合建分屋並出售合建分得之房屋,核屬營業稅法規定應課徵營業稅之範圍,自本函發布日起,經建築主管機關核發建造執照之合建分屋案件,附符合說明二之規定者外,均應辦理營業登記,課徵營業稅及營利事業所得稅

《摘要》

編者的話

untitled

untitled

untitled

大陸黨報集團化發展之研究

說 列 流 不 不 理 料 理 路 數 錄 路 料 料 錄 路 列 來 料 便 利 行 狀 路 II

高苑技術學院八十七學年度二年制技術系

廉 樂 不 廉 倫 理 廉 倫 理 領 不 參 領 不 若 不 不 不 不 利 聯 行 李 聯 例 律

專 題 論 述

untitled

untitled

untitled

untitled

移民資料

錄 錄 參 益 金流量 陸 說 理 說 易 六 諾 說 - 2 -

untitled

untitled

untitled

untitled

中華民國第45屆中小學科學展覽會

untitled

地方公共服務績效比較評量之探討—標竿學習策略的觀點

untitled

國立政治大學新研所碩士在職專班

公務出國報告

WTO/TBT重要通知

untitled

untitled

untitled

untitled

untitled

血管內裝置感染管制作業規範

untitled

untitled

「行政院及所屬各機關出國報告綜合處理要點」

untitled

第三章 我國非營業特種基金制度及運作現況

untitled

一、

untitled

untitled

untitled

untitled

4-04 論文封面(樣式)

國立中山大學學位論文典藏.PDF

untitled

untitled

untitled

國立陽明大學輻射防護計畫書

untitled

吃寒天真的能減肥嗎

Transcription:

年度 路 SIPv6 年 907

908

SIPv6 錄 1... 911 1.1 SIP 歷... 911 1.2 SIP... 911 1.3 SIP... 911 2 參... 912 2.1 參... 912 2.2 參... 912 3... 912 4 SIP... 912 4.1 TN... 912 4.2 SIP... 913 5 SIP... 913 5.1 TN... 913 5.2 v6eval... 913 5.3 UA... 915 5.3.1 NUT UA TN SIP... 915 5.3.2 TN... 915 5.3.3 NUT... 918 5.4 Server... 919 5.4.1 NUT Server TN SIP... 919 5.4.2 TN... 919 5.4.3 Server NUT... 920 6... 921 6.1 UA... 922 6.2 Server... 922 6.3 UA 類... 922 6.4 Server 類... 923 6.5 行... 923 6.5.1 行 UA... 924 6.5.2 行 Server... 924 6.5.3... 926 7 論... 928 909

SIPv6 錄 1 UA... 915 2 Server... 919 3 NUT TN 連... 922 4... 926 5... 927 6 流... 928 錄 1 UA NUT 參數... 918 2 UA TN NUT 參數... 922 3 Server TN NUT 參數... 922 4 UA 類... 922 5 Server 類... 923 910

1 1.1 SIP 歷 Internet Engineering Task Force ( IETF) Multiparty Multimedia Session Control ( MMUSIC) 36 兩 Session Invitation Protocol (SIPv1) Simple Conference Invitation Protocol ( SCIP) Session Initial Protocol (SIPv2) 1999 年 3 RFC2543 SIP 路 2002 年 6 RFC3261 RFC2543 SIP 1.2 SIP SIP 立 令 兩 行 路 力 Voice over IP ( VoIP) 串流 RFC3261 SIP 1. User Agent 2.Location Server 3.Porxy Server 4.Redirect Server 5.Registrar 說 User Agent 立 SIP (User Agent Client) SIP (User Agent Server) SIP Phone PSTN SIP PC Location Server User Agent URL IP Proxy Server User Agent SIP Redirect Server Location Server 料 Proxy Server 路 Registrar User Agent SIP IP Location Server SIP 類 HTTP SIP 類 E-mail Uniform Resource Location ( URL) SIP:UserName@DomainName Mobility URL 行 1.3 SIP SIP IPv6 (SIP Conformance Test SIP-CT) 類 User Agent ( UA) Server 兩 SIP IPv6 SIP IPv6 IPv6 Promotion Council 參 料 [1] UA 911

v1.3.1 Server v1.1.1 UA IPv4 IPv6 SIP phone Server IPv4 IPv6 SIP 來更 NGN 路 SIP 2 參 2.1 參 [1.1] RFC 3261 http://www.ietf.org/rfc/rfc3261.txt [1.2] SIP http://www.ipv6ready.org/?page=documents&tag=phase-2-sip [1.3] v6eval 說 http://www.tahi.org/conformance/doc/tool-2.3/v6eval-e.pdf 2.2 參 [2.1] SIP http://cert.v6pc.jp/sip-ipv6/ipv6ready/index.html [2.2] SIP http://cert.v6pc.jp/sip-ipv6/ [2.3] FreeBSD http://www.freebsd.org/ [2.4] TAHI http://www.tahi.org/ [2.5] v6eval koi http://www.tahi.org/release/ [2.6]v6eavl 說 http://www.tahi.org/release/00readme.v6eval 3 Test Node ( TN) SIP Node Under Test ( NUT) 4 SIP 4.1 TN 912

TN 不 CPU 40GB 4.2 SIP SIP-CT TN TN FreeBSD 5.4-RELEASE 行 SIP-CT TN v6eval 3.0.7 v6eval TAHI IPv6 Conformance Test Tool [2.5] v6eval IPv6 路 v6eval 更 參 v6eval package 說 [2.6] 若 行 SIP-CT TCP/TLS TN koi-sip 來 v6eval SIP 2.1.3 [2.5] 5 SIP 5.1 TN SIP B FreeBSD TN FreeBSD 7.1-RELEASE vi 理 /etc.r.conf # vi /etc/rc.conf rc.conf 參數 hostname="sip_tn" inetd_enable="yes" linux_enable="yes" moused_enable="yes" sshd_enable="yes" usbd_enable="yes" syslogd_enable="no" ipv6_enable="yes" network_interfaces="eth0" ifconfig_eth0= up ipv6_network_interfaces="eth0" # reboot 5.2 v6eval v6eval TAHI IPv6 Conformance Test IPv6 路 v6eval 更 參 913

v6eval package 說 3.1.0 說 v6eval # tar zxvf $YOURDIR/v6eval-3.1.0.tar.tar 切 錄 # cd $YOURDIR/v6eval-3.1.0 # make && make install v6eval 說 切 v6eval 路 # cd /usr/local/v6eval/etc tn.conf #vi tn.conf TN 路 路 Link0 <TN interface name> <TN MAC > 例 Link0 eth0 AA:AA:AA:AA:AA:AA nut.conf #vi nut.def TN 路 nut 路 Link0 <TN interface name> <NUT MAC > 例 Link0 eth0 BB:BB:BB:BB:BB:BB koi koi Layer4(TCP/TLS) 欄 SIP [2.5] 2.1.6 說 koi # tar zxvf koi-2.1.6.tar.tar 切 錄 # cd $YOURDIR/koi-2.1.6 # make all koi 說 切 koi 路 # cd /usr/local/koi/etc tn.def # vi tn.def TN 路 Link0 bce1 nut.def 914

# vi nud.def TN 路 Link0 bce1 列 令 koi # /usr/local/koi/bin/koid 5.3 UA 5.3.1 NUT UA TN SIP config.txt 1 1 UA 5.3.2 TN 1.4.4 說 ct-sip-ipv6-ua-1.4.4.tar.gz # tar zxvf $YOURDIR/ct-sip-ipv6-ua-1.4.4.tar.gz vi /etc/rc.conf # vi /etc/rc.conf 參數 ifconfig_eth0= up ipv6_enable= yes ipv6_ifconfig_eth0="3ffe:501:ffff:5::1 prefixlen 64" 915

# reboot $YOURDIR/ct-sip-ipv6-ua/sip-ipv6-ua/config.txt config.v6.sample config.txt #================================================================ ==# # Your SIP UA IPv6 address # # (if using auto-configuration, comment out this line with "#".) # #================================================================ ==# UA-ADDRESS 3ffe:501:ffff:5:NUT s Modified EUI-64 # UA (emulated by TN) # ## SIP UA(Tester emulating) username PUA-USER 1111 ## SIP UA(Tester emulating) IPv6 address PUA-ADDRESS 3ffe:501:ffff:1::1 ## SIP UA(Tester emulating) hostname PUA-HOSTNAME atlanta.example.com PUA-HOSTNAME-FOR-1PX under.test.com ## SIP UA(Tester emulating) Contact hostpart PUA-CONTACT-HOSTNAME client.atlanta.example.com PUA-CONTACT-HOSTNAME-FOR-1PX client.under.test.com # Registrar (emulated by Tester) # ## Registrar(Tester emulating) IPv6 address REG-ADDRESS 3ffe:501:ffff:50::50 ## Registrar(Tester emulating) hostname REG-HOSTNAME reg.under.test.com # SIP Proxy1 (emulated by Tester) # ## Outbound Proxy(Tester emulating) IPv6 address PX1-ADDRESS 3ffe:501:ffff:50::50 ## Outbound Proxy(Tester emulating) hostname PX1-HOSTNAME ss.under.test.com 916

OT1-ADDRESS 3ffe:501:ffff:50::51 # SIP Proxy2 (emulated by Tester) # ## Second Proxy(Tester emulating) IPv6 address PX2-ADDRESS 3ffe:501:ffff:20::20 ## Second Proxy(Tester emulating) hostname PX2-HOSTNAME ss1.atlanta.example.com # Authentication # ## username for Authentication AUTH-USERNAME NUT ## password for Authentication AUTH-PASSWD nutsip ## Authorization realm about Registrar(Tester emulating) AUTH-REALM-RG under.test.com ## Authorization realm about Outbound Proxy(Tester emulating) AUTH-REALM-PX1 under.test.com ## Authorization realm about second Proxy(Tester emulating) AUTH-REALM-PX2 atlanta.example.com # UA (NUT:your User Agent's param) # ## Your SIP UA username UA-USER NUT ## Your SIP UA hostname UA-HOSTNAME under.test.com ## Your SIP UA Contact hostpart UA-CONTACT-HOSTNAME node.under.test.com #=================================================# # Router(Tester emulating) IPv6 Address Prefix # #=================================================# ## Router(Tester emulating) IPv6 Address Prefix ROUTER-PREFIX-ADDRESS 3ffe:501:ffff:5:: #=================================================# # DNS Server settings # #=================================================# ## IPv6 DNS Server(Tester emulating) IPv6 address 917

DNS_ADDRESS 3ffe:501:ffff:4::1 #=====================================# # Other settings # #=====================================# PLATFORM V6:UDP:UA ## your SIP UA message send port no UA-PORT 5060 ## Timer T1 value(second) defined in RFC3261 TIMER-T1 0.5 ## Timer T2 value(second) defined in RFC3261 TIMER-T2 4 ## Tester check margin value(second) TIMER-MAGIN 0.2 ## The number of media which Tester checks re-invite(hold) HOLD-MEDIA 1 ## Initial Max-Forwards header value which Tester sends MAX-FORWARDS 70 ## Expires header value which Tester sends EXPIRES 3600 ## Timestamp header value(tester sends) TIME-STAMP 1000 ## Whether your UA support Authentication mechanism (T) or not(f) AUTH-SUPPORT T ## Whether your UA support Authentication mechanism ## after dialog established (T) or not(f) AUTH-SUPPORT-AFTER-DIALOG F ## DNS TTL(second) DNS-TTL 30 ## INITIALIZE v6addr INITIALIZE F SPECIFICATION RFC 5.3.3 NUT NUT 異 NUT 參數 ( 更 ) 1 參數 參 6.1 1 UA NUT 參數 SIP username NUT AoR-URI sip:nut@under.test.com Contact-URI sip:nut@node.under.test.com 918

Authentication username NUT Authentication password nutsip Authentication realm under.test.com Outbound proxy address ss.under.test.com Registrar address reg.under.test.com SIP Port 5060 5.4 Server 5.4.1 NUT Server TN SIP NUT(Server) TN 2 Server 5.4.2 TN 1.2.5 說 ct-sip-ipv6-px-1.2.5.tar.gz # tar zxvf $YOURDIR/ct-sip-ipv6-ua-1.4.4.tar.gz vi /etc/rc.conf ifconfig_eth0= up ipv6_enable= yes ipv6_ifconfig_eth0="3ffe:501:ffff:5::1 prefixlen 64" # reboot 919

$YOURDIR/ct-sip-ipv6-px/sip-ipv6-px/config.txt config.v6.sample config.txt [model] ip V6 transport UDP target PX [target] uri sip:ss.under.test.com address 3ffe:501:ffff:50::50 port 5060 prefix 3ffe:501:ffff:50:: # # user for test (exist in test-suites) # [target.user1] aor-uri sip:ua11@under.test.com contact-uri sip:ua11@node.under.test.com address 3ffe:501:ffff:1::1 authorization_user UA11 authorization_password nutsip authorization_realm under.test.com [target.user2] aor-uri sip:ua12@under.test.com contact-uri sip:ua12@node11.under.test.com address 3ffe:501:ffff:2::2 authorization_user UA12 authorization_password nutsip authorization_realm under.test.com [target.user3] aor-uri sip:ua13@under.test.com contact-uri sip:ua13@node12.under.test.com address 3ffe:501:ffff:3::3 5.4.3 Server NUT NUT 異 NUT 參數 參 6.2 SIP UserName AoR-URI UA11 sip:ua11@under.test.com 920

Contact-URI sip: UA11@node.under.test.com Authentication UserName UA11 Authentication Password nutsip Authentication Realm under.test.com SIP Port 5060 SIP UserName UA12 AoR-URI sip:ua12@under.test.com Contact-URI sip: UA12@node.under.test.com Authentication UserName UA12 Authentication Password nutsip Authentication Realm under.test.com SIP Port 5060 SIP UserName UA13 AoR-URI sip:ua13@under.test.com Contact-URI sip: UA13@node.under.test.com Authentication UserName UA13 Authentication Password nutsip Authentication Realm under.test.com SIP Port 5060 若 NUT DNS 列 料 /etc/hosts 3ffe:501:ffff:20::20 ss2.biloxi.example.com biloxi.example.com 3ffe:501:ffff:50::50 ss.under.test.com reg.under.test.com 3ffe:501:ffff:1::1 node.under.test.com under.test.com 3ffe:501:ffff:2::2 client.biloxi.example.com 6 3 TN NUT 連 921

3 NUT TN 連 6.1 UA TN NUT 參數 2 2 UA TN NUT 參數 TN NUT IPv6 Address 3ffe:501:ffff:5::1/64 IPv6 Address autoconfiguration Name Server 3ffe:501:ffff:4::1 Default Gateway 3ffe:501:ffff:5::1 6.2 Server TN NUT 參數 3 3 Server TN NUT 參數 TN NUT IPv6 Address 3ffe:501:ffff:50::1 3ffe:501:ffff:50::50 Name Server 3ffe:501:ffff:4::1 Default Gateway 3ffe:501:ffff:5::1 6.3 UA 類 UA SIP-CT 21 類 297 test case 4 UA 類 列 400 UA 不 不 UA 量 參 4 UA 類 Category Target name Description Registration regist-test Registration related tests. Session Establishment session-test Session Establishment related tests. Maximum Length maximum-test Message/Header length related tests. Transaction transaction-test Transaction related tests. Mid-dialog Control m_dialog-test Mid-dialog related tests. Authentication auth-test Authentication related tests. Header Parameter header-test Header parameter related tests. Routing routing-test Routing related tests. Request Message request-test Request message related tests. Response Message response-test Response message related tests. 922

Dialog dialog-test Dialog related tests. OPTIONS method options-test OPTIONS method related tests. DNS dns-test DNS related tests. Transport transport-test Transport layer related tests. ICMP icmp-test ICMP related tests. Torture torture-test SIP torture tests. (See draft-ietf-sipping-torture-tests-09.txt) Session Timer timer-test Session Timer related tests (RFC4028) Reliability of Provisional Response 100rel-test Reliability of Provisional Response related tests. (RFC3262) UPDATE method update-test UPDATE method related tests. (RFC3311) Privacy privacy-test Privacy related tests (RFC3323, 3325) TTC specification ttc-test TTC specification related tests. (See http://www.ttc.or.jp/e/index.html) 6.4 Server 類 Server SIP-CT 12 類 200 test case 5 Server 類 列 100 5 Server 類 Category Target name Description Registration reg-test Registration related test Session Establishment on onepx-test Session Establishment related one Proxy test on one Proxy test Session Establishment on twopx-test Session Establishment related two Proxy test on two Proxy test Routing test forward-test Routing related test Forwarding request request-test Forwarding request related test Forwarding response response-test Forwarding response related test Forking fork-test Forking related test Transaction transaction-test Transaction related test Session progress progress-test Session progress related test Transport transport-test Transport related test Stateless Proxy stateless-test Stateless Proxy related test Authentication auth-test Authentication related test 6.5 行 923

6.5.1 行 TN 行 # make init 1. TN OS BIND Perl 2. TN OS IPv6 3. Router Mode net.inet6.ip6.forwarding: 1 -> 1 net.inet6.ip6.redirect: 1 -> 1 net.inet6.ip6.accept_rtadv: 0 -> 0 net.inet6.ip6.auto_linklocal: 1 -> 1 net.inet6.icmp6.rediraccept: 1 -> 1 4. 讀 config.txt SIP 參數 5. 讀 v6eval koi tn.def nut.def Inteface MAC 6. TN koi 7. TN IPv6 (bce1) 8. rtadvd 參數 9. rtadvd 10. Bind 參數 11. Bind 12. ping 令 Connection 13. dig DNS 6.5.2 行 UA 行 # cd $YOURDIR/ct-sip-ipv6-ua/ # make clean # make <Target name> 例 make reg-test 行 # make test 行 make AROPT= -s <x> -e <y> <Target name> (<x> <y> ) 例 make AROPT= -s 3 -e 15 reg-test 6.5.3 行 Server 924

行 # cd $YOURDIR/ct-sip-ipv6-px/ # make clean # make <Target name> 例 make onepx-test 行 # make test 行 @Registration # make B-Reg @Session Establishment on One Proxy # make B-onepx @Routing # make B-routing @Forwarding Request # make B-request @Transaction # make B-transaction @Session Progress # make B-progress @Transport # make B-transport 行 @Authentication # make A-auth @Forking # make A-fork @Registration # make A-reg_a @Routing # make A-dns @Forwarding Reqeust # make A-options @Registration # make A-reg_b @Session Establishment on Two Proxies # make A-nni_session @Routing 925

# make A-nni-routing # make A-nni_dns # make A-ter-url @Routing Test Category # make A-timestamp 6.5.4 行 $YOURDIR/index.html 4 HTML 列 Log 欄 X 5 TN NUT OK 綠 Warning Error 連 ( 6 ) 流 流 JUDGEMENT 說 RFC IG(Implementation Guide) 4 926

5 927

6 流 7 論 package reference manual 利 UA 流 IPv6 SIP phone IPv6 不 server iptel.org SIP Express Router(SER) IPv6 了 SIP IPv6 SIP IPv4 立 IPv4 VoIP 928