How to use node-opcua-debug - 10 common examples

To help you get started, we’ve selected a few node-opcua-debug examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
00000d60: 60 7b 01 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f    `{..../...http://opcfoundation.o
     00000d80: 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 03 00 00 00 01 00 00    rg/UA/SecurityPolicy#None.......
     00000da0: 00 30 00 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e    .0............3...http://opcfoun
     00000dc0: 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73    dation.org/UA/SecurityPolicy#Bas
     00000de0: 69 63 32 35 36 01 00 00 00 31 01 00 00 00 ff ff ff ff ff ff ff ff 33 00 00 00 68 74 74 70 3a 2f    ic256....1............3...http:/
     00000e00: 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f    /opcfoundation.org/UA/SecurityPo
     00000e20: 6c 69 63 79 23 42 61 73 69 63 32 35 36 01 00 00 00 32 02 00 00 00 ff ff ff ff ff ff ff ff 33 00    licy#Basic256....2............3.
     00000e40: 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65    ..http://opcfoundation.org/UA/Se
     00000e60: 63 75 72 69 74 79 50 6f 6c 69 63 79 23 42 61 73 69 63 32 35 36 4a 00 00 00 68 74 74 70 3a 2f 2f    curityPolicy#Basic256J...http://
     00000e80: 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72 61    opcfoundation.org/UA-Profile/Tra
     00000ea0: 6e 73 70 6f 72 74 2f 73 6f 61 70 68 74 74 70 2d 77 73 73 63 2d 75 61 78 6d 6c 2d 75 61 62 69 6e    nsport/soaphttp-wssc-uaxml-uabin
     00000ec0: 61 72 79 00                                                                                        ary.
     */
});
// client -> server : packet length 57  => CloseSecureChannelRequest
export const packet_cs_4 = makebuffer_from_trace(() =>  {
    /*
     00000000: 43 4c 4f 46 39 00 00 00 0a 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 95 78    CLOF9.....................D....x
     00000020: 65 d9 d0 1d cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         eYP.O....................
     */
});

// server -> client                      => CloseSecureChannelResponse
export const packet_sc_5 = makebuffer_from_trace(() =>  {
    /*
     00000000: 43 4c 4f 46 39 00 00 00 02 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 cd e6    CLOF9.....................D...Mf
     00000020: 25 6b 8c 1f cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         %k..O....................
     */
});

export const packet_cs_6 = makebuffer_from_trace(() =>  {
    /*
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
// tslint:disable:variable-name
import { makebuffer_from_trace } from "node-opcua-debug";


export const packet_cs_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 48 45 4c 46 4f 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00 2f 00 00 00    HELFO.................@...../...
     00000020: 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67    opc.tcp://tattata:62543/AAAAA/Ag
     00000040: 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72                                                       gregationServer
     */
});

export const packet_sc_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 41 43 4b 46 1c 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00                ACKF..................@.....
     */
});

// client -> server : packet length 132   => OpenSecureChannelRequest
export const packet_cs_2 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
     00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
     00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
     00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
     00000080: 80 ee 36 00                                                                                        .n6.
     */
});
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
*/
});

// client -> server : packet length 132   => OpenSecureChannelRequest
export const packet_cs_2 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
     00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
     00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
     00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
     00000080: 80 ee 36 00                                                                                        .n6.
     */
});

// server -> client : packet length 135    => OpenSecureChannelResponse
export const packet_sc_2 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4f 50 4e 46 87 00 00 00 0a 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
     00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
     00000040: ff ff ff ff ff ff ff 01 00 00 00 01 00 00 00 01 00 c1 01 4b 87 44 d9 d0 1d cf 01 01 00 00 00 00    .................A.K.DYP.O......
     00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 01 00 00 00 ed c3 43 d9 d0 1d cf 01 80    .......................mCCYP.O..
     00000080: ee 36 00 00 00 00 00                                                                               n6.....
     */
});

// client -> server : packet length 116  => GetEndpointsRequest
export const packet_cs_3 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4d 53 47 46 74 00 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 ac 01 00 00 b7 19    MSGFt.....................,...7.
     00000020: 40 d9 d0 1d cf 01 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 2f 00 00 00 6f 70 63    @YP.O..................../...opc
     00000040: 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67 67 72 65    .tcp://tattata:62543/AAAAA/Aggre
     00000060: 67 61 74 69 6f 6e 53 65 72 76 65 72 00 00 00 00 00 00 00 00                                        gationServer........
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
export const packet_cs_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 48 45 4c 46 4f 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00 2f 00 00 00    HELFO.................@...../...
     00000020: 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67    opc.tcp://tattata:62543/AAAAA/Ag
     00000040: 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72                                                       gregationServer
     */
});

export const packet_sc_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 41 43 4b 46 1c 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00                ACKF..................@.....
     */
});

// client -> server : packet length 132   => OpenSecureChannelRequest
export const packet_cs_2 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4f 50 4e 46 84 00 00 00 00 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
     00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
     00000040: ff ff ff ff ff ff ff 01 00 00 00 02 00 00 00 01 00 be 01 00 00 43 b2 42 d9 d0 1d cf 01 00 00 00    .................>...C2BYP.O....
     00000060: 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00    ................................
     00000080: 80 ee 36 00                                                                                        .n6.
     */
});

// server -> client : packet length 135    => OpenSecureChannelResponse
export const packet_sc_2 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4f 50 4e 46 87 00 00 00 0a 00 00 00 2f 00 00 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61    OPNF......../...http://opcfounda
     00000020: 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 65 63 75 72 69 74 79 50 6f 6c 69 63 79 23 4e 6f 6e 65 ff    tion.org/UA/SecurityPolicy#None.
     00000040: ff ff ff ff ff ff ff 01 00 00 00 01 00 00 00 01 00 c1 01 4b 87 44 d9 d0 1d cf 01 01 00 00 00 00    .................A.K.DYP.O......
     00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 01 00 00 00 ed c3 43 d9 d0 1d cf 01 80    .......................mCCYP.O..
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
00000fc0: 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2d 50 72 6f 66 69 6c 65 2f 54 72    /opcfoundation.org/UA-Profile/Tr
     00000fe0: 61 6e 73 70 6f 72 74 2f 75 61 74 63 70 2d 75 61 73 63 2d 75 61 62 69 6e 61 72 79 00 2c 00 00 00    ansport/uatcp-uasc-uabinary.,...
     00001000: 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65    http://tattata:62541/AAAAA/Aggre
     00001020: 67 61 74 69 6f 6e 53 65 72 76 65 72 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41    gationServer(...urn:localhost:UA
     00001040: 3a 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a    :AAAAA:AggregationServer"...uri:
     00001060: 61 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b    aaaaa.com:UA:AggregationServer..
     00001080: 00 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00    ...AAAAA.UA.Aggregation.Server..
     000010a0: 00 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61    ..............6...http://tattata
     000010c0: 3a 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64    :62541/AAAAA/AggregationServer/d
     000010e0: 69 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32    iscovery/...opc.tcp://tattata:62
     00001100: 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24                542/AAAAA/AggregationServer$
     */
});

// server -> client : packet length 3780  => GetEndpointsResponse 2/2
export const packet_sc_3_b = makebuffer_from_trace(() =>  {
    /*
     00000000: 03 00 00 30 82 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2    ...0...0............L~c4{G.S.y~"
     00000020: cd 64 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c    Md0...*.H.w......0?1.0.....&..r,
     00000040: 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20    d....tattata1$0"..U....AAAAA.UA.
     00000060: 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37    Aggregation.Server0...1401301447
     00000080: 32 32 5a 18 0f 32 30 36 33 30 35 31 33 31 34 34 37 32 32 5a 30 3f 31 17 30 15 06 0a 09 92 26 89    22Z..20630513144722Z0?1.0.....&.
     000000a0: 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20    .r,d....tattata1$0"..U....AAAAA.
     000000c0: 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 81 9f 30 0d 06 09 2a 86 48 86    UA.Aggregation.Server0..0...*.H.
     000000e0: f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 b7 db 2a ae 23 91 a4 6b d3 5a 7b bb 06 63    w..........0......7[*.#.$kSZ{;.c
     00000100: e7 c1 bc 4a 62 7a de 5d 54 bd b1 3f 55 65 25 b9 bc 99 55 19 b4 20 85 03 08 98 8e b3 29 0b fc 43    gA.=.'aO'..jd..+.~;z=.
     00000160: c5 64 8d 33 ca 91 b5 68 71 f0 4f 8b b9 4e a6 9a 39 31 02 03 01 00 01 a3 82 01 19 30 82 01 15 30    Ed.3J.5hqpO.9N&.91.....#...0...0
     00000180: 1d 06 03 55 1d 0e 04 16 04 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 30 76    ...U......%.{..Fa0#]B.D.ST,x.P0v
     000001a0: 06 03 55 1d 23 04 6f 30 6d 80 14 25 0a 7b 7f 14 c6 61 b0 23 5d 42 ff c4 9e 53 54 ac 78 20 d0 a1    ..U.#.o0m..%.{..Fa0#]B.D.ST,x.P!
     000001c0: 43 a4 41 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07 74 61 74 74 61 74 61 31 24    C$A0?1.0.....&..r,d....tattata1$
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
*/
});

// client -> server : packet length 116  => GetEndpointsRequest
export const packet_cs_3 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4d 53 47 46 74 00 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 ac 01 00 00 b7 19    MSGFt.....................,...7.
     00000020: 40 d9 d0 1d cf 01 01 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 2f 00 00 00 6f 70 63    @YP.O..................../...opc
     00000040: 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67 67 72 65    .tcp://tattata:62543/AAAAA/Aggre
     00000060: 67 61 74 69 6f 6e 53 65 72 76 65 72 00 00 00 00 00 00 00 00                                        gationServer........
     */
});


//  server -> client : packet length 4380  => GetEndpointsResponse 1/2
export const packet_sc_3_a = makebuffer_from_trace(() =>  {
    /*
     00000000: 4d 53 47 46 e0 1f 00 00 0a 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 af 01 ec 46 47 d9    MSGF`...................../.lFGY
     00000020: d0 1d cf 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 2f 00 00 00 6f 70 63 2e    P.O...................../...opc.
     00000040: 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67    tcp://tattata:62542/AAAAA/Aggreg
     00000060: 61 74 69 6f 6e 53 65 72 76 65 72 28 00 00 00 75 72 6e 3a 6c 6f 63 61 6c 68 6f 73 74 3a 55 41 3a    ationServer(...urn:localhost:UA:
     00000080: 41 41 41 41 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 22 00 00 00 75 72 69 3a 61    AAAAA:AggregationServer"...uri:a
     000000a0: 61 61 61 61 2e 63 6f 6d 3a 55 41 3a 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 02 1b 00    aaaa.com:UA:AggregationServer...
     000000c0: 00 00 41 41 41 41 41 20 55 41 20 41 67 67 72 65 67 61 74 69 6f 6e 20 53 65 72 76 65 72 02 00 00    ..AAAAA.UA.Aggregation.Server...
     000000e0: 00 ff ff ff ff ff ff ff ff 02 00 00 00 36 00 00 00 68 74 74 70 3a 2f 2f 74 61 74 74 61 74 61 3a    .............6...http://tattata:
     00000100: 36 32 35 34 31 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 2f 64 69    62541/AAAAA/AggregationServer/di
     00000120: 73 63 6f 76 65 72 79 2f 00 00 00 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35    scovery/...opc.tcp://tattata:625
     00000140: 34 32 2f 41 41 41 41 41 2f 41 67 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72 24 03 00 00 30 82    42/AAAAA/AggregationServer$...0.
     00000160: 03 20 30 82 02 89 a0 03 02 01 02 02 10 2e 1b cc fe 63 34 7b 47 9e d3 11 f9 fe a2 cd 64 30 0d 06    ..0............L~c4{G.S.y~"Md0..
     00000180: 09 2a 86 48 86 f7 0d 01 01 05 05 00 30 3f 31 17 30 15 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 07    .*.H.w......0?1.0.....&..r,d....
     000001a0: 74 61 74 74 61 74 61 31 24 30 22 06 03 55 04 03 13 1b 41 41 41 41 41 20 55 41 20 41 67 67 72 65    tattata1$0"..U....AAAAA.UA.Aggre
     000001c0: 67 61 74 69 6f 6e 20 53 65 72 76 65 72 30 20 17 0d 31 34 30 31 33 30 31 34 34 37 32 32 5a 18 0f    gation.Server0...140130144722Z..
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
// tslint:disable:variable-name
import { makebuffer_from_trace } from "node-opcua-debug";


export const packet_cs_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 48 45 4c 46 4f 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00 2f 00 00 00    HELFO.................@...../...
     00000020: 6f 70 63 2e 74 63 70 3a 2f 2f 74 61 74 74 61 74 61 3a 36 32 35 34 33 2f 41 41 41 41 41 2f 41 67    opc.tcp://tattata:62543/AAAAA/Ag
     00000040: 67 72 65 67 61 74 69 6f 6e 53 65 72 76 65 72                                                       gregationServer
     */
});

export const packet_sc_1 = makebuffer_from_trace(() =>  {
    /*
     00000000: 41 43 4b 46 1c 00 00 00 00 00 00 00 ff ff 00 00 ff ff 00 00 00 00 40 00 00 00 00 00                ACKF..................@.....
     */
});

// client -> server : packet length 132   => OpenSecureChannelRequest
export const packet_cs_2 = makebuffer_from_trace(() =>  {
    /*
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
00000300: 49 31 31 30 32 32 31 19 30 17 06 03 55 04 03 13 10 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e    I110221.0...U....UA.Sample.Clien
     00000320: 74 82 10 7b 41 d7 76 cb 6a 2b 41 94 07 96 c9 f8 03 d9 dc 30 0c 06 03 55 1d 13 01 01 ff 04 02 30    t..{AWvKj+A...Ix.Y\0...U.......0
     00000340: 00 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 02 f4 30 20 06 03 55 1d 25 01 01 ff 04 16 30 14 06    .0...U..........t0...U.%.....0..
     00000360: 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 38 06 03 55 1d 11 04 31 30 2f 86 20    .+.........+.......08..U...10/..
     00000380: 75 72 6e 3a 58 58 58 58 58 49 31 31 30 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74    urn:XXXXXI11022:UA.Sample.Client
     000003a0: 82 0b 58 58 58 58 58 49 31 31 30 32 32 30 0d 06 09 2a 86 48 86 f7 0d 01 01 05 05 00 03 81 81 00    ..XXXXXI110220...*.H.w..........
     000003c0: 25 d5 0b 8e a8 b6 41 eb 01 8b 9a f2 aa 34 40 26 d3 ec ff d2 9f 97 c0 b4 6d 9f fb 16 5e 02 71 7d    %U..(6Ak...r*4@&Sl.R..@4m.{.^.q}
     000003e0: 42 67 bb 60 b0 04 ea 6c db ad 48 b1 3a 45 0f a8 9b 35 6c 48 00 d8 2e a9 83 61 32 a8 21 98 7d 28    Bg;`0.jl[-H1:E.(.5lH.X.).a2(!.}(
     00000400: d8 75 1d 77 6a c1 9b d3 8c 39 4d 9e d9 30 cb d6 04 b3 13 d2 53 ad df 59 b6 82 41 20 94 e3 12 f1    Xu.wjA.S.9M.Y0KV.3.RS-_Y6.A..c.q
     00000420: 0d 3f 3e 92 be ce ba b4 16 dd 23 4a 15 2a 7e a9 27 d5 c6 78 0a 88 bf 21 29 00 ce 87 0c 91 42 b9    .?>.>N:4.]#J.*~)'UFx..?!).N...B9
     00000440: 00 00 00 00 80 4f 22 41 00 00 40 00                                                                .....O"A..@.
     */
});

