micpez
micpez
Sorry, I cannot retrieve the packet. I was sniffing from the network, the picture is a real case.
I sniffed Server Hello. `len(bytes(pkt[TCP]))` gives 1380, which is correct. `len(bytes(pkt[TCP].payload)) `gives 1361 bytes instead of 1360, as in picture. `bytes(pkt[TCP][TLS_Ext_CSR])` gives `b'\x00\x05\x00\x00\x00'`. `bytes(pkt[TCP][TLS_Ext_CSR].raw_packet_cache)` gives `b'\x00\x05\x00\x00'`, as it should be...
Scapy encodes on 5 bytes due to: * raw_packet_cache is not considered in _GenericTLSSessionInheritance.__bytes__() * .i2m() method returns 0 even if val is None. I do not know if this...
Needs to be merged together with https://github.com/omec-project/omec-project-ci/pull/41
> `# SPDX-License-Identifier: Apache-2.0` > `# Copyright 2019-present Open Networking Foundation` @zdw is this OK?
> Could you provide a Scapy example that successfully build a packet with a valid checksum? @guedou is this what you mean? pkt = ICMPExtensionHeader() / ICMPExtensionMPLS(stack=MPLS(label=0x2714, ttl=1)) A possible...