Documentation
¶
Index ¶
Constants ¶
View Source
const (
CacheAppId = "ja3.cache"
)
View Source
const (
ConfigAppId = "ja3.config"
)
Variables ¶
This section is empty.
Functions ¶
func BareToDigestHex ¶
BareToDigestHex converts a bare []byte to a hex string.
func ReadClientHello ¶
ReadClientHello reads as much of a ClientHello as possible and returns it. If any error was encountered, then an error is returned as well and the raw bytes are not a full ClientHello.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (Cache) CaddyModule ¶
func (Cache) CaddyModule() caddy.ModuleInfo
CaddyModule implements caddy.Module
type Config ¶
type Config struct {
// This safeguards against TLS order randomization in Chrome by
// ensuring TLS extensions are always in the same order to ensure
// a consistent fingerprint in the end.
SortExtensions bool `json:"sort_extensions"`
}
func (Config) CaddyModule ¶
func (Config) CaddyModule() caddy.ModuleInfo
CaddyModule implements caddy.Module
type JA3Handler ¶
type JA3Handler struct {
// contains filtered or unexported fields
}
func (JA3Handler) CaddyModule ¶
func (JA3Handler) CaddyModule() caddy.ModuleInfo
func (*JA3Handler) Provision ¶
func (h *JA3Handler) Provision(ctx caddy.Context) error
Provision implements caddy.Provisioner
func (*JA3Handler) ServeHTTP ¶
func (h *JA3Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request, next caddyhttp.Handler) error
ServeHTTP implements caddyhttp.MiddlewareHandler
func (*JA3Handler) UnmarshalCaddyfile ¶
func (h *JA3Handler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler
type JA3ListenerWrapper ¶
type JA3ListenerWrapper struct {
// contains filtered or unexported fields
}
func (JA3ListenerWrapper) CaddyModule ¶
func (JA3ListenerWrapper) CaddyModule() caddy.ModuleInfo
CaddyModule implements caddy.Module
func (*JA3ListenerWrapper) Provision ¶
func (l *JA3ListenerWrapper) Provision(ctx caddy.Context) error
func (*JA3ListenerWrapper) UnmarshalCaddyfile ¶
func (l *JA3ListenerWrapper) UnmarshalCaddyfile(_ *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler
func (*JA3ListenerWrapper) WrapListener ¶
func (l *JA3ListenerWrapper) WrapListener(ln net.Listener) net.Listener
WrapListener implements caddy.ListenerWrapper
Click to show internal directories.
Click to hide internal directories.