bogdanfinn / tls-client

net/http.Client like HTTP Client with options to select specific client TLS Fingerprints to use for requests.
BSD 4-Clause "Original" or "Old" License
670 stars 133 forks source link

[FEATURE REQUEST] Support arm32 #45

Closed BlueSchnabeltier closed 10 months ago

BlueSchnabeltier commented 1 year ago

.

bogdanfinn commented 1 year ago

rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang rpi gang

what does this mean?

BlueSchnabeltier commented 1 year ago

I mean the Raspberry Pi which is an arm computer with a small form factor often used for servers. It would be optimal if you would make tls-client for arm32 so this project is more acessible for projects that need this in their proxy to circumvent antiscraping measures.

LovanDog commented 11 months ago

still no support?

bogdanfinn commented 11 months ago

With the current build approach it is not possible to me to cross compile.

➜ GOOS=linux CGO_ENABLED=1 GOARCH=arm32 CC="arm-unknown-linux-gnueabi-gcc" go build -buildmode=c-shared -o ./dist/tls-client-linux-arm32.so  
-buildmode=c-shared not supported on linux/arm32

I will try out the xgo build tool in the next release to create the libraries for linux/arm. Please double check them then :-)

bogdanfinn commented 11 months ago

@BlueSchnabeltier @LovanDog can you please check out the following shared libraries here: https://github.com/bogdanfinn/tls-client/releases/tag/v1.5.0

please look for your required von starting with the name tls-client-xgo-*