// ActivateSesionRequest
export const packet_cs_7 = makebuffer_from_trace(() =>  {
    /*
     0000   4d 53 47 46 8d 00 00 00 08 00 00 00 01 00 00 00  MSGF............
     0010   03 00 00 00 03 00 00 00 01 00 d3 01 05 00 00 20  ...............
     0020   00 00 00 48 09 ee e7 c3 5d bb ce df d0 7a 7d c0  ...H....]....z}.
     0030   6e e8 54 ba bf fa 46 7e 3f b2 06 98 6e 71 a2 87  n.T...F~?...nq..
     0040   bd 2c 5d 30 8c 81 6d 17 21 cf 01 02 00 00 00 ff  .,]0..m.!.......
     0050   03 00 00 ff ff ff ff 00 00 00 00 00 00 00 ff ff  ................
     0060   ff ff ff ff ff ff 00 00 00 00 01 00 00 00 05 00  ................
     0070   00 00 66 72 2d 46 52 01 00 41 01 01 05 00 00 00  ..fr-FR..A......
     0080   01 00 00 00 30 ff ff ff ff ff ff ff ff           ....0........
     */
});

// ActivateSesionResponse
export const packet_sc_7 = makebuffer_from_trace(() =>  {
    /*
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
export const packet_cs_7 = makebuffer_from_trace(() =>  {
    /*
     0000   4d 53 47 46 8d 00 00 00 08 00 00 00 01 00 00 00  MSGF............
     0010   03 00 00 00 03 00 00 00 01 00 d3 01 05 00 00 20  ...............
     0020   00 00 00 48 09 ee e7 c3 5d bb ce df d0 7a 7d c0  ...H....]....z}.
     0030   6e e8 54 ba bf fa 46 7e 3f b2 06 98 6e 71 a2 87  n.T...F~?...nq..
     0040   bd 2c 5d 30 8c 81 6d 17 21 cf 01 02 00 00 00 ff  .,]0..m.!.......
     0050   03 00 00 ff ff ff ff 00 00 00 00 00 00 00 ff ff  ................
     0060   ff ff ff ff ff ff 00 00 00 00 01 00 00 00 05 00  ................
     0070   00 00 66 72 2d 46 52 01 00 41 01 01 05 00 00 00  ..fr-FR..A......
     0080   01 00 00 00 30 ff ff ff ff ff ff ff ff           ....0........
     */
});

