基于对等网的nat穿透技术的分析和实现-analysis and implementation of nat penetration technology based on peer-to-peer network.docxVIP

  • 5
  • 0
  • 约4.35万字
  • 约 60页
  • 2018-05-18 发布于上海
  • 举报

基于对等网的nat穿透技术的分析和实现-analysis and implementation of nat penetration technology based on peer-to-peer network.docx

基于对等网的nat穿透技术的分析和实现-analysis and implementation of nat penetration technology based on peer-to-peer network

AbstractPeer-to-peernetworktechnologiesisoneofhotspotnetworkapplications,whichhasachievedgreatsuccessinFile-Sharings,distributedcomputationanddistributedstorageandetc.aspects.However,thenetworkaddresstranslationtechnologywhichisraisedtosolvetheproblemsofIPaddresslacknessandnetworksecuritycausesthep2pnetworkcommunicationproblem.HowtosolvetheproblemoftraverseNATforsignalingandmediastreamefficientlywillbecomethekeytechnologyforimplementationandextensionofP2Pnetwork.Inthispaper,theprincipleandtraversemethodofNATtechniquearemainlydiscussed,combiningwiththefeatureofP2PnetworktosolvetheNATtraverseproblemofUDPandTCP,andoneschemeisdesignedforP2Pnetworktraversingcommunication.ComparingwithtraditionalthemoduleofC/S,P2Pnetworkmodulehasthefeaturesofstrongextensibilityandhighautomationnettingmode,asforthesecurityconsideration,manyterminalsthatbehindtheNAT,orevenaftermultipleNATs,theoutsidenetworkcannotaccesstheinternalcomputersdirectly,whichbringsgreatdifficultiestoresourcesharing.Amongtheexistingtraverseschemes,someneedtoremarkthecurrentequipments,andfewarefitfortheP2Pnetwork,suchas:STUN,TRUNandetc.Amongthem,STUNisbetterforUDPtraversing,butcannottraversesymmetricalNAT.ThoughTRUNcantraversesymmetricalNAT,itcausesnetworkdelaybecausepacketneedstotransmitthroughTRUNserver.TheseschemesarenotfitfortheNATtraverseproblemofUDPandTCPinP2Pnetwork.Inthispaper,theholepunchingschemeisraisedandthesignalingtransferandpackettransmitaredepartedinstructure.Signalingistransmittedthroughunitedservers,soastoimplementpunchinginNAT,andthusthepacketcanpassthroughtheholetotraverseNATeasilywithoutserversretransmitting,andfinallyimplementsNATtraversingofUDPandTCP.TheholepuchingschememustsetupthePublicNetworkRendezvousServer.Relaying,ConnectionReversalandecttechnologyisusedtoimplementpunchingaholeinthesingleNATandmultipleNAT.Inthisway,theschemeimplementstheUDPcommunication.AsforTCPcommunication,ConsideringTCPisakindofmultidirectionconnectionserver,theschemeimplementstheTCPtraversingbythiswaythatclientimitat

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档