Skip to content

Commit

Permalink
Rust implementation fixes (#45)
Browse files Browse the repository at this point in the history
* JA4: Include SNI and ALPN in the "original" outputs

Include SNI (0000) and ALPN (0010) in `ja4_o` and `ja4_ro` output.

Context: #40 (comment)

* JA4H: Ignore case when searching for "Cookie" and "Referer" fields

* JA4: Take `sig_hash_alg` values from `signature_algorithms` extension only

Related issue: #41

* Update Rust dependencies
  • Loading branch information
vvv authored Jan 4, 2024
1 parent 747d870 commit fe853f6
Show file tree
Hide file tree
Showing 9 changed files with 281 additions and 211 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Specify `--manifest-path` as a workaround.
#
# See https://github.com/actions-rs/clippy-check/issues/28
args: --all-features --workspace --manifest-path rust/Cargo.toml
args: --all-features --workspace --manifest-path rust/Cargo.toml -- -D warnings
token: ${{ secrets.GITHUB_TOKEN }}

doc:
Expand Down
Binary file added pcap/tls12.pcap
Binary file not shown.
11 changes: 10 additions & 1 deletion rust/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.16.2] - 2024-01-04

### Fixed

- JA4: Include SNI (0000) and ALPN (0010) in the "original" outputs (#40).
- JA4H: Search for "Cookie" and "Referer" fields in a case-insensitive fashion.
- JA4: Take signature algorithm hex values from `signature_algorithms` extension only (#41).

## [0.16.1] - 2023-12-22

### Fixed
Expand Down Expand Up @@ -48,7 +56,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

[unreleased]: https://github.com/FoxIO-LLC/ja4/compare/v0.16.1...HEAD
[unreleased]: https://github.com/FoxIO-LLC/ja4/compare/v0.16.2...HEAD
[0.16.2]: https://github.com/FoxIO-LLC/ja4/compare/v0.16.1...v0.16.2
[0.16.1]: https://github.com/FoxIO-LLC/ja4/compare/v0.16.0...v0.16.1
[0.16.0]: https://github.com/FoxIO-LLC/ja4/compare/v0.15.2...v0.16.0
[0.15.2]: https://github.com/FoxIO-LLC/ja4/compare/v0.15.1...v0.15.2
Expand Down
Loading

0 comments on commit fe853f6

Please sign in to comment.