Giter Site home page Giter Site logo

dpkt's Introduction

dpkt

Travis-CI Build Status Coverage Status PyPI Wheel Supported versions Supported implementations

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

dpkt's People

Contributors

brifordwylie avatar crocogorical avatar obormot avatar gendx avatar sunhao2014 avatar saylenty avatar smutt avatar dtrodrigues avatar c0r0n3r avatar sunhao2013 avatar remidesgrange avatar jameslittle avatar scott-hand avatar amgadhanafy avatar powerswitch avatar yegorich avatar tojaj avatar rhansen avatar kleptog avatar joachimmetz avatar georgeok avatar ngie-eign avatar ecatmur avatar tjwalton avatar ngrauel avatar ngober avatar mori-b avatar kylekeppler avatar kushfj avatar j-m-patterson avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.