Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
816ed59
Fix vuln OSV-2024-947
oss-patch Dec 24, 2024
1606c6f
Fix format err
oss-patch Jan 4, 2025
3fc5581
Fix format err
oss-patch Jan 10, 2025
28f01b9
Fix format err
oss-patch Jan 11, 2025
c4c655a
Fix format err
oss-patch Jan 16, 2025
6a49ae5
Refactored MacAddress to use std::array internally. (#1692)
Dimi1010 Jan 23, 2025
2d0fc5a
Fixed ostream operator<< declared outside the class namespace, preven…
Dimi1010 Jan 23, 2025
cd11aca
Merge branch 'dev' into patch-OSV-2024-947
oss-patch Jan 24, 2025
3af7383
Overhaul of the Logging Infrastructure (#1596)
Dimi1010 Jan 29, 2025
2ae8837
Auto precommit update (#1701)
seladb Feb 1, 2025
4ea938b
Added static asserts to fixed length header structures used for decod…
Dimi1010 Feb 2, 2025
66ccbe8
Reformat Packet++ documentation to use triple-slash doxygen format. (…
Dimi1010 Feb 3, 2025
a9e8239
Fix Heap-buffer-overflow in __parse_options (#1678)
oss-patch Feb 3, 2025
80277e1
Bump the pip-dependencies group across 1 directory with 2 updates (#1…
dependabot[bot] Feb 3, 2025
3292f14
Auto OUI Database Update (#1700)
seladb Feb 3, 2025
0fdcb1f
Auto OUI Database Update (#1723)
seladb Mar 1, 2025
631245d
Marked Logger copy ctors as deleted. (#1714)
Dimi1010 Mar 18, 2025
49ac8ef
Update GitHub Actions Cache to 4.2.2 (#1729)
seladb Mar 18, 2025
62e4f35
Fix memory management in RawPacket (#1709)
ol-imorozko Mar 18, 2025
4f650ff
Use lowercase for Windows headers (#1716)
orgads Mar 18, 2025
231cba2
Allow gratuitous ARP requests. (#1684)
Dimi1010 Mar 19, 2025
2089468
Remove non-functional SSL 2 version code point (#1694)
droe Mar 19, 2025
5a86e05
Auto precommit update (#1724)
seladb Mar 19, 2025
7b96fc8
Fix CMake config file to use PcapPlusPlus_INCLUDE_DIR consistently (#…
enomis101 Mar 19, 2025
5db5cad
Fix getCommandOption for command-only packets (#1718)
s-genereux Mar 19, 2025
6dadc4a
Merge branch 'dev' into patch-OSV-2024-947
seladb Mar 20, 2025
a78cdc6
Exported set thread affinity code to a helper function. (#1734)
Dimi1010 Mar 22, 2025
63620c8
Adds CMake variable to configure compile time log levels. (#1733)
Dimi1010 Mar 22, 2025
bb68751
Bump the actions-dependencies group across 1 directory with 11 update…
dependabot[bot] Mar 22, 2025
97be1df
Added `noexcept` specifier to custom deleters throughout the project.…
Dimi1010 Mar 23, 2025
7bbe77f
Change `PfRingDevice::m_CoreConfiguration` to std::array (#1736)
Dimi1010 Mar 23, 2025
d8e3195
FIxed reentrant mode allocated buffer going out of scope. (#1737)
Dimi1010 Mar 23, 2025
86103da
Pin `cppcheck` to version 2.9 (#1739)
seladb Mar 24, 2025
b9ee9d6
Add `UdpLayer::isDataValid()` (#1741)
seladb Mar 24, 2025
52d25b5
Add `PPP_PPTPLayer::isDataValid()` (#1742)
seladb Mar 25, 2025
1c2d4e5
Reorders the implementation order of PcapFileDevice.cpp to match the …
Dimi1010 Mar 27, 2025
ca51538
Add Cisco HDLC layer (#1747)
seladb Mar 28, 2025
5b6a51c
Changes PfRingDevice::m_StopThread to atomic. (#1746)
Dimi1010 Mar 28, 2025
70c87c3
Merge branch 'dev' into patch-OSV-2024-947
seladb Mar 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[codespell]
skip = *.dat,typos-config.toml,.git,.venv,./ci,./Dist,./mk,./Tests/ExamplesTest/expected_output,./Tests/ExamplesTest/pcap_examples,./Tests/Packet++Test/PacketExamples,./Tests/Pcap++Test/PcapExamples,./3rdParty,./Examples/PcapSearch/dirent-for-Visual-Studio
skip = *.dat,typos-config.toml,.git,.venv,venv,./out,./ci,./Dist,./mk,./Tests/ExamplesTest/expected_output,./Tests/ExamplesTest/pcap_examples,./Tests/Packet++Test/PacketExamples,./Tests/Pcap++Test/PcapExamples,./3rdParty,./Examples/PcapSearch/dirent-for-Visual-Studio
ignore-words = codespell-ignore-list.txt
count =
8 changes: 4 additions & 4 deletions .github/workflows/auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
with:
ref: dev
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.8.x"
- name: Run update
run: |
pip install pre-commit
pre-commit autoupdate
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.PAT }}
author: GitHub <[email protected]>
Expand All @@ -50,15 +50,15 @@ jobs:
with:
ref: dev
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.9.x"
- name: Run update
run: |
python3 3rdParty/OUIDataset/create_oui_data.py
mv -f PCPP_OUIDataset.json 3rdParty/OUIDataset/PCPP_OUIDataset.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.PAT }}
author: GitHub <[email protected]>
Expand Down
49 changes: 26 additions & 23 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
BUILD_DIR: Dist
GCOVR_FLAGS: --gcov-ignore-parse-errors --exclude-throw-branches --filter Common --filter Pcap --filter Packet --xml
CCACHE_DIR: ${{ github.workspace }}/.ccache
CPPCHECK_VERSION: 2.9

permissions:
contents: read
Expand All @@ -33,7 +34,9 @@ jobs:

- name: Install dependencies
run: |
apk update && apk add cppcheck python3-dev
apk update && apk add python3-dev
git clone --branch $CPPCHECK_VERSION --single-branch https://github.com/danmar/cppcheck.git
cd cppcheck && mkdir build && cd build && cmake .. && cmake --build . && cmake --install . && cd ../../ && rm -rf cppcheck
python3 -m venv .venv
. .venv/bin/activate
python3 -m pip install pre-commit setuptools clang-format==19.1.6 clang-tidy==18.1.8
Expand Down Expand Up @@ -91,7 +94,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: |
${{ env.CCACHE_DIR }}
Expand Down Expand Up @@ -146,7 +149,7 @@ jobs:
gcovr -v -r . ${{ matrix.additional-gcov-flags }} $GCOVR_FLAGS -o coverage.xml

- name: Upload Coverage Results
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
files: ./coverage.xml
flags: ${{ matrix.image }},unittest
Expand All @@ -156,7 +159,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
Expand All @@ -179,7 +182,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ matrix.image }}-ccache-${{ github.run_id }}
Expand Down Expand Up @@ -220,7 +223,7 @@ jobs:
run: cd build_examples/tutorials_bin && ./Tutorial-HelloWorld

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
Expand All @@ -239,7 +242,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ matrix.image }}-ccache-${{ github.run_id }}
Expand Down Expand Up @@ -277,7 +280,7 @@ jobs:
run: cd build_examples/tutorials_bin && ./Tutorial-HelloWorld

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
Expand Down Expand Up @@ -321,7 +324,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
# support version: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python-version: "3.12"
Expand All @@ -331,7 +334,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ matrix.os-version }}-${{ matrix.arch }}-ccache-${{ github.run_id }}
Expand Down Expand Up @@ -394,7 +397,7 @@ jobs:
gcovr -v -r . $GCOVR_FLAGS -o coverage.xml

- name: Upload Coverage Results
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
if: ${{ matrix.host-arch == matrix.arch }}
with:
files: ./coverage.xml
Expand All @@ -405,7 +408,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
Expand All @@ -425,7 +428,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup MSYS2
uses: msys2/setup-msys2@c52d1fa9c7492275e60fe763540fb601f5f232a1 # v2.25.0
uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
with:
msystem: ${{matrix.sys}}
install: >-
Expand All @@ -435,7 +438,7 @@ jobs:
mingw-w64-${{matrix.env}}-make

- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.12"

Expand Down Expand Up @@ -483,7 +486,7 @@ jobs:
run: gcovr -v -g -k -r . $env:GCOVR_FLAGS.split() -o coverage.xml

- name: Upload Coverage Results
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
files: ./coverage.xml
flags: ${{ matrix.sys }},unittest
Expand Down Expand Up @@ -519,7 +522,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: "3.12"

Expand Down Expand Up @@ -574,7 +577,7 @@ jobs:
python -m pytest --root-path=../../Dist/examples_bin

- name: Upload Coverage Results
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
files: ./Tests/Pcap++Test/Pcap++Coverage.xml,./Tests/Packet++Test/Packet++Coverage.xml
flags: ${{ matrix.os }},unittest,${{ matrix.pcap_lib }}
Expand All @@ -592,7 +595,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@debf37ca7b7fa40e19c542ef7ba30d6054a706a4 # v1.1.5
uses: vmactions/freebsd-vm@8873d98fd1413b5977cb2f7348fe329775159892 # v1.1.9
with:
release: ${{ matrix.version }}
usesh: true
Expand Down Expand Up @@ -713,7 +716,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ matrix.image }}-ccache-${{ github.run_id }}
Expand Down Expand Up @@ -743,7 +746,7 @@ jobs:
gcovr -v -r . $GCOVR_FLAGS -o coverage.xml

- name: Upload Coverage Results
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
files: ./coverage.xml
flags: xdp,unittest
Expand All @@ -753,7 +756,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
Expand Down Expand Up @@ -782,7 +785,7 @@ jobs:

- name: Restore Ccache
id: ccache-restore
uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ matrix.engine }}-${{ matrix.sanitizer }}-ccache-${{ github.run_id }}
Expand All @@ -804,7 +807,7 @@ jobs:
Tests/Fuzzers/RegressionTests/run_tests.sh

- name: Save Ccache
uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
dry-run: false
sanitizer: ${{ matrix.sanitizer }}
- name: Upload Crash
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -44,4 +44,4 @@ jobs:
cmake --build build -j

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
Loading
Loading