presets

package
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package presets ships a single curated Firefox JA3 fingerprint that the stealth fetcher applies automatically when an identity profile is configured.

Foxhound is Camoufox-only at the browser layer (Camoufox is a Firefox fork, see CLAUDE.md "Camoufox only" principle). The static fetcher mirrors that stance: only Firefox is impersonated at the TLS layer, keeping every layer internally consistent — UA, header order, JA3, and Camoufox C++-level fingerprint all agree on Firefox.

Direct callers should not need this package — fetch.WithIdentity reads from it internally. It is exported only so advanced consumers can capture their own Firefox JA3 from https://tls.peet.ws and pass it via fetch.WithJA3 when the curated value lags real Firefox.

HTTP/2 fingerprint is intentionally NOT exposed. azuretls.Session.ApplyHTTP2 bypasses browser-aware HTTP/2 defaults (defaultHeaderPriorities, defaultStreamPriorities) and produces a half-Firefox/half-generic fingerprint that deep validators reject — see issue #41. Letting azuretls's own initHTTP2(browser) populate the HTTP/2 layer keeps it consistent with the JA3-derived TLS layer.

JA3 format: SSLVersion,Ciphers,Extensions,EllipticCurves,EllipticCurvePointFormats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Name    string
	Browser string
	JA3     string
}

Bundle is a captured-from-real-Firefox fingerprint. The Browser field is the azuretls family ("firefox") and is the navigator argument azuretls.Session. ApplyJa3 inherits its non-JA3 defaults from.

func FirefoxLatest

func FirefoxLatest() Bundle

FirefoxLatest returns the curated Firefox 135 JA3 fingerprint. Foxhound's static fetcher applies this automatically when WithIdentity is set with a Firefox profile (the only browser foxhound supports). Refresh from https://tls.peet.ws when newer Firefox releases drift the ClientHello.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL