Curl-Impersonate
github.com
Curl-Impersonate
1–10 of 114 posts
Re: Curl-Impersonate
#2How close is it? If I ran wireshark, would the bytes be exactly the same in the exact same packets?
Re: Curl-Impersonate
#3Re: Curl-Impersonate
#4> The resulting curl looks, from a network perspective, identical to a real browser. How close is it? If I ran wireshark, would the bytes be exactly the same in the exact same packets?
Re: Curl-Impersonate
#5> The resulting curl looks, from a network perspective, identical to a real browser. How close is it? If I ran wireshark, would the bytes be exactly the same in the exact same packets?
What else could "identical" mean?
It could mean that the packets are the same, but timing is off by a few milliseconds.
It could mean a single HTTP request exactly matches, but when doing two requests the real browser uses a connection pool but curl doesn't. Or uses HTTP/3's fast-open abilities, etc.
etc.
Re: Curl-Impersonate
#6> The resulting curl looks, from a network perspective, identical to a real browser. How close is it? If I ran wireshark, would the bytes be exactly the same in the exact same packets?
Re: Curl-Impersonate
#7Re: Curl-Impersonate
#8Earlier quoted context omitted.
What else could "identical" mean?
It could be that the TCP streams are the same, but packetiation is different. It could mean that the packets are the same, but timing is off by a few milliseconds. It could mean a single HTTP request exactly matches, but when doing two requests the real browser uses a connection pool but curl doesn't. Or uses HTTP/3's fast-open abilities, etc. etc.
Re: Curl-Impersonate
#9Re: Curl-Impersonate
#10Earlier quoted context omitted.
What else could "identical" mean?
It could be that the TCP streams are the same, but packetiation is different. It could mean that the packets are the same, but timing is off by a few milliseconds. It could mean a single HTTP request exactly matches, but when doing two requests the real browser uses a connection pool but curl doesn't. Or uses HTTP/3's fast-open abilities, etc. etc.
Identical here means having the same fingerprint - i.e. you could not write a function to reliably distinguish traffic from one or the other implementation (and if you can then that's a bug).