tladesignz / IPtProxy

Obfs4proxy and Snowflake Pluggable Transports for iOS
MIT License
54 stars 12 forks source link

Modify snowflake client start() function with new arguments #32

Closed n8fr8 closed 1 year ago

n8fr8 commented 2 years ago

we need to add utls-imitate and fingerprint arguments to the start() method in snowflake client, since we cannot provide those values via command line or socks arguments.

see: https://gitweb.torproject.org/pluggable-transports/snowflake.git/tree/client/snowflake.go?h=v2.3.1#n107

tladesignz commented 2 years ago

Aha. No. Sorry, these are PER CONNECTION arguments. They are handed over via Tor. You configure them at the Bridge line:

See

https://gitweb.torproject.org/torspec.git/tree/pt-spec.txt#n716

https://2019.www.torproject.org/docs/tor-manual.html.en#Bridge

In this case, the bridge line should look like this:

Bridge: snowflake 192.0.2.3:1 2B280B23E1107BB62ABFC40DDCC8824814F80A72 utls-imitate=[...] fingerprint=[...]

Can you please provide a little background on this so I can understand what this is all about and if I should add something on the iOS side and what values?

tladesignz commented 2 years ago

Sorry, just re-read your initial statement which confuses me. Why should you not be able to provide these values via SOCKS CONNECT arguments as lined out by me?