dpkt icon indicating copy to clipboard operation
dpkt copied to clipboard

fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols

Results 90 dpkt issues
Sort by recently updated
recently updated
newest added

This test gives me trouble. https://github.com/kbandla/dpkt/blob/2d30526422d48f83d4f724221d9ae0dcd5ff57fe/dpkt/dpkt.py#L62-L65 I think it should not be called on `ph_struct` but a concat of the classes `__byte_order__` and it, no? On my system the test...

Those "coverage decreased" failures are bogus and appear when the coverage has not changed at all, which can be confirmed by looking at the detailed report in Coveralls. There should...

This page doesn't get properly rendered: https://kbandla.github.io/dpkt/contributing.md I have no idea why, so look into it.

Hi, Is there a way to retrieve the ip options and padding from ip.py in dpkt? I would like to get router alert at the end, and the padding, I...

question

Often times, windows users open the files with the wrong mode. Unfortunately, the file mode property is read-only, so we can not fix it on the fly. Raise an exception...

in progress

How can I extract sequence number and fragment number of a 802.11 packet using dpkt? I don't see these fields in the source code for dpkt.ieee80211 (https://dpkt.readthedocs.io/en/latest/_modules/dpkt/ieee80211.html). I am able...

question

I have such code: ```python nss_keys = {} with open("captured.keylog", "r") as keylogfd: for line in keylogfd.readlines(): tokens = line.strip().split() if tokens[1] not in nss_keys: nss_keys[tokens[1]] = {} if tokens[0]...

So this is mostly for my own edification, would it be useful/helpful to add an example/ that reads packet from a live interface? Even if the example included an external...

documentation

We'd like to have the CI/CD test also cover BIG endian platforms, so we should figure out how to do that with GithubActions. shrug.. maybe this? https://github.com/uraimo/run-on-arch-action Related to: -...

code quality