Open
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an experimental plugin jax_fingerprint. The basic functionality is the same as ja3_fingerprint and ja4_fingerprint, but the configuration is more flexible.
jax_fingerprint plugin supports multiple fingerprinting methods, JA4 and JA3. The code to generate fingerprint was copied from the existing plugins. It partially supports JA4H as well. I only implemented the
JA4H_aandJA4H_b.JA4H_candJA4H_dare filled with0s.All the outputs, HTTP headers and logging, are disabled by default. You can selectively enable them by specifying header names or a log file name. Also you can choose how the plugin deal with headers from clients. You can keep the original header intact, overwrite it, or append a new value.
A completely new feature is generating fingerprints only for specified server names (SNI). You can pass a list of server names. And of course you can set headers only on specified paths (remap rules) by setting up the plugin as a remap plugin.
The plugin can be used with either OpenSSL or BoringSSL (the existing ja3 plugin does not work with BoringSSL).
All the features are available regardless of fingerprinting methods.