Help to understand handshake.
This would be the third time I've tried to parse "arbitrary" garbage data. I'm expecting someone to look at this and confirm this doesn't look like a tor channel cell. Following is the example I'm working with, it's from Arti in case you think you recognize it. Where I get lost is [11]
to [17]
I get that it almost looks like a CERT channel cell. The size([16]
and [17]
) confuses me, it's way too big. It does kinda work if there is no size and [16]
indicates there are 5 certs. Then [17]
doesn't make sense for a cert type, but [18]
is just one bigger that it looks like it should be and if you continue that trend, you do get 5 minuscule certs with arbitrary types. Utter nonsense.
Here is my code, it loops endlessly(to run you'll also need to patch https://github.com/rust-bakery/nom-bufreader/issues/10#issuecomment-982347082): cheako/arti@76fbbee3
[0] = 0
[1] = 0
[2] = 7
[3] = 0
[4] = 6
[5] = 0
[6] = 3
[7] = 0
[8] = 4
[9] = 0
[10] = 5
[11] = 0
[12] = 0
[13] = 0
[14] = 0
[15] = 129
[16] = 5
[17] = 174
[18] = 5
[19] = 1
[20] = 2
[21] = 70
[22] = 48
[23] = 130
[24] = 2
[25] = 66
[26] = 48
[27] = 130
[28] = 1
[29] = 171
[30] = 160
[31] = 3
[32] = 2
[33] = 1
[34] = 2
[35] = 2
[36] = 8
[37] = 19
[38] = 118
[39] = 231
[40] = 255
[41] = 182
[42] = 16
[43] = 3
[44] = 112
[45] = 48
[46] = 13
[47] = 6
[48] = 9
[49] = 42
[50] = 134
[51] = 72
[52] = 134
[53] = 247
[54] = 13
[55] = 1
[56] = 1
[57] = 11
[58] = 5
[59] = 0
[60] = 48
[61] = 32
[62] = 49
[63] = 30
[64] = 48
[65] = 28
[66] = 6
[67] = 3
[68] = 85
[69] = 4
[70] = 3
[71] = 12
[72] = 21
[73] = 119
[74] = 119
[75] = 119
[76] = 46
[77] = 98
[78] = 53
[79] = 99
[80] = 52
[81] = 53
[82] = 119
[83] = 103
[84] = 111
[85] = 105
[86] = 97
[87] = 102
[88] = 120
[89] = 109
[90] = 46
[91] = 99
[92] = 111
[93] = 109
[94] = 48
[95] = 30
[96] = 23
[97] = 13
[98] = 50
[99] = 48
[100] = 49
[101] = 50
[102] = 48
[103] = 55
[104] = 48
[105] = 48
[106] = 48
[107] = 48
[108] = 48
[109] = 48
[110] = 90
[111] = 23
[112] = 13
[113] = 50
[114] = 49
[115] = 48
[116] = 54
[117] = 48
[118] = 57
[119] = 50
[120] = 51
[121] = 53
[122] = 57
[123] = 53
[124] = 57
[125] = 90
[126] = 48
[127] = 35
[128] = 49
[129] = 33
[130] = 48
[131] = 31
[132] = 6
[133] = 3
[134] = 85
[135] = 4
[136] = 3
[137] = 12
[138] = 24
[139] = 119
[140] = 119
[141] = 119
[142] = 46
[143] = 106
[144] = 114
[145] = 51
[146] = 108
[147] = 105
[148] = 116
[149] = 53
[150] = 55
[151] = 53
[152] = 105
[153] = 106
[154] = 122
[155] = 111
[156] = 103
[157] = 103
[158] = 105
[159] = 46
[160] = 110
[161] = 101
[162] = 116
[163] = 48
[164] = 130
[165] = 1
[166] = 34
[167] = 48
[168] = 13
[169] = 6
[170] = 9
[171] = 42
[172] = 134
[173] = 72
[174] = 134
[175] = 247
[176] = 13
[177] = 1
[178] = 1
[179] = 1
[180] = 5
[181] = 0
[182] = 3
[183] = 130
[184] = 1
[185] = 15
[186] = 0
[187] = 48
[188] = 130
[189] = 1
[190] = 10
[191] = 2
[192] = 130
[193] = 1
[194] = 1
[195] = 0
[196] = 206
[197] = 99
[198] = 14
[199] = 37
[200] = 112
[201] = 173
[202] = 161
[203] = 178
[204] = 52
[205] = 125
[206] = 112
[207] = 82
[208] = 53
[209] = 205
[210] = 139
[211] = 99
[212] = 238
[213] = 232
[214] = 180
[215] = 176
[216] = 219
[217] = 193
[218] = 7
[219] = 41
[220] = 1
[221] = 156
[222] = 15
[223] = 210