Trying to add extensions to my rust fingerprint
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- rust
- Área
- networking, security
Línea de trabajo
Comienza con los getters existentes de ExtensionType::CERT_COMPRESSION y ExtensionType::PADDING, y luego compara la documentación de BoringSSL/OpenSSL con la tabla de extensiones TLS de IANA enlazada en el informe. Usa tls.peet.ws/api/clean para verificar el comportamiento; el trabajo estará terminado cuando se confirme si existe soporte de setters para estas extensiones o se delimite claramente la API que falta.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I am tryin to change my rust client fingerprint by adding (27,17513,41) ext numbers => 771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-[ 27 ext here ]-[ 17513 ext here ]-21-[ 41 ext here ],29-23-24,0
What I did:
- Read the openssl doc and the tls ext table https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xml
- Found a getter ExtensionType::CERT_COMPRESSION, ExtensionType::PADDING but no setter.
- I am not using actual certificate in my rust client as I also disabled checking for it with verify mode.
- Calling https://tls.peet.ws/api/clean to read my ja3
- Tried using clear_option and set_option to add and remove SslOption::NO_COMPRESSION but it did nothing // Disables the use of TLS compression
- Read the github code and rust doc as all I can find is this about it (2020-12-02 draft-ietf-tls-certificate-compression is now RFC 8879)
- Using boring / boring-hyper / hyper in my rust client
- Tried using rustls but not enough supported ciphers.
Do I need to have an actual certificate and find someway to compress it? Did I miss something crucial? If there is a solution, does it work on rest of the ExtensionTypes? Is it not implemented for rust yet?
Tryin to mimic the chrome fingerprint for rust, I already have an app running in electron client and Go (with libraries) both have chrome fingerprint. Now doing it in rust for benchmark.
Any help or advice would be great, thanks alot.
let mut connector = HttpConnector::new();
connector.enforce_http(false);
let mut ssl = SslConnector::builder(SslMethod::tls()).unwrap();
ssl.set_verify(SslVerifyMode::NONE);
ssl.enable_ocsp_stapling();
ssl.enable_signed_cert_timestamps();
ssl.set_alpn_protos(b"\x02h2\x06http/2").unwrap();
ssl.set_cipher_list("ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305,ECDHE-RSA-CHACHA20-POLY1305,ECDHE-RSA-AES128-SHA,ECDHE-RSA-AES256-SHA,AES128-GCM-SHA256,AES256-GCM-SHA384,AES128-SHA,AES256-SHA").unwrap();
let ssl = HttpsConnector::with_connector(connector, ssl).unwrap();
let client = Client::builder()
.pool_max_idle_per_host(0)
.build::<_, Body>(ssl);
let req = Request::builder()
.method(Method::GET)
.uri("https://tls.peet.ws/api/clean")
.header("user-agent", "my agent")
.body(Body::from(""))
.unwrap();
let res = client.request(req).await.unwrap();
let buf = body::to_bytes(res).await.unwrap();
println!("{:#?}", buf);
- Lenguaje dominante
- Rust
- Estrellas
- 526
- Forks
- 178
- Merge medio
- 15 h 34 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudflare/boring
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
cloudflare/boring#527 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
cloudflare/boring#526 ·
Los mantenedores suelen responder en 1 día
-
5.3.0 regression: SSL_set_cert_cb(..., NULL, ...) stores a null function pointer instead of clearing, crashing the next handshakePosiblemente ocupada @dorianverlaine la tomó hoy. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 62/100
cloudflare/boring#537 ·
Los mantenedores suelen responder en 1 día
-
SLH-DSA supportPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
cloudflare/boring#522 ·
Los mantenedores suelen responder en 1 día
-
Build failure on 32 bit freebsdAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
cloudflare/boring#517 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudflare/boring
Issues similares
-
documentation good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
sujithputta02/Esapay#13 ·
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
topgrade-rs/topgrade#2419 ·
Los mantenedores suelen responder en 1 día
-
review-bot
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
midagedev/bloomery#318 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area/infra good first issue type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
cristim/AztecCraft#92 ·
Los mantenedores suelen responder en 1 día
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffectedPosiblemente ocupada @akhil9tiet la tomó hoy. Abiertobug CLI windows-os
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openai/codex#54465 · 1 comentario ·
Los mantenedores suelen responder en 1 día