dpkt
dpkt copied to clipboard
fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols
> - 3.10: released on 2021-10-04 > - 3.11: released on 2022-10-24 Similar to #554 two years ago.
This currently blocks https://github.com/kbandla/dpkt/pull/650 and any future pull requests. On Dec 15th '22 GitHub switched its "ubuntu-latest" from Ubuntu 20.04 to 22.04, which doesn't support the older python versions set...
Allows to specify that a response is belonging to a head request and should not have a body #648 Usage: ```python import dpkt head_response = b"HTTP/1.1 200 OK\r\nContent-Length: 10\r\n\r\n" resp...
**Describe the bug** HTTP HEAD Responses are currently not parsed correctly. As there is no body, the library raises an Error and it does not seem possible to ignore it...
**Describe the bug** After parsing a Diameter message, calling `__bytes__` (e.g. by printing it) **To Reproduce** Steps to reproduce the behavior: ``` diam = dpkt.diameter.Diameter(data) print(diam.len) # prints a number...
The action no ack message is the same as the regular action message.
**Describe the bug** It seems that dpkt can not parse pcap files captured for Chrome 124 with the X25519Kyber768 key encapsulation method. It alwasy gives a NeedData error: ``` dpkt.dpkt.NeedData:...
Others are added simply by not throwing `ParseException` on parse failure. The user will at least get a packet with `type`, `subtype `, and `data` and will be able to...
Mention `SLL2` parser for Linux PCAP files. I need to dig on github issues to understand why `eth.data` returned `bytes` instead `IP` class. I think that may help other users
**Describe the bug** An HTTP2 DataFrame with pad_length=0 returns no payload **To Reproduce** When unpacking a PaddedFrame with HTTP2_FLAG_PADDED, zero is a valid pad_length, however the calculation of the payload...