scapy
scapy copied to clipboard
2.5.0 release
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
- 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
Hi. It would be great if #3591 / #3592 could be in the 2.5.0 release. :-) Best regards, Thomas
Hi. It would be great a function - json to pkt builder.
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
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).
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.
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.
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
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.
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 the corresponding commit is already part of the 2.5.0 RC.
I've never seen scapy fail to build like this, odd one for you: https://github.com/secdev/scapy/issues/3793
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.
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
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
2.5.0 was released ! Closing