摘 要:IPv4是目前廣泛使用的互聯(lián)網(wǎng)IP技術(shù),IPv6則是下一代的IP協(xié)議,注入了許多新的內(nèi)容。隨著互聯(lián)網(wǎng)技術(shù)的不斷發(fā)展,IP協(xié)議將慢慢從IPv4過(guò)渡到IPv6。文件傳輸協(xié)議是互聯(lián)網(wǎng)上廣泛使用的在遠(yuǎn)程計(jì)算機(jī)系統(tǒng)和本地計(jì)算機(jī)系統(tǒng)之間傳輸文件的標(biāo)準(zhǔn)。因此,本次畢業(yè)設(shè)計(jì)研究在IPv6環(huán)境下FTP系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)。
本設(shè)計(jì)首先闡述了IPv6的發(fā)展?fàn)顩r,然后介紹了IPv6協(xié)議在各流行操作系統(tǒng)下的安裝與配置,最后按照RFC959-《標(biāo)準(zhǔn)文件傳輸協(xié)議》和RFC2428-《FTP對(duì)IPv6和NAT的擴(kuò)展》的要求,采用支持IPv6 Socket編程的JDK5.0,實(shí)現(xiàn)了絕大部分的FTP傳輸命令,包括一個(gè)服務(wù)端與一個(gè)客戶端程序,經(jīng)測(cè)試,均可工作于IPv4與IPv6環(huán)境。
關(guān)鍵字:IPv6 FTP C/S JDK5.0
The Design and Implement of FTP System Base on IPv6 Environment
Abstract: While IPv4 is widely used technique at present in the internet, IPv6 is the next generation Internet Protocol that brings many new contents. Along with the development of internet technique, transition from IPv4 to IPv6 is necessary though maybe slowly. File Transfer Protocol is widely used in internet and is the standard of transfer file between remote computer system and local computer system. Consequently, I investigate the design and implement of ftp system in IPv6 environment.
This paper first expounds the development of IPv6,then introduces IPv6's installation and configuration on popular operation systems, finally according to RFC595- and RFC2428-,with JDK5.0 which supports IPv6 socket programming, implements a majority of FTP commands. This design presents a server site and a client site, which can work on IPv4 and IPv6 environment.
Keywords: IPv6;FTP;C/S;JDK5.0