utls icon indicating copy to clipboard operation
utls copied to clipboard

utls.HelloRandomizedALPN doesn't randomize the ciphers or anything

Open kawacode opened this issue 2 years ago • 1 comments

Hey, why is this code not randomizing the ciphers or the extensions?

Code:

uconn = utls.UClient(conn, config, utls.HelloRandomizedALPN)

kawacode avatar Jun 18 '22 15:06 kawacode

Hi @kawacode,

It may take longer to get you an direct answer but you may look into this function here: https://github.com/refraction-networking/utls/blob/9d36ce36584651b35280a1ef8fc57e15791820be/u_parrots.go#L699

I don't see any essentially incorrect implementation here but https://github.com/refraction-networking/utls/blob/9d36ce36584651b35280a1ef8fc57e15791820be/u_parrots.go#L710 might be something you want to give some detailed look

gaukas avatar Jul 21 '22 04:07 gaukas