feat: add iOS 18 system TLS fingerprint#465
Open
bekesibeni wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Closes #450. Builds on apify/rustls#NN (merged in 1ebb6d4).
Adds an iOS 18 system TLS fingerprint as
Browser::Ios18(string:"ios18").Why "iOS" not "Safari"
On iOS, App Store policy forces every app to use the OS networking stack (
NSURLSession/Network.framework/WKWebView). Captured Safari iOS 26.5 and Chrome iOS 148 on the same iOS 18.7 device - JA3, JA4, peetprint, and Akamai H/2 hashes were byte-identical. The single profile covers Safari, Chrome iOS, Firefox iOS, Edge iOS, and native iOS apps.Verification
Tested via debug build of impit-node against https://tls.peet.ws/api/all:
ecdf4f49dd59effc439639da29186671- byte-identical to a real iPhone capturet13d2013h2_a09f3c656075_7f0f34a4126d- byte-identical to a real iPhone capturecompress_certificatewith zlib emitted correctly (also pulled in via the rustls PR)Known limitations (impit-wide, not iOS-specific)
peetprintdoesn't includeGREASEin thesupported_versionsfield - affects every browser profile in impit (rustls-side limitation in how SupportedProtocolVersions is encoded).akamai_fingerprintdiffers becauseHttp2Fingerprintdoesn't exposeMAX_CONCURRENT_STREAMS/NO_RFC7540_PRIORITIES/ SETTINGS frame ordering - same gap exists for all profilesHappy to file follow-up issues for those if you want them tracked.
Wiring
impit/src/fingerprint/database/safari.rswithios_18submodule (file namedsafari.rsto leave room forsafari_macos_*later; inner module reflects what it actually captures)database.rsCipherSuiteenum +mod.rsdispatch arms (matching the new variants in apify/rustls#NN)Browser::Ios18(string"ios18")"ios18"accepted by sync + async clients, added toBrowserLiteral