Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/50313
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor李允中
dc.contributor.authorJui-Chien Chinen
dc.contributor.author秦睿謙zh_TW
dc.date.accessioned2021-06-15T12:36:00Z-
dc.date.available2021-08-03
dc.date.copyright2016-08-03
dc.date.issued2016
dc.date.submitted2016-07-29
dc.identifier.citation[1] ice4j github main page. https://github.com/jitsi/ice4j. Accessed: 2016-07-19.
[2] Jitsi. https://jitsi.org/. Accessed: 2016-07-20.
[3] B. Campbell et al. Rfc 4975-the message session relay protocol (msrp), 2007.
[4] S. E. Deering. Internet protocol, version 6 (ipv6) specification. 1998.
[5] J. L. Eppinger. Tcp connections for p2p apps: A software approach to solving the nat problem. Institute for Software Research, page 16, 2005.
[6] E. Gamma. Design patterns: elements of reusable object-oriented software. Pearson Education India, 1995.
[7] S. Guha, Y. Takeda, and P. Francis. Nutss: A sip-based approach to udp and tcp network connectivity. In Proceedings of the ACM SIGCOMM workshop on Future directions in network architecture, pages 43–48. ACM, 2004.
[8] C. Huitema. Teredo: Tunneling ipv6 over udp through network address translations (nats). 2006.
[9] J. Lazzaro. Framing real-time transport protocol (rtp) and rtp control protocol (rtcp) packets over connection-oriented transport. 2006.
[10] R. Mahy, P. Matthews, and J. Rosenberg. Traversal using relays around nat (turn): Relay extensions to session traversal utilities for nat (stun). Technical report, 2010.
[11] W. Midcom. Symmetric nat traversal using stun, draft-takeda-symmetric-nattraversal- 00. txt. IETF (2003-2006), 2003.
[12] S. Perreault and J. Rosenberg. Traversal using relays around nat (turn) extensions for tcp allocations. Technical report, 2010.
[13] J. Rosenberg. Interactive connectivity establishment (ice): A protocol for network address translator (nat) traversal for offer/answer protocols. Technical report, 2010.
[14] J. Rosenberg. Tcp candidates with interactive connectivity establishment (ice). 2012.
[15] J. Rosenberg, R. Mahy, P. Matthews, and D. Wing. Session traversal utilities for nat (stun). Technical report, 2008.
[16] Y. Wei, D. Yamada, S. Yoshida, and S. Goto. A new method for symmetric nat traversal in udp and tcp. Network, 4:8, 2008.
[17] L. Zhang, W. Jia, X. Xiao, B. Dai, and H. Li. Research of tcp nat traversal solution based on port correlation analysis & prediction algorithm. In 2010 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM), pages 1–4. IEEE, 2010.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/50313-
dc.description.abstract本論文起始於在IOT 生態系統裡面對P2P 連線的需求。P2P 連線簡言之就是在做NAT 穿透。本論文總結了各種不同的NAT 穿透的機制,同時討論了每個機制的優點與缺點。因為沒有一個完整的解法,所以最後使用了一個名為ICE 的架構。ICE 透過截長補短,能夠在所有可能連線成功的機制中選出最好的連線。ICE 只有定義在UDP 上,它的延伸ICE-TCP 則是增加了TCP 的穿透機制。我們發現有一個開源專案實作了ICE 的架構,而我則將以其為基底增加ICE-TCP 的部分。在本論文中,我總結了在實作過程中碰到的各種問題與解法。最後完成了ICE-TCP 的實作。zh_TW
dc.description.abstractOriginally P2P connection mainly used for VoIP applications which usually apply UDP. However, for IOT ecosystem, it is required to connect many devices directly and reliably. As a result, P2P TCP connection is required. The P2P connection problem can be solved by solving NAT traversal problem. This research work concludes different NAT traversal mechanisms along with their pros and cons. The ICE framework that tries to integrate differents along with its TCP extension ICE-TCP is introduced as well. Based on the open source ice4j which implemented ICE, this research work implements ICE-TCP. Issues and problems met during the implementation of ICE-TCP were addressed. Finally, a complete P2P TCP connection library is published.en
dc.description.provenanceMade available in DSpace on 2021-06-15T12:36:00Z (GMT). No. of bitstreams: 1
ntu-105-R03922045-1.pdf: 2956838 bytes, checksum: 6759d60747bce02ec19dd430656eaf20 (MD5)
Previous issue date: 2016
en
dc.description.tableofcontents誌謝iii
Acknowledgements v
摘要vii
Abstract ix
1 Introduction 1
2 Background Knowledge 3
2.1 Network Address Translation (NAT) 3
2.2 NAT Traversal 3
2.2.1 Full Cone NAT 4
2.2.2 Address-Restricted Cone NAT 4
2.2.3 Port-Restricted Cone NAT 5
2.2.4 Symmetric NAT 5
3 Related Work 7
3.1 Connection Reverse 7
3.2 Relay 8
3.3 Routing Helper 8
3.4 NAT Supported 9
3.5 IPv6[4] 10
3.6 Hole Punching[5][15] 10
3.7 Port Prediction[16][17] 11
3.8 Spoof Packet 12
4 NAT Traversal with Interactive Connectivity Establishment 13
4.1 ICE 13
4.2 ICE-TCP 14
4.2.1 Framing 15
4.2.2 No Retransmit 15
4.2.3 Connection set up 15
4.2.4 One to one connection 16
5 Design and Implementation of ice4j 19
5.1 Socket 20
5.1.1 Demultiplex 20
5.1.2 Framing 24
5.1.3 Address reuse 25
5.1.4 Connection refuse 26
5.2 Harvester 26
5.3 Transaction 28
5.4 Stateful firewall 29
6 Evaluation 31
6.1 Time consumption for connection establishment 31
6.2 Data transfer 31
7 Conclusion 35
7.1 Contribution 35
7.2 Future work 36
Bibliography 37
dc.language.isoen
dc.title以互動式連線建立幫助物聯網進行NAT穿透zh_TW
dc.titleNAT Traversal with Interactive Connectivity Establishment for Internet of Thingsen
dc.typeThesis
dc.date.schoolyear104-2
dc.description.degree碩士
dc.contributor.oralexamcommittee逄愛君,蘇木春,許永真,徐國勛,林藎如
dc.subject.keyword點對點,NAT穿透,互動式連線建立,zh_TW
dc.subject.keywordP2P,NAT Traversal,ICE,en
dc.relation.page38
dc.identifier.doi10.6342/NTU201601663
dc.rights.note有償授權
dc.date.accepted2016-08-01
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept資訊工程學研究所zh_TW
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-105-1.pdf
  目前未授權公開取用
2.89 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved