STUN协议技术原理及在TR-069的应用

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

STUNTR-069     STUNSTUNTR-069TR-069    TCP/HTTP/SOAP     CPE ACS!!!!####$%$%$%$%ConnectionRequest&'&'&'&'####()()()() ConnectionRequest*+,-*+,-*+,-*+,-TCP....UDP####ACS/0)1/0)1/0)1/0)1CPE23232323/4444  IPSec VPN     ACS        CPE 56565656789:;(789:;(789:;(789:;(NAT=?@:;=?@:;=?@:;=?@:;NATNAT—    AAAA9999BBBBCDCDCDCDEEEE23FGHIJ23FGHIJ23FGHIJ23FGHIJIP23232323####KLKLKLKLM%NOM%NOM%NOM%NOPQPQPQPQRRRRInternet==== RFC19183IPA10.0.0.010.255.255.255B172.16.0.0172.31.255.255C192.168.0.0192.168.255.255RFC1631TheIPNetworkAddressTranslator(NAT)RFC2663IPNetworkAddressTranslator(NAT)TerminologyandConsiderationsRFC3022TraditionalIPNetworkAddressTranslator(TraditionalNAT)lP  !#$%&’NAT()/*+,-./01234567-.0189;:=NATNAT—4FullConeNATBBBBSTUVQSTUVQSTUVQSTUVQEEEEPortRestrictedConeNATBBBB4444NAT—    •NAT •!#$•%&'() *+',-.FTP$NATNAT•/0UDP12STUNTURNICEuPnPALGs345stun,turn,ice6ietf789:voip;nat=?@AB$•/0TCPCDEF %GHIJKLNATNATTraversal!!!!NATNATTraversal!!!!•STUNMN9:ONAT?P•TURN6STUN@AQR ST UV9:0WXNAT?;•ICEC6YZSTUN[TURNX\QR]^ _7`MaVoIPbcdefghN[ijkl eQRSIP`m/nop`FqrLRstIP!u#v.w1!uTURNxyz!${|UDPNAT=}GH{|UDPNAT=}GHSTUNSTUN— NATUDP!!!!STUNSimpleTraversalofUDPoverNATsRFC3489 IP NATIP !#$%&'NAT()*+,#NAT-./0123456789UDP03:;=?BT@A)?@A?@A?@A?@ABBBBCDCDCDCDEFGEFGEFGEFGNATHHHHIJEFGIJEFGIJEFGIJEFGNATKLMIJEFGKLMIJEFGKLMIJEFGKLMIJEFGNATNNNNO@AO@AO@AO@ABBBBPPPPQGRSTUVWXYZ[\]GQGRSTUVWXYZ[\]GQGRSTUVWXYZ[\]GQGRSTUVWXYZ[\]GNAT^^^^_]‘ab_]‘ab_]‘ab_]‘abNATcNcNcNcNRFC3489SimpleTraversalofUserDatagramProtocol(UDP)ThroughNetworkAddressTranslators(NATs)STUNSTUN—#$%&#$%&#$%&#$%&STUNBCD6EFGHISTUNserverIP?PortJclientWANKLMNSTUNclientOPL+QRSmapaddressTUVWXNAT&'.)1+STUN )1+STUNYZ[)STUNYZ[\52+6]^_IP?2+6] )RFC3489`abc 3478)defg4hijD6klm&')STUNSTUN—Discovery$$$$%%%% (1) (2)UDP(3)UDP(4)NAT(5)NAT(6)NAT(7)!NATdC1eS1’f:S1eC1gh:ij-.ip(i1)kport(p1)lmS2eC1(i1:p1)’f:nC1&o:p(fullcone:qp(restriectedlrC1eS2’f:S2eC1gh:ij-.ip(i2)kport(p2),:nP2!=P1:/sC1oS2tuvw:p(SymmetricNATlxS1yz{*+eC1(i1:p1)’f,nc1|}~&op(portrestricted;UDPUDPSTUN''''STUN—BindingLifetimeDiscovery$$$$%%%%;NATG 0no5pqr/srtQNOK0nuvwx yh03zNAT{|}~|0n€67‚ƒ‚ƒNAT@pqr/‚„…ƒ:†fg03‡ˆ‰0n‚vwxŠ•~P1€ '‚ƒ„…†‡•ˆA‰Š‹ŒNŽ€ A•P1‘'+’“ M”‡€ •T•–O—‡B•˜T™ClientP3š›ServerœŠP2•ServerœŠ'P2žClientP1$A•ClientP1mServerŸš›•ServernŠ  ¡¢WANP2STUN;((((STUN—))))UDPP2P*+*+*+*+,,,,HolePunching----UDPHolePunching‹ŒŽ]STUNYZ[‘’“ UDP€”•–z—03r6‡0YZ[˜™kš›–€ 89P2Pœ)STUN....STUN—/0123/0123/0123/0123;BindingRequest,BindingResponse ID 128bit   STUNž4Ÿ 'TLV(type-length-value)¡¢L£ž4¤ž4¥)ž4¤¦20§¨£ž4&'?ZID?ž4¦©ž4¥„ªž4&'«STUN¬­®) MAPPED-ADDRESS!CHANGED-ADDRESS#$%    $%& '$% ()*+,-./STUN0TCP12345 STUN4444STUN—/0123/0123/0123/0123ž4&'¬­&'678 59UDP:;78 59TCP STUN ;TR-111¯CPE°±7K²³´µ¶5m0NAT·PACS)CPE°±70¸ACSK¹QNL‡’“„+}ºNAT)CPE°±7»NAT¼IP ½¾JACS)STUNservertz¿À•€Á]„STUNUsername?STUNPasswordÉACS6ÄÅÆ#STUNÇÈÆ#0l.É34ÊË.ÉÌÆÍzo¿À)ACSUDPCPECPE ACSCPE  CPEDiscoveryLifetimeCPEDiscoveryACSCPESTUNCPE1=?@1!A5BindingRequest$% B0xC001CONNECTION-REQUEST-BINDING0xC002BINDING-CHANGE 2!A5CD1EF 1!GHUDPIJ45STUNServerKLM:2!NOBHTTP1.1[2-6]PGET:3!QRSTUG#V./,W% STUN56565656—))))UDPTR-069789:789:789:789:,,,,#;#;#;#;----STUN STUN56565656—))))UDPTR-069789:789:789:789:,,,,=?@=?@=?@=?@----;CPE U

1 / 23
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功