Metadata-Version: 2.1 Name: dpkt Version: 1.9.6 Summary: fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols Home-page: https://github.com/kbandla/dpkt Author: Various Author-email: UNKNOWN License: BSD Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Natural Language :: English Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy ==== dpkt ==== | |travis| |coveralls| |wheel| |supported-versions| |supported-implementations| .. |travis| image:: http://img.shields.io/travis/kbandla/dpkt.svg :alt: Travis-CI Build Status :target: https://travis-ci.org/kbandla/dpkt .. |coveralls| image:: http://img.shields.io/coveralls/kbandla/dpkt.svg :alt: Coverage Status :target: https://coveralls.io/r/kbandla/dpkt .. |wheel| image:: https://img.shields.io/pypi/wheel/dpkt.svg :alt: PyPI Wheel :target: https://pypi.python.org/pypi/dpkt .. |supported-versions| image:: https://img.shields.io/pypi/pyversions/dpkt.svg :alt: Supported versions :target: https://pypi.python.org/pypi/dpkt .. |supported-implementations| image:: https://img.shields.io/pypi/implementation/dpkt.svg :alt: Supported implementations :target: https://pypi.python.org/pypi/dpkt Installation ============ :: pip install dpkt Documentation ============= https://dpkt.readthedocs.org/ Recent Stuff ============ **[2021-02-07]** Released 1.9.5, thanks a bunch to all contributors but mostly to @crocogorical for doing most of the work :) 1.9.5 Changelog: - New example showing how to process truncated DNS packets (examples/print_dns_truncated.py). - Corrected typo in BGP.notification attribute. - BGP.Update.Attribute.MPReachNLRI.SNPA now inherits from dpkt.Packet. - Byteorder is now specified when packing GRE optional fields. - #517: Improvement to Radiotap class, supporting multi-byte and misaligned flags fields. Endianness is now enforced. - Github issue template added for bug reporting. - Compliance with flake8 formatting. - asn1.py::utctime method now returns time in UTC, instead of local. - Allow multiple InterfaceDescriptionBlocks with pcapng.Writer. - SCTP decoder DATA chunk padding aligned to 4-bytes, and improved handling of .data field. - IEEE80211 DELBA frame now works on big and little-endian architectures. - Introduce compat.ntole which converts from network byte order to little-endian byte order, regardless of host endianness. - Ethernet class now attempts to unpack the padding and trailer if present. - Added anonymous property to cipher suites, which returns True if the cipher suite starts with 'anon'. - Added pfs (Perfect Forward Secrecy) and aead (Authenticated Encryption with Additional Data) properties to cipher suites. - Added old CHACHA20-POLY1305 related cipher suites to TLS CipherSuite list. - Remove redundant num_compression_methods from TLSClientHello - Testing improved from 90% coverage to over 99%. About ===== This code is based on `dpkt code `__ lead by Dug Song and is now being maintained and improved by an extended set of `contributors `__ and `developers `__. LICENSE ------- BSD 3-Clause