Documentation ¶
Index ¶
- Constants
- func NewJA3Conn(c net.Conn, cache *Cache, logger *zap.Logger) (net.Conn, error)
- type Cache
- func (Cache) CaddyModule() caddy.ModuleInfo
- func (c *Cache) ClearJA3(addr string)
- func (c *Cache) GetJA3(addr string) *ja3.JA3
- func (c *Cache) Provision(ctx caddy.Context) error
- func (c *Cache) Reset()
- func (c *Cache) SetClientHello(addr string, ch []byte) error
- func (c *Cache) Start() error
- func (c *Cache) Stop() error
- type JA3Conn
- type JA3Handler
- type JA3Listener
Constants ¶
View Source
const (
CacheAppId = "ja3.cache"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (Cache) CaddyModule ¶
func (Cache) 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(_ *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
type JA3Listener ¶
type JA3Listener struct {
// contains filtered or unexported fields
}
func (JA3Listener) CaddyModule ¶
func (JA3Listener) CaddyModule() caddy.ModuleInfo
CaddyModule implements caddy.Module.
func (*JA3Listener) UnmarshalCaddyfile ¶
func (l *JA3Listener) UnmarshalCaddyfile(_ *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
func (*JA3Listener) WrapListener ¶
func (l *JA3Listener) WrapListener(ln net.Listener) net.Listener
WrapListener implements caddy.ListenerWrapper.
Click to show internal directories.
Click to hide internal directories.