Commit graph

318 commits

Author SHA1 Message Date
Zhang Jingqiang
9ea300641a g3proxy: add tcp_tproxy server 2024-01-09 18:38:33 +08:00
Zhang Jingqiang
412a286490 fix clippy warning 2024-01-09 15:16:46 +08:00
Zhang Jingqiang
d833fe8443 g3-openssl: fix dead looping when shutdown 2024-01-09 15:10:02 +08:00
Zhang Jingqiang
4392f8845e fix clippy warning 2024-01-04 14:38:29 +08:00
Zhang Jingqiang
61dd93a07a initial support for aws-lc as openssl alternative 2024-01-04 14:21:51 +08:00
Zhang Jingqiang
77485fae9e g3-tls-cert: use upstream X509Pubkey 2024-01-04 14:19:14 +08:00
Zhang Jingqiang
2be144e5b9 g3proxy: fix build of c-ares feature 2024-01-03 19:38:53 +08:00
Zhang Jingqiang
e2186e1dbd g3proxy: check c-ares version properly 2024-01-03 19:32:52 +08:00
Zhang Jingqiang
b6d829a72c g3-tls-cert: add no-sm2 feature 2024-01-03 16:55:40 +08:00
Zhang Jingqiang
adc454ada2 derive clone for openssl session cache 2024-01-03 11:03:59 +08:00
Zhang Jingqiang
36d851c38b rename openssl and rustls session cache 2024-01-03 11:00:51 +08:00
Zhang Jingqiang
de3e00808e keep openssl internal server session 2024-01-03 10:57:26 +08:00
Zhang Jingqiang
ea5d917b65 add openssl session cache 2024-01-03 10:57:09 +08:00
Zhang Jingqiang
2f67903fdb do resumption only once for tls 1.3 session 2024-01-02 19:04:02 +08:00
Zhang Jingqiang
3644b1e250 update tongsuo feature name in lib crates 2023-12-31 14:32:05 +08:00
Zhang Jingqiang
962db1a9fd g3-openssl: use less unsafe code 2023-12-29 11:44:34 +08:00
Zhang Jingqiang
13c4558051 update MSRV to 1.75 2023-12-29 11:00:03 +08:00
Zhang Jingqiang
054bdc60e6 use stable API IpAddr::.to_canonical() 2023-12-29 11:00:03 +08:00
Zhang Jingqiang
92b16247b6 use more native async fn in trait for libs 2023-12-29 11:00:03 +08:00
Zhang Jingqiang
a121d7f1ba g3-openssl: split files 2023-12-28 14:11:13 +08:00
Zhang Jingqiang
948c8d4942 add openssl-async-job feature and disabled by default 2023-12-28 12:03:58 +08:00
Zhang Jingqiang
4bd6d0bf4d openssl async job: no way to free ctx before job finish 2023-12-26 19:17:27 +08:00
Zhang Jingqiang
48d78ce7b5 fix compilation 2023-12-26 18:59:30 +08:00
Zhang Jingqiang
f5b588966e openssl async job: clear the wait ctx when dropped 2023-12-26 18:56:05 +08:00
Zhang Jingqiang
2bd47d7c03 silence clippy warning 2023-12-25 18:54:08 +08:00
Zhang Jingqiang
9e9ec3e1db combine crates 2023-12-25 17:40:35 +08:00
Zhang Jingqiang
3b5781b000 fix warning when build with openssl 1.1.x 2023-12-25 17:23:16 +08:00
Zhang Jingqiang
7922be6314 g3-openssl: add async engine poller 2023-12-25 17:18:10 +08:00
Zhang Jingqiang
507827465b only use subject when add ca cert to session id context 2023-12-25 11:43:33 +08:00
Zhang Jingqiang
9a2a23397e update to new version of tongsuo crates 2023-12-24 17:21:32 +08:00
Zhang Jingqiang
a68076d31d fix clippy warning 2023-12-21 17:50:53 +08:00
Zhang Jingqiang
9e366101ce g3proxy: run histogram recorder in main runtime 2023-12-21 16:57:32 +08:00
Zhang Jingqiang
a0af389f85 add histogram metrics config and emit site duration metrics 2023-12-21 15:47:59 +08:00
Zhang Jingqiang
312a83a988 g3-histogram: use ryu for f64 formatting 2023-12-21 10:55:44 +08:00
Zhang Jingqiang
fbf3d7dc09 use debug accert 2023-12-20 16:33:01 +08:00
Zhang Jingqiang
7d6f99e2e0 generate session id context when build openssl server 2023-12-19 19:30:11 +08:00
Zhang Jingqiang
6e05e692d2 g3proxy: allow to set session id context for NativeTlsPort 2023-12-19 17:42:27 +08:00
Zhang Jingqiang
2e145dbacb g3-histogram: fix mem usage 2023-12-19 14:28:47 +08:00
Zhang Jingqiang
015015f466 g3bench: switch to use SslConnector 2023-12-19 11:18:49 +08:00
Zhang Jingqiang
8675faf276
restore support of openssl 1.1 (#137)
* Revert "require openssl version 3.0"

This reverts commit cca9041354.

* send ca list only if ca cert is set explicitly

* update doc

* fix compilation
2023-12-18 19:27:27 +08:00
Zhang Jingqiang
4acb2865a8 fix clippy warning 2023-12-18 17:20:49 +08:00
Zhang Jingqiang
c7f84ec9c2 g3tiles: use g3-openssl instead of tokio-openssl 2023-12-18 17:02:54 +08:00
Zhang Jingqiang
1a56e7ad5b g3-daemon: update metrics code 2023-12-15 14:32:19 +08:00
Zhang Jingqiang
bc5882ab99 g3keymess-ctl: add check-dup local command 2023-12-12 16:23:11 +08:00
Zhang Jingqiang
370cf78a55 fix clippy warning 2023-12-12 16:08:17 +08:00
Zhang Jingqiang
e8944483fe rotate histogram stats for daemons 2023-12-12 15:47:27 +08:00
Zhang Jingqiang
c1fa807580 simplify code and fix clippy warning 2023-12-12 11:06:00 +08:00
Zhang Jingqiang
c96f8511af allow to read from env when setting listen/peer addr 2023-12-12 10:56:46 +08:00
Zhang Jingqiang
adb6855601 update the load of static extra tags 2023-12-06 16:31:11 +08:00
Zhang Jingqiang
3b482d59db add Host header when sending h2 request to adapter 2023-12-06 14:39:31 +08:00