not1337 / tlsclient

a simple to use TLS client library for Linux with special features
1 stars 1 forks source link

could you tell me there is anyway to set version number in record layer header? #2

Open zhangbiyun opened 4 years ago

zhangbiyun commented 4 years ago

hi,

could you tell me there is anyway to set version number in record layer header? when doing the handshake with server.

i ported tlsclient to windows. it works well.

thanks.

not1337 commented 4 years ago

Currently there is none as for the browser emulations included this is not required though I eventually might implement this when it is required for the emulations and I do have sufficient time. But as always with open source software you can do this yourself. You may want to have a look at the Firefox/gnutls emulation where something similar is done. Remember that the record TLS version is not MACed and thus modifiable via BIO.

Cheers, Andreas

On Sat, 2020-08-29 at 05:03 -0700, zhangbiyun wrote:

hi,

could you tell me there is anyway to set version number in record layer header? when doing the handshake with server.

i ported tlsclient to windows. it works well.

thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhangbiyun commented 4 years ago

Dear Andreas,

Thanks for your hint. I've solved it.

Best wishes, zhangbiyun