// ActivateSesionResponse
export const packet_sc_7 = makebuffer_from_trace(() =>  {
    /*
     0000   4d 53 47 46 60 00 00 00 08 00 00 00 01 00 00 00  MSGF`...........
     0010   03 00 00 00 03 00 00 00 01 00 d6 01 17 ff 83 6d  ...............m
     0020   17 21 cf 01 02 00 00 00 00 00 00 00 00 00 00 00  .!..............
     0030   00 00 00 00 20 00 00 00 14 19 e7 a6 e6 cf 4c e2  .... .........L.
     0040   05 91 2c 1f 67 59 b1 10 ba d6 d1 46 77 89 39 9c  ..,.gY.....Fw.9.
     0050   20 bd 76 15 57 09 17 92 00 00 00 00 00 00 00 00  .v.W...........
     */
});
github node-opcua / node-opcua / packages / node-opcua-transport / test-fixtures / fixture_full_tcp_packets.ts View on Github external
export const packet_cs_4 = makebuffer_from_trace(() =>  {
    /*
     00000000: 43 4c 4f 46 39 00 00 00 0a 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 95 78    CLOF9.....................D....x
     00000020: 65 d9 d0 1d cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         eYP.O....................
     */
});

// server -> client                      => CloseSecureChannelResponse
export const packet_sc_5 = makebuffer_from_trace(() =>  {
    /*
     00000000: 43 4c 4f 46 39 00 00 00 02 00 00 00 01 00 00 00 03 00 00 00 03 00 00 00 01 00 c4 01 00 00 cd e6    CLOF9.....................D...Mf
     00000020: 25 6b 8c 1f cf 01 00 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00 00 00 00                         %k..O....................
     */
});

