scapy icon indicating copy to clipboard operation
scapy copied to clipboard

tls appear as padding

Open xqy19985211 opened this issue 1 year ago • 1 comments

Brief description

image

should be clienthello not padding

Scapy version

2.6.0rc1

Python version

3.10

Operating system

windows11

Additional environment information

No response

How to reproduce

conf.tls_session_enable = True


def sniff_callback(packet_):
    packet_.show()


sniff_ = AsyncSniffer(
    prn=sniff_callback,
    offline="tls1_3.pcapng")
sniff_.start()
sniff_.join()

The fourth packet should be clienthello not padding The following packet has many similar errors as well

tls1_2.zip

Actual result

No response

Expected result

No response

Related resources

No response

xqy19985211 avatar Apr 30 '24 03:04 xqy19985211

image same code when use scapy-2.5.0

xqy19985211 avatar Apr 30 '24 03:04 xqy19985211

Use

sniff(offline="tls1_2.pcapng", session=TCPSession)

gpotter2 avatar Jul 14 '24 17:07 gpotter2