scapy icon indicating copy to clipboard operation
scapy copied to clipboard

2.5.0 release

Open gpotter2 opened this issue 2 years ago • 9 comments

This issue tracks the associated 2.5.0 release. As usual, feel free to comment down below to have some features/bugs included before the final release.

Main changes

  • Type hinting of Scapy's core: Scapy now provides type hintings for all of its core, following https://github.com/secdev/scapy/issues/2158
  • Python 3.10 support. Also adds OSX 10.15 support
  • Update builtin dependencies (six) + and our cryptography imports that created warnings
  • Fix sniffing performance issues with 2.4.4+ on Windows
  • Greatly improve BPF (OSX) support (timestamps...)
  • Several major CLI improvements, especially in autocompletion: you can now auto-complete the names for all of Scapy's fields, automatons, answering machines thanks to signature injection (and patches in IPython/bpython)

Core changes

  • Improved support of BPF
  • Support pcapng writing, comments, TLS secrets decryption block
  • Re-work how sent_time is shared across packets iterators
  • support new LINUX_SLL2 packet type (new tcpdump versions)

Main changes to layers

  • new layers related to Windows: DCERPC/NTLM/KERBEROS/GSSAPI/SPNEGO/(C)LDAP.
  • new contrib layers: ESMC/RTPS/RTPC/metawatch
  • rework Netbios/SMB1/SMB2, basic SMB clients & server, ntlm relay
  • several fixes to the TLS implementation
  • major zigbee/6lowpan improvements
  • bug fixes in TLS: properly support FFDH, fix the TLS 1.3 notebooks... among other things
  • p0f module update
  • IPsec: fixes, x25519 support...
  • various updates to the ASN.1 engine
  • MANY MORE

Misc

  • new sanity rules prevent fields from having the same name in all packets
    • Currently displays a warning but will become a SyntaxError in the future !
  • archives of the Scapy repo should now have more consistent hashes

gpotter2 avatar Mar 29 '22 12:03 gpotter2

  • new CyclicPattern class for payload generation

Automotive

  • ISOTPSoftSocket: Bug fixes and performance improvements
  • Documentation and API-Doc improvements
  • Unit-Test speedups for Scanners
  • IPv6 support for DoIP
  • Bugfixes for DoIP
  • Unit-Test cleanups
  • UDS-, GMLAN- and OBD-Scanner refactoring

polybassa avatar Apr 04 '22 11:04 polybassa

Hi. It would be great if #3591 / #3592 could be in the 2.5.0 release. :-) Best regards, Thomas

othiman avatar May 16 '22 10:05 othiman

Hi. It would be great a function - json to pkt builder.

Tsvetk avatar May 26 '22 11:05 Tsvetk

Hi, it would be great to merge this bugfix for IPv6 in the 2.5.0 release :)

https://github.com/secdev/scapy/pull/3633 It has been merged to the master branch.

Main changes to layers

  • bug fix for IPv6 HBH & DOH extension header: build HBHOptUnknown with disabled autopad #3633

MaoJianwei avatar Jun 16 '22 03:06 MaoJianwei

I'm sorry but I can't tell how close the milestone is to "ready"? In this case I need to consume this via normal pip install and exercise the new enum support. Any idea when a new release might make it to Pypi? Thanks in advance (also for the nice tool).

sarnold avatar Aug 12 '22 02:08 sarnold

Hi there, good question.

We could probably do a release candidate right now, if the rest of the maintainers agree. WDYT @guedou @p-l- ?

I'd like to have at least #3684 in the final release.

gpotter2 avatar Aug 12 '22 05:08 gpotter2

I can try to release a RC by Aug 21.

Sent from my iPhone

On 12 Aug 2022, at 00:18, gpotter2 @.***> wrote:

 Hi there, good question.

We could probably do a release candidate right now, if the rest of the maintainers agree. WDYT @guedou @p-l- ?

I'd like to have at least #3684 in the final release.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

guedou avatar Aug 12 '22 14:08 guedou

FTR, I started testing the current master on *BSD and made an attempt at testing Scapy on FreeBSD using github actions https://github.com/secdev/scapy/pull/3716

