Skip to content

Commit

Permalink
rust/ja4: Add capture files and expected output (#9)
Browse files Browse the repository at this point in the history
Note that `test_insta` doesn't work on Windows; see #10.
  • Loading branch information
vvv authored Oct 10, 2023
1 parent b8033dd commit a78e756
Show file tree
Hide file tree
Showing 40 changed files with 2,915 additions and 29 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install tshark
# See https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable
run: |
sudo apt update
sudo apt -y install software-properties-common # provides `add-apt-repository`
sudo add-apt-repository --yes ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install tshark
tshark --version
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -50,6 +59,15 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install tshark
# See https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable
run: |
sudo apt update
sudo apt -y install software-properties-common # provides `add-apt-repository`
sudo add-apt-repository --yes ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install tshark
tshark --version
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: Install nightly for -Zminimal-versions
Expand All @@ -70,8 +88,8 @@ jobs:
# NOTE: Don't use GitHub-hosted macOS runners in a non-public repository --
# they consume CI/CD minutes like crazy; see
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#minute-multipliers
- windows-latest
#- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target
rust/target
.DS_Store
.vscode/
Binary file added pcap/browsers-x509.pcapng
Binary file not shown.
Binary file added pcap/chrome-cloudflare-quic-with-secrets.pcapng
Binary file not shown.
Binary file added pcap/http1-with-cookies.pcapng
Binary file not shown.
Binary file added pcap/http1.pcapng
Binary file not shown.
Binary file added pcap/http2-with-cookies.pcapng
Binary file not shown.
Binary file added pcap/ipv6.pcapng
Binary file not shown.
Binary file added pcap/latest.pcapng
Binary file not shown.
Binary file added pcap/quic-tls-handshake.pcapng
Binary file not shown.
Binary file added pcap/quic-with-several-tls-frames.pcapng
Binary file not shown.
Binary file added pcap/ssh-scp-1050.pcap
Binary file not shown.
Binary file added pcap/ssh.pcapng
Binary file not shown.
Binary file added pcap/ssh2.pcapng
Binary file not shown.
Binary file added pcap/tls-handshake.pcapng
Binary file not shown.
Binary file added pcap/tls-sni.pcapng
Binary file not shown.
Binary file added pcap/tls3.pcapng
Binary file not shown.
9 changes: 8 additions & 1 deletion rust/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.15.0] - 2023-10-08

### Added

- Add capture files and expected output.

## [0.14.0] - 2023-10-04

### Added

- Add Rust sources of `ja4` and `ja4x` CLI tools.

[unreleased]: https://github.com/FoxIO-LLC/ja4/compare/v0.14.0...HEAD
[unreleased]: https://github.com/FoxIO-LLC/ja4/compare/v0.15.0...HEAD
[0.15.0]: https://github.com/FoxIO-LLC/ja4/compare/v0.14.0...v0.15.0
[0.14.0]: https://github.com/FoxIO-LLC/ja4/releases/tag/v0.14.0
Loading

0 comments on commit a78e756

Please sign in to comment.