Skip to content

A caddy plugin that gets JA3 TLS fingerprints from requests.

License

Notifications You must be signed in to change notification settings

rushiiMachine/caddy-ja3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy-ja3

A caddy plugin to get JA3 fingerprints from requests as a header.

Building with xcaddy

xcaddy build \
  --with github.com/rushiiMachine/caddy-ja3

Sample Caddyfile

Note that this enforces HTTPS (TLS).
You can add a http_redirect to automatically redirect http -> https like shown below.

{
  order ja3 before respond # change this to whatever idk
  servers {
     listener_wrappers {
       http_redirect
       ja3
       tls
     }
  }
}

localhost:2020 {
  ja3
  tls internal                     # Configure your tls however you want
  respond "Your JA3: {header.ja3}" # JA3 is added to the request as a header ("ja3")
}

Disclaimer

I am not guaranteeing you 100% uptime
This should work but feel free to file an issue

About

A caddy plugin that gets JA3 TLS fingerprints from requests.

Topics

Resources

License

Stars

Watchers

Forks

Languages