File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export function toJA4(bytes) {
4444 the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
4545 should be ignored.
4646 */
47- let version = tlsr . version . value ;
47+ let version = tlsr . handshake . value . helloVersion . value ;
4848 for ( const ext of tlsr . handshake . value . extensions . value ) {
4949 if ( ext . type . value === "supported_versions" ) {
5050 version = parseHighestSupportedVersion ( ext . value . data ) ;
@@ -189,7 +189,7 @@ export function toJA4S(bytes) {
189189 the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
190190 should be ignored.
191191 */
192- let version = tlsr . version . value ;
192+ let version = tlsr . handshake . value . helloVersion . value ;
193193 for ( const ext of tlsr . handshake . value . extensions . value ) {
194194 if ( ext . type . value === "supported_versions" ) {
195195 version = parseHighestSupportedVersion ( ext . value . data ) ;
You can’t perform that action at this time.
0 commit comments