1 line
19 KiB
XML
1 line
19 KiB
XML
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="996" height="1020"><desc>title%20Remote%20tunnel%20proxy%0A%0Anymea-%3Eproxy%3A%20RegisterProxyTunnelServer(uuid%2C%20name)%0A%0Anote%20over%20proxy%3A%20Register%20the%20server%20using%20the%20uuid%0A%0Anymea%3C-proxy%3A%20Success%0A%0Anote%20over%20nymea%2C%20proxy%3A%20Protocol%20from%20now%20on%20SLIP%5CnThe%20proxy%20is%20client%200x0000%0A%0Anote%20over%20nymea%2C%20proxy%3A%20SLIP%20encoded%20data%3A%202%20Bytes%20address%20%2B%20data%0A%0Aproxy%3C-client%3A%20ConnectProxyTunnelClient(uuid%2C%20name%2C%20serverUuid)%0A%0Anote%20over%20proxy%3A%20Search%20server%20using%20uuid%0A%0Anote%20over%20proxy%3A%20Server%3A%20Assign%20address%200x0001%20for%20this%20client%20socket%0A%0Aproxy-%3Enymea%3A%20SLIP%3A0x0000%3A%20ProxyTunnelClientConnected%20(address%3A%200x0001)%0A%0Aproxy%3C-nymea%3A%20SLIP%3A0x0000%3A%20AckProxyTunnelClient%20(address%3A%200x0001)%0A%0Aproxy-%3Eclient%3A%20ProxyTunnelEstablished(uuid%2C%20name%2C%20serverUuid)%0A%0Anote%20over%20proxy%2C%20client%3A%20Protocol%20from%20now%20on%20SLIP%20encoded%5CnThe%20proxy%20is%20client%200x0000%5CnThe%20connected%20server%20is%200xFFFF%0A%0Anote%20over%20proxy%2C%20client%3A%20SLIP%20encoded%20data%3A%202%20Bytes%20address%20%2B%20data%0A%0Anote%20over%20nymea%2C%20client%3A%20Connected%3A%20The%20client%20can%20now%20communicate%20with%20nymea%20directly.%0A%0Anote%20over%20nymea%2C%20client%3A%20nymea%20sends%20SLIP%20encoded%20data%20with%20address%200x0001%20-%3E%20client%0A%0Anote%20over%20nymea%2C%20client%3A%20client%20sends%20SLIP%20endcoded%20data%20with%20address%200xFFFF%20-%3E%20nymea</desc><defs/><g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g><rect fill="white" stroke="none" x="0" y="0" width="996" height="1020"/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="16.5pt" font-style="normal" font-weight="normal" text-decoration="normal" x="383.15939132640915" y="22.6179738" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Remote tunnel proxy</text></g><g/><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 49.04965860053027 88.511670804 L 49.04965860053027 1020.3721913640002" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray="11.598960923076923,5.0262164"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 537.7927149958427 88.511670804 L 537.7927149958427 1020.3721913640002" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray="11.598960923076923,5.0262164"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 952.6024522993583 88.511670804 L 952.6024522993583 1020.3721913640002" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray="11.598960923076923,5.0262164"/></g><g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 7.5393246000000005 47.799317964000004 L 90.55999260106054 47.799317964000004 L 90.55999260106054 88.511670804 L 7.5393246000000005 88.511670804 L 7.5393246000000005 47.799317964000004 Z" stroke-miterlimit="10" stroke-width="2.4125838720000004" stroke-dasharray=""/></g><g><g/><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="23.899658982" y="73.43302160400002" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">nymea</text></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 500.9990481706054 47.799317964000004 L 574.5863818210801 47.799317964000004 L 574.5863818210801 88.511670804 L 500.9990481706054 88.511670804 L 500.9990481706054 47.799317964000004 Z" stroke-miterlimit="10" stroke-width="2.4125838720000004" stroke-dasharray=""/></g><g><g/><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="517.3593825526054" y="73.43302160400002" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">proxy</text></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 916.092118298828 47.799317964000004 L 989.1127862998886 47.799317964000004 L 989.1127862998886 88.511670804 L 916.092118298828 88.511670804 L 916.092118298828 47.799317964000004 Z" stroke-miterlimit="10" stroke-width="2.4125838720000004" stroke-dasharray=""/></g><g><g/><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="932.4524526808281" y="73.43302160400002" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">client</text></g></g><g><g><g><rect fill="white" stroke="none" x="145.75939552170215" y="118.668969204" width="295.32358255296873" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="148.02119290170214" y="132.239753484" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">RegisterProxyTunnelServer(uuid, name)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 49.04965860053027 138.27121316400002 L 525.3779604878428 138.27121316400002" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(537.7927149958427,138.27121316400002) translate(-537.7927149958427,-138.27121316400002)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 525.2271739958427 131.98844266400002 L 537.7927149958427 138.27121316400002 L 525.2271739958427 144.55398366400001 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 391.7159389405498 160.889186964 L 670.2987067711357 160.889186964 L 683.8694910511357 174.459971244 L 683.8694910511357 195.57008012400001 L 391.7159389405498 195.57008012400001 L 391.7159389405498 160.889186964 M 670.2987067711357 160.889186964 L 670.2987067711357 174.459971244 L 683.8694910511357 174.459971244" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="412.8260478205498" y="181.99929584400002" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Register the server using the uuid</text></g><g><g><rect fill="white" stroke="none" x="261.642723005833" y="218.188053924" width="63.55692758470703" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="263.904520385833" y="231.758838204" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Success</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 537.7927149958427 237.790297884 L 61.46441310853027 237.790297884" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(49.04965860053027,237.790297884) translate(-49.04965860053027,-237.790297884)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 61.615199600530275 231.507527384 L 49.04965860053027 237.790297884 L 61.615199600530275 244.073068384 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 35.47887432053027 260.408271684 L 537.7927149958427 260.408271684 L 551.3634992758427 273.979055964 L 551.3634992758427 310.167814044 L 35.47887432053027 310.167814044 L 35.47887432053027 260.408271684 M 537.7927149958427 260.408271684 L 537.7927149958427 273.979055964 L 551.3634992758427 273.979055964" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="196.33785092172167" y="281.51838056400004" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Protocol from now on SLIP</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="196.33785092172167" y="296.597029764" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">The proxy is client 0x0000</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 35.47887432053027 332.785787844 L 537.7927149958427 332.785787844 L 551.3634992758427 346.356572124 L 551.3634992758427 367.466681004 L 35.47887432053027 367.466681004 L 35.47887432053027 332.785787844 M 537.7927149958427 332.785787844 L 537.7927149958427 346.356572124 L 551.3634992758427 346.356572124" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="134.5378554993584" y="353.89589672400007" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">SLIP encoded data: 2 Bytes address + data</text></g><g><g><rect fill="white" stroke="none" x="555.6357832158428" y="390.084654804" width="379.1236008635156" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="557.8975805958428" y="403.655439084" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">ConnectProxyTunnelClient(uuid, name, serverUuid)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 952.6024522993583 409.68689876400003 L 550.2074695038427 409.68689876400003" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(537.7927149958427,409.68689876400003) translate(-537.7927149958427,-409.68689876400003)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 550.3582559958428 403.404128264 L 537.7927149958427 409.68689876400003 L 550.3582559958428 415.96966926400006 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 425.4826091676006 432.30487256400005 L 636.5320365440849 432.30487256400005 L 650.1028208240849 445.87565684400005 L 650.1028208240849 466.98576572400003 L 425.4826091676006 466.98576572400003 L 425.4826091676006 432.30487256400005 M 636.5320365440849 432.30487256400005 L 636.5320365440849 445.87565684400005 L 650.1028208240849 445.87565684400005" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="446.59271804760056" y="453.4149814440001" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Search server using uuid</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 326.18260611584276 489.60373952400005 L 735.8320395958427 489.60373952400005 L 749.4028238758427 503.17452380400005 L 749.4028238758427 524.284632684 L 326.18260611584276 524.284632684 L 326.18260611584276 489.60373952400005 M 735.8320395958427 489.60373952400005 L 735.8320395958427 503.17452380400005 L 749.4028238758427 503.17452380400005" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="347.29271499584274" y="510.71384840400003" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Server: Assign address 0x0001 for this client socket</text></g><g><g><rect fill="white" stroke="none" x="66.89272682053026" y="546.902606484" width="453.0569199553125" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="69.15452420053026" y="560.473390764" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">SLIP:0x0000: ProxyTunnelClientConnected (address: 0x0001)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 537.7927149958427 566.504850444 L 61.46441310853027 566.504850444" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(49.04965860053027,566.504850444) translate(-49.04965860053027,-566.504850444)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 61.615199600530275 560.222079944 L 49.04965860053027 566.504850444 L 61.615199600530275 572.787620944 Z"/></g></g><g><g><rect fill="white" stroke="none" x="93.22605506760057" y="589.122824244" width="400.39026346117186" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="95.48785244760057" y="602.693608524" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">SLIP:0x0000: AckProxyTunnelClient (address: 0x0001)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 49.04965860053027 608.725068204 L 525.3779604878428 608.725068204" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(537.7927149958427,608.725068204) translate(-537.7927149958427,-608.725068204)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 525.2271739958427 602.442297704 L 537.7927149958427 608.725068204 L 525.2271739958427 615.0078387039999 Z"/></g></g><g><g><rect fill="white" stroke="none" x="565.019114514671" y="631.3430420039999" width="360.35693826585936" height="19.602243960000003"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="567.2809118946709" y="644.9138262839999" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">ProxyTunnelEstablished(uuid, name, serverUuid)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 537.7927149958427 650.9452859639999 L 940.1876977913583 650.9452859639999" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g transform="translate(952.6024522993583,650.9452859639999) translate(-952.6024522993583,-650.9452859639999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 940.0369112993583 644.662515464 L 952.6024522993583 650.9452859639999 L 940.0369112993583 657.2280564639999 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 524.2219307158427 673.5632597639999 L 952.6024522993583 673.5632597639999 L 966.1732365793583 687.1340440439999 L 966.1732365793583 738.4014513239999 L 524.2219307158427 738.4014513239999 L 524.2219307158427 673.5632597639999 M 952.6024522993583 673.5632597639999 L 952.6024522993583 687.1340440439999 L 966.1732365793583 687.1340440439999" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="615.8309149464287" y="694.6733686439999" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Protocol from now on SLIP encoded</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="615.8309149464287" y="709.7520178439999" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">The proxy is client 0x0000</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="615.8309149464287" y="724.8306670439998" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">The connected server is 0xFFFF</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 524.2219307158427 761.019425124 L 952.6024522993583 761.019425124 L 966.1732365793583 774.590209404 L 966.1732365793583 795.700318284 L 524.2219307158427 795.700318284 L 524.2219307158427 761.019425124 M 952.6024522993583 761.019425124 L 952.6024522993583 774.590209404 L 966.1732365793583 774.590209404" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="586.3142523487725" y="782.129534004" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">SLIP encoded data: 2 Bytes address + data</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 35.47887432053027 818.3182920840001 L 952.6024522993583 818.3182920840001 L 966.1732365793583 831.8890763640001 L 966.1732365793583 852.999185244 L 35.47887432053027 852.999185244 L 35.47887432053027 818.3182920840001 M 952.6024522993583 818.3182920840001 L 952.6024522993583 831.8890763640001 L 966.1732365793583 831.8890763640001" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="258.64272109935837" y="839.428400964" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">Connected: The client can now communicate with nymea directly.</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 35.47887432053027 875.6171590440001 L 952.6024522993583 875.6171590440001 L 966.1732365793583 889.1879433240001 L 966.1732365793583 910.2980522040001 L 35.47887432053027 910.2980522040001 L 35.47887432053027 875.6171590440001 M 952.6024522993583 875.6171590440001 L 952.6024522993583 889.1879433240001 L 966.1732365793583 889.1879433240001" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="268.89272109935837" y="896.7272679240001" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">nymea sends SLIP encoded data with address 0x0001 -> client</text></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 35.47887432053027 932.9160260040002 L 952.6024522993583 932.9160260040002 L 966.1732365793583 946.4868102840002 L 966.1732365793583 967.5969191640002 L 35.47887432053027 967.5969191640002 L 35.47887432053027 932.9160260040002 M 952.6024522993583 932.9160260040002 L 952.6024522993583 946.4868102840002 L 966.1732365793583 946.4868102840002" stroke-miterlimit="10" stroke-width="1.2565541" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="266.04271499584274" y="954.0261348840002" text-anchor="start" dominant-baseline="alphabetic" xml:space="preserve">client sends SLIP endcoded data with address 0xFFFF -> nymea</text></g></g><g/><g/><g/></g></svg> |