guedou avatar Aug 17 '22 10:08 guedou

I just tagged v2.5.0rc1 on github and released it on PyPI. Enjoy!

guedou avatar Aug 21 '22 19:08 guedou

I just tagged v2.5.0rc2 on github and released it on PyPI. It took way longer that I had expected. I am still struggling to make the last BSD regression tests work.

guedou avatar Oct 04 '22 18:10 guedou

Hi there,

Just want to know, when 2.5.0 will be released? We would like to use the LINUX_SLL2 to analyze the pcap files..

Thanks so much

Willy-Hu avatar Nov 07 '22 20:11 Willy-Hu

@Willy-Hu the corresponding commit is already part of the 2.5.0 RC.

guedou avatar Nov 08 '22 19:11 guedou

I've never seen scapy fail to build like this, odd one for you: https://github.com/secdev/scapy/issues/3793

stryngs avatar Nov 18 '22 05:11 stryngs

The release of v2.5.0 has never been so close. All issues listed in https://github.com/secdev/scapy/milestone/1 have a corresponding PR.

guedou avatar Dec 06 '22 19:12 guedou

I just tagged v2.5.0rc3 on github and released it on PyPI.

guedou avatar Dec 12 '22 20:12 guedou

Here is the changelog that will be published for v2.5.0:

Changelog

Scapy v2.5.0 is the last version to support Python 2.7

Main Changes

  • Type hinting of Scapy core: Scapy now provides type hintings for all of its core
  • Python 3.9 and 3.10 support
  • macOS 10.15 support
  • update built-in dependencies (six) + and our cryptography imports that created warnings
  • fix sniffing performance issues with 2.4.4+ on Windows
  • greatly improve BPF (macOS) support (timestamps...)
  • enhanced loopback interface support on Linux, *BSD, and 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)

Core

  • improved support of BPF
  • support pcapng writing, comments, TLS secrets decryption block
  • Re-work how sent_time is shared across packets iterators
  • support new LINUX_SLL2 packet type (new tcpdump versions)
  • pipes: performances issues fixed
  • tools: fixes to hexdiff, lhex...

Layers

  • new layers related to Windows: DCERPC/NTLM/KERBEROS/GSSAPI/SPNEGO/(C)LDAP.
  • new contrib layers: ESMC/RTPS/RTPC/metawatch
  • rework Netbios/SMB1/SMB2, basic SMB clients & server, ntlm relay
  • several fixes to the TLS implementation
  • major zigbee/6lowpan improvements
  • bug fixes in TLS: properly support FFDH, fix the TLS 1.3 notebooks... among other things
  • p0f module update
  • IPsec: fixes, x25519 support...
  • various updates to the ASN.1 engine
  • IKEv2: fixes, UDP encapsulation
  • STUN support
  • Postgres line protocol 3.0 support
  • EDNS0 client subnet support
  • ESMC protocol added
  • support TCP-MD5 and TCP-AO options
  • ERF Ethernet Support
  • many fixes: modbus, 802.11, BTLE, SCTP, DNS, LLDP, Kerberos, RTPS, DHCP, MQTT, BGP, L2TP...

Automotive

  • implementation of KWP2000 and KNXnet/IP
  • refactoring
  • improved performances and stability

Misc

  • new sanity rules prevent fields from having the same name in all packets
    • Currently displays a warning but will become a SyntaxError in the future!
  • archives of the Scapy repo should now have more consistent hashes

guedou avatar Dec 23 '22 16:12 guedou

Automotive

  • ISOTPSoftSocket: Bug fixes and performance improvements
  • Documentation and API-Doc improvements
  • Unit-Test speedups for Scanners
  • IPv6 support for DoIP
  • Bugfixes for DoIP
  • Unit-Test cleanups
  • UDS-, GMLAN- and OBD-Scanner refactoring
  • CANFD support

polydroi avatar Dec 23 '22 19:12 polydroi

2.5.0 was released ! Closing

gpotter2 avatar Dec 25 '22 11:12 gpotter2