李肇林臺灣大學:資訊工程學研究所莊佑駿Chuang, Yu-ChunYu-ChunChuang2010-05-182018-07-052010-05-182018-07-052008U0001-2307200818233800http://ntur.lib.ntu.edu.tw//handle/246246/183644由於近幾年UPNP和DLNA的堀起,可以輕易的建立一個數位家庭,讓整個家裡只要架一個電腦server,在家裡任何一個地方只要有網路和電腦,就可以立即讀取存放在server的多媒體資料(如:電影、mp3),也不需要安裝任何驅動程式。而且現在很多電腦都有支援UPNP的功能,所以只要架設一台UPNP Server就可以提供多媒體資料讓Client使用。目前Linux和Windows都有提供Server的架設軟體,所以都可以輕易的建立一台server,至於client的部分,兩個OS也都有提供,但是最大的缺憾就是很少可以支援rmvb檔的部分。簡單的說,mpeg的影片可以透過upnp利用streaming的方式播放,但是大部分的播放軟體都不支援rm檔的播放。為了解決這類的問題,所以要設計一個軟體來達到這個目的,既可以播放rm檔又擁有upnp的功能。此外,為了安全性的問題,希望提供影片的電腦,可以隱藏不讓外部Client知道是從那台電影傳送影片,所以運用IP spoofing的概念,將傳送出去的封包利用程式把Server的IP更改掉,讓Client誤以為是從別台電影傳送影片封包,即使被攻擊,真正的Server端也不會受到侵害。Because the contribution of UPnP and DLNA, we can build a digit home. We can access the server which is set in home by using any device supported UPnP without installing any driver. Any multimedia put on the UPnP server can be used easier by any UPnP client.Both Linux and Windows have UPnP server software, so it is very easy to set up a UPnP environment. Both operating system have UPnP client, but all the player can not play rmvb movies. For example, mpeg movies can be played through UPnP by using streaming. But no player can play rmvb movies by using UPnP. We want to design a program to play rmvb movies through UPnP.We hope the server supported multimedia can hide the server IP when send the packets to client. This uses the IP spoofing concept to change the server IP when send the streaming packets. The client thinks the packets are come from the IP we change. We can avoid the server attacking by hacker.誌謝 I要 IIbstract III目錄 VI一章 序論 1.1 研究動機 1.2 研究問題 1.3 研究目標 2二章 系統背景 3.1 UPNP and DLNA 介紹 3.1.1 UPnP簡介 3.1.2 UPnP運作方式概述 6.1.3 DLNA簡介 8.2 Mplayer and VedioLAN 10.2.1 MPlayer: 10.2.2 Vlc 12.3 UPNP Server和Client的現行例子 13.3.1 UPNP Server: 13.3.2 UPNP Client: 17三章 系統實作 23.1系統概念 23.2系統背景 23.2.1 UPNP Library 23.2.2 整合Mplayer 24.2.3 個人防火牆 24.2.4 WinPcap 25.3 實作困難 25.3.1 播放器 25.3.2 個人防火牆 26.3.3 WinPcap 27.4 系統實作 27.4.1 UPNP Player: 27.4.2 費爾防火牆: 27.4.3 Winpcap: 29四章 系統操作與展示 31.1 UPNP Player播放影片 31.2 封包的轉送與接收 33五章 效能比較 39六章 未來展望 42.1 系統操作心得與改進 42.2 UPNP的連結和搜尋 42.3 整合網頁、UPnP、IP spoofing 42.4 自動填寫IP 43考文獻 44application/pdf3190471 bytesapplication/pdfen-USUPnPDLNA個人防火牆WinPcapIP spoofingPersonal Firewall使用IP spoofing概念實現在Linux上可播放rm的UPnP PlayerDesign the upnp player which can play rmvb in Linux by using ip spoofing conceptthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/183644/1/ntu-97-R95922105-1.pdf