Skip to content

Commit

Permalink
Merge branch 'dev' into 20230830getMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored Sep 17, 2023
2 parents 14cd397 + 897aa35 commit 7b6fc68
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ task:
test_pcapplusplus_script:
- python3 -m pip install gcovr
- python3 -m pip install -r ci/run_tests/requirements.txt
- python3 ci/run_tests/run_tests.py --interface eth0 --pcap-test-args="-n"
- python3 ci/run_tests/run_tests.py --interface eth0
coverage_report_script:
- gcovr -v -r . $GCOVR_FLAGS -o coverage.xml
- curl -Os https://uploader.codecov.io/latest/linux/codecov
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: mixed-line-ending
args: ['--fix=lf']
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/pocc/pre-commit-hooks
Expand All @@ -25,7 +25,7 @@ repos:
- id: codespell
pass_filenames: false
- repo: https://github.com/crate-ci/typos
rev: v1.16.5
rev: v1.16.11
hooks:
- id: typos
args: ['--config=typos-config.toml']
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,6 @@ We would very much appreciate any contribution to this project. If you're intere
## License
PcapPlusPlus is released under the [Unlicense license](https://unlicense.org/).
PcapPlusPlus is released under the [Unlicense license](https://choosealicense.com/licenses/unlicense/).
[![GitHub](https://img.shields.io/github/license/seladb/PcapPlusPlus?style=flat&color=blue&logo=unlicense)](https://unlicense.org/)
[![GitHub](https://img.shields.io/github/license/seladb/PcapPlusPlus?style=flat&color=blue&logo=unlicense)](https://choosealicense.com/licenses/unlicense/)
92 changes: 58 additions & 34 deletions cmake/package/READMEs/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,50 +1,74 @@
Release notes (changes from v22.05)
Release notes (changes from v22.11)
-----------------------------------

- PcapPlusPlus officially moved to C++11! (thanks @clementperon !)
- Remove the `pthreads` dependency and replace it with C++11 `std::thread` (thanks @clementperon !)
- Stop supporting MinGW32 on Windows since it doesn't support `std::thread`. MinGW-w64 and Visual Studio support remains unchanged
- PcapPlusPlus moved from a custom build system to CMake! (thanks @clementperon !)
- Added IP/IPv4/IPv6 network classes to better support netmask and subnets
- Add support for opening NFLOG live device (thanks @MrPeck !)
- MAC address OUI Lookup (thanks @egecetin !)
- Intel oneAPI compiler support (icpx) (thanks @egecetin !)
- DPDK improvements:
- Properly support no RSS mode in `DpdkDevice`
- Make DPDK app name configurable (thanks @szokovacs !)
- More generic search of DPDK KNI kernel module in `setup_dpdk.py`
- New protocols:
- Telnet (thanks @egecetin !)
- FTP (thanks @egecetin !)
- ICMPv6 (thanks @kolbex !)
- NDP (thanks @kolbex !)
- LLC (thanks @egecetin !)
- STP (thanks @egecetin !)
- SOME/IP (thanks @kolbex !)
- Wake on LAN (WoL) (thanks @egecetin !)
- DPDK 21.11 support
- Better support for DPDK `i40e` NICs
- DPDK set up - add an option to get `RTE_SDK` from the command line or from an environment variable
- Handle unilateral RST in TCP reassembly (thanks @neilstephens !)
- Retrieve live device IPv6 address if available (thanks @jafar75 !)
- Add `.zst` file extension support for pcapng files compressed with Zstd
- Internal tooling:
- Auto pre-commit monthly update (thanks @egecetin !)
- Add memory sanitizer regressions check (thanks @sashashura !)
- Add CodeQL SAST and remove LGTM which is being deprecated (thanks @sashashura !)
- Support multiple packets in fuzzing tests (thanks @sashashura !)
- Revamped README.md (thanks @egecetin !)
- Tons of bug fixes and minor improvements (thanks @clementperon, @egecetin, @sashashura, @szokovacs, @kayoub5, @bladchan, @npc144, @AlienX2001, @cswindle !)
- NFLOG (Linux Netfilter NFLOG) (thanks @jafar75 !)
- SLL2 (Linux cooked capture v2) (thanks @jiangjiongyu !)
- TPKT (thanks @wivien19 !)
- COTP (thanks @wivien19 !)
- VRRP (thanks @wangchong2023 !)
- Existing protocols improvements:
- HTTP - refactor and improve `HttpResponseStatusCode` (thanks @tigercosmos !)
- SSL/TLS - better detection of possible encrypted handshake messages (thanks @axmahr !)
- DNS - support parsing of resources with larger data (thanks @aengusjiang !)
- STP - add editing/crafting support (thanks @egecetin !)
- ARP - add `isRequest` and `isReply` methods (thanks @tigercosmos !)
- FTP-DATA support (thanks @egecetin !)
- NTP - support Kiss of Death (thanks @egecetin !)
- SIP - refactor status codes + add a few missing ones
- Modernize the codebase to use `nullptr` instead of `NULL` (thanks @clementperon !)
- Remove usage of unsupported `pcap_compile_nopcap()` (thanks @yushijinhun !)
- Internal tools:
- Codecov integration for coverage reports (thanks @egecetin !)
- Enable Clang-Tidy (thanks @clementperon !)
- Enable `cppcheck` (thanks @egecetin !)
- Improve the test framework
- Increase test coverage
- Remove deprecated methods (due to typos):
- `DhcpLayer::getMesageType()` -> replaced by `DhcpLayer::getMessageType()`
- `DhcpLayer::setMesageType()` -> replaced by `DhcpLayer::setMesasgeType()`
- `SSLHandshakeMessage::createHandhakeMessage()` -> replaced by `SSLHandshakeMessage::createHandshakeMessage()`
- `SSLClientHelloMessage::getExtensionsLenth()` -> replaced by `SSLClientHelloMessage::getExtensionsLength()`
- `SSLServerHelloMessage::getExtensionsLenth()` -> replaced by `SSLServerHelloMessage::getExtensionsLength()`
- Tons of bug fixes, security fixes, major and minor improvements (thanks @egecetin, @clementperon, @sashashura, @tigercosmos, @kolbex, @traversebitree, @JasMetzger, @tbhaxor, @yishai1999, @aengusjiang, @Heysunk, @jpcofr !)


Collaborators
-------------

- @clementperon
- @egecetin



Contributors
------------

- @kolbex
- @sashashura
- @neilstephens
- @tigercosmos
- @wivien19
- @jafar75
- @kayoub5
- @MrPeck
- @szokovacs
- @bladchan
- @npc144
- @AlienX2001
- @cswindle
- @axmahr
- @yishai1999
- @traversebitree
- @jiangjiongyu
- @wangchong2023
- @kolbex
- @JasMetzger
- @yushijinhun
- @aengusjiang
- @tbhaxor
- @Heysunk
- @jpcofr

**Full Changelog**: https://github.com/seladb/PcapPlusPlus/compare/v22.05...v22.11
**Full Changelog**: https://github.com/seladb/PcapPlusPlus/compare/v22.11...v23.09
6 changes: 6 additions & 0 deletions typos-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ extend-exclude = [ "*.toml",
SSLSymetricEncryptionAlgorithm = "SSLSymetricEncryptionAlgorithm"
OsiModelSesionLayer = "OsiModelSesionLayer"
Sip181CallisBeingForwarded = "Sip181CallisBeingForwarded"
# These identifiers below are coming from deprecated functions which is mentioned in cmake/package/READMEs/release_notes.txt
# They can be removed in next release (first release after v23.09) when the release notes are changed.
getMesageType = "getMesageType"
setMesageType = "setMesageType"
getExtensionsLenth = "getExtensionsLenth"
createHandhakeMessage = "createHandhakeMessage"

[default.extend-words]
ue = "ue"
Expand Down

0 comments on commit 7b6fc68

Please sign in to comment.