export const packet_cs_6 = makebuffer_from_trace(() =>  {
    /*
     00000000: 4d 53 47 46 4c 04 00 00 02 00 00 00 01 00 00 00 02 00 00 00 01 00 00 00 01 00 cd 01 00 00 16 12    MSGFL.....................M.....
     00000020: a8 62 a2 1f cf 01 01 00 00 00 ff 03 00 00 ff ff ff ff 00 00 00 00 00 00 00 20 00 00 00 75 72 6e    (b".O........................urn
     00000040: 3a 58 58 58 58 58 49 31 31 30 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 29 00 00    :XXXXXI11022:UA.Sample.Client)..
     00000060: 00 68 74 74 70 3a 2f 2f 6f 70 63 66 6f 75 6e 64 61 74 69 6f 6e 2e 6f 72 67 2f 55 41 2f 53 61 6d    .http://opcfoundation.org/UA/Sam
     00000080: 70 6c 65 43 6c 69 65 6e 74 2f 02 10 00 00 00 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 01    pleClient/.....UA.Sample.Client.
     000000a0: 00 00 00 ff ff ff ff ff ff ff ff 00 00 00 00 20 00 00 00 75 72 6e 3a 58 58 58 58 58 49 31 31 30    ...................urn:XXXXXI110
     000000c0: 32 32 3a 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 29 00 00 00 6f 70 63 2e 74 63 70 3a 2f    22:UA.Sample.Client)...opc.tcp:/
     000000e0: 2f 6c 6f 63 61 6c 68 6f 73 74 3a 36 31 32 31 30 2f 55 41 2f 53 61 6d 70 6c 65 43 6c 69 65 6e 74    /localhost:61210/UA/SampleClient
     00000100: 0b 00 00 00 4d 79 53 65 73 73 69 6f 6e 20 31 20 00 00 00 85 c7 1a 02 8b 96 b1 2e 14 2a 7f 00 16    ....MySession.1.....G....1..*...
     00000120: 20 56 06 f7 61 f8 ea 77 54 78 30 99 7b 45 5b e0 6c 36 82 09 03 00 00 30 82 03 05 30 82 02 6e a0    .V.waxjwTx0.{E[`l6.....0...0..n.
     00000140: 03 02 01 02 02 10 7b 41 d7 76 cb 6a 2b 41 94 07 96 c9 f8 03 d9 dc 30 0d 06 09 2a 86 48 86 f7 0d    ......{AWvKj+A...Ix.Y\0...*.H.w.
     00000160: 01 01 05 05 00 30 38 31 1b 30 19 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 0b 58 58 58 58 58 49 31    .....081.0.....&..r,d....XXXXXI1
     00000180: 31 30 32 32 31 19 30 17 06 03 55 04 03 13 10 55 41 20 53 61 6d 70 6c 65 20 43 6c 69 65 6e 74 30    10221.0...U....UA.Sample.Client0
     000001a0: 1e 17 0d 31 32 30 38 31 36 31 30 33 31 31 31 5a 17 0d 33 37 30 34 30 37 31 30 33 31 31 31 5a 30    ...120816103111Z..370407103111Z0
     000001c0: 38 31 1b 30 19 06 0a 09 92 26 89 93 f2 2c 64 01 19 16 0b 58 58 58 58 58 49 31 31 30 32 32 31 19    81.0.....&..r,d....XXXXXI110221.