Scapy Changelog

What's new in Scapy 2.5.0

Dec 25, 2022
  • Type hinting of Scapy core: Scapy now provides type hintings for all of its core
  • Python 3.9 and 3.10 support
  • Update built-in dependencies (six) + and our cryptography imports that created warnings
  • Fix sniffing performance issues with 2.4.4+ on Windows
  • SPDX License identifiers added
  • Several major CLI improvements, especially in autocompletion: you can now auto-complete the names for all Scapy fields, automatons, answering machines thanks to signature injection (and patches in IPython/bpython)

New in Scapy 2.4.5 (Jul 5, 2022)

  • Core:
  • 354 commits to master since v2.4.4, from 73 contributors
  • Python 3.9 support
  • New interfaces system. conf.iface is now an object (retro-compatible as a string) which contains additional information about the interface and allows for an automatic selection of the socket type. conf.ifaces now lists all available interfaces.
  • Fix *BSD support. Improve filters handling on Linux and libpcap
  • Automaton: support for STOP event - allows to cleanly end an Automata. Implemented in all Scapy's automatons
  • [Deprecated] Naming different fields with the same name will now raise a deprecation warning. This behavior has never properly worked and should never be necessary
  • Enhance Net and Net6
  • Improvements to scapy's logging, colored output and to UTscapy
  • Fix edge-cases with ConditionalField and MultipleTypeField to make them more resilient
  • [Doc] Enhancements: improved MultipleTypeField handling, add view source.
  • [Internal] Move the test suite to GitHub Actions
  • [Internal] Unit test housekeeping
  • [Internal] Begin type hinting
  • Layers:
  • 6LoWPAN refactor
  • TLS improvements (TLS 1.3 server downgrade, TLS 1.2 EXT MS...)
  • HTTP improvements (http_request, support for zstd...)
  • Refactor TunTap support
  • Cleanup MACsec
  • Many small bug fixes or improvements to layers (SMB2, BFD, DNS, Zigbee, EAP, HomeplugGP, DHCPv6, 802.11...)
  • Automotive:
  • Renaming of ENET to HSFZ
  • Added XCP layer
  • Added DoIP layer
  • [Internal] Cleanup of interface preparation code in unit tests
  • Renaming of ECU to Ecu
  • Refactoring of EcuState class to be more versatile
  • [Internal] Started with typing
  • [Internal] Multiple minor cleanups
  • Minor updates to the documentation

New in Scapy 2.4.4 (Mar 31, 2021)

  • Main Changes:
  • Core:
  • 784 commits to master since this v2.4.3
  • fix how timestamps are measured on layer 3 (broken since 2.4.1)
  • drop DNET support (deprecated since 2.4.0)
  • Scapy will now use libpcap instead of tcpdump to compile the filters (tcpdump is still used to filter pcaps)
  • major changes to the online doc: add an automatically generated API reference with visual representation of each layer, move to Sphinx 3.0.0, new layer-specific doc...
  • BSD fixes
  • more doc to many functions
  • Layers:
  • New layers (homeplug sg, smb2, NSH, RPL, ERSPAN, BFD, ROCE...)
  • TLS: TLS 1.3 support & many fixes
  • 802.11 improvements / WPA3 detection
  • Netflow 9 fixes
  • Major refactor & changes of the Automotive layers
  • HTTP changes
  • DHCPv6 fixes according to revision of the RFC
  • Bluetooth improvements (+BLE)
  • minor fixes to Radius, PPP, GTP, IPsec, CDP, VTP, HTTP/2, ...