ryscheng / sql-proxy-rs

Programmable MariaDB/Postgres Proxy for Rust
Apache License 2.0
17 stars 11 forks source link

Support SSL (MITM) #21

Open ryscheng opened 4 years ago

ryscheng commented 4 years ago

We currently short-circuit any SSLRequest from Postgres clients in src/pipe.rs and respond with no. Following: https://www.postgresql.org/docs/12/protocol-flow.html#id-1.10.5.7.11

That forces the client to retry with no SSL