Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: JA4 fingerprinting #4669

Merged
merged 6 commits into from
Aug 19, 2024
Merged

feat: JA4 fingerprinting #4669

merged 6 commits into from
Aug 19, 2024

Conversation

lrstewart
Copy link
Contributor

@lrstewart lrstewart commented Jul 29, 2024

Description of changes:

Add the JA4 fingerprinting algorithm: https://github.com/FoxIO-LLC/ja4/blob/v0.18.2/technical_details/JA4.md

Call-outs:

It's not as many files to review as it looks like: I imported the JA4 "spec" from github for duvet, which is most of the files. I actually generated the spec requirements too instead of hand writing them, although I had to modify duvet to make that work. I made duvet interpret every line as a requirement, then went back and deleted the requirements that didn't make sense.

Testing:

Unit tests. I also locally added JA4 to the "pcap" crate tests, but I didn't want to made this PR any bigger by including that here. I'll have a follow-up PR with more testing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jul 29, 2024
@lrstewart lrstewart force-pushed the ja4_3 branch 2 times, most recently from 248468f to cde66c8 Compare July 30, 2024 09:27
@lrstewart lrstewart marked this pull request as ready for review July 30, 2024 19:32
@lrstewart lrstewart requested review from goatgoose and camshaft July 30, 2024 19:32
@lrstewart lrstewart requested a review from goatgoose August 9, 2024 19:58
@lrstewart lrstewart requested review from goatgoose and maddeleine and removed request for camshaft August 9, 2024 21:32
@lrstewart lrstewart requested a review from maddeleine August 14, 2024 05:04
@lrstewart lrstewart enabled auto-merge (squash) August 19, 2024 08:39
@lrstewart lrstewart merged commit 3baca01 into aws:main Aug 19, 2024
35 checks passed
@lrstewart lrstewart deleted the ja4_3 branch August 19, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants