Commit graph

75 commits

Author SHA1 Message Date
Zhang Jingqiang
2bd47d7c03 silence clippy warning 2023-12-25 18:54:08 +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
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
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
278d66a93a
switch to use g3-statsd-client (#134) 2023-12-06 12:48:05 +08:00
Zhang Jingqiang
07d28df0ad disable the use of empty SelectiveVec 2023-11-30 10:48:13 +08:00
Zhang Jingqiang
3976dcfdc5 g3proxy: add extra quic feature flag
This reverts commit 53c00d76d2.
2023-11-27 14:45:50 +08:00
Zhang Jingqiang
7e1439465a get rid of deprecated api 2023-11-23 11:47:49 +08:00
Zhang Jingqiang
e07e9bb071 fix build with different features 2023-11-23 11:34:10 +08:00
Zhang Jingqiang
b86fb38a27 fix standalone build of g3mkcert 2023-11-21 16:56:56 +08:00
Zhang Jingqiang
53c00d76d2 Revert "g3proxy: add extra quic feature flag"
This reverts commit 5c3409b87e.
2023-11-21 16:33:12 +08:00
Zhang Jingqiang
5c3409b87e g3proxy: add extra quic feature flag 2023-11-21 16:00:06 +08:00
Zhang Jingqiang
bdc131bea2 g3proxy: support listen quic for http_proxy and tcp_stream 2023-11-15 19:14:56 +08:00
Zhang Jingqiang
2cb0482ff7 g3tiles: enable rfc8998 when possible 2023-11-14 17:23:53 +08:00
Zhang Jingqiang
f67413d9d5 default to enable rfc8998 when compiled with tongsuo 2023-11-14 13:41:13 +08:00
Zhang Jingqiang
b33ce9a2ce g3proxy: use batch io for udp relay 2023-11-09 17:09:54 +08:00
Zhang Jingqiang
6b98aed8bd g3bench: support socks5 proxy for h3 target 2023-11-07 16:54:32 +08:00
Zhang Jingqiang
8c114530aa g3proxy: add openssl based NativeTlsPort server 2023-11-03 17:03:08 +08:00
Zhang Jingqiang
586c1a16d3 add common openssl server config builder 2023-11-03 16:19:49 +08:00
Zhang Jingqiang
94c04d3f35 allow to do batch datagram packets limit check 2023-11-02 19:34:58 +08:00
Zhang Jingqiang
189378bf16 g3keymess: emit request time duration histogram stats 2023-10-31 19:12:38 +08:00
Zhang Jingqiang
9d6e79cfaa update rand usage 2023-10-24 12:06:49 +08:00
Zhang Jingqiang
8c545b39a4 add custom rustls session ticketer 2023-10-20 11:50:23 +08:00
Zhang Jingqiang
e8c519f54e allow to use session ticket for rustls session resumption 2023-10-19 17:40:20 +08:00
Zhang Jingqiang
7eba804867 g3proxy: use our own implemented rustls session cache 2023-10-18 14:05:41 +08:00
Zhang Jingqiang
43cba40433 g3tiles: use trick rustls server session cache 2023-10-18 13:57:08 +08:00
Zhang Jingqiang
c3dddac785 add support for dns over http/3 2023-10-14 22:22:16 +08:00
Zhang Jingqiang
4eec48903f use MSRV 1.73 2023-10-10 10:59:28 +08:00
Zhang Jingqiang
8569043e59 update packages 2023-10-10 10:16:30 +08:00
Zhang Jingqiang
44b4ef2322
add tlcp support via vendored-tongsuo feature (#121)
* add support for TLCP protocol via tongsuo

* g3keymess: add vendored-tongsuo feature

* update check scripts

* update to tokio-tongsuo 0.6.4 to get rid of default features
2023-08-28 13:04:56 +08:00
Zhang Jingqiang
f4c4cc91c0 drop Arc in egress path json value 2023-08-24 14:02:46 +08:00
Zhang Jingqiang
aab9039981 support json egress path selection in *float escaper 2023-08-18 11:55:03 +08:00
Zhang Jingqiang
5bb06ee47e g3proxy: allow to use json value to control user egress path 2023-08-17 19:30:33 +08:00
Zhang Jingqiang
a57db1c1a2 impl Borrow for MetricsName 2023-08-15 16:01:25 +08:00
Zhang Jingqiang
4fb3ecd06a fix clippy warning 2023-08-15 15:02:47 +08:00
Zhang Jingqiang
7f3d4ea202 use UnsafeCell instead of direct casting 2023-08-03 12:13:08 +08:00
Zhang Jingqiang
265776c670 use patched console to avoid dup windows dep 2023-08-02 20:38:12 +08:00
Zhang Jingqiang
9e693dbbd9 g3keymess: allow to register service before running 2023-07-28 17:02:03 +08:00
Zhang Jingqiang
b596c7acc3 add generic tlv parser 2023-07-27 14:41:38 +08:00
Zhang Jingqiang
714fee2681 update to use webpki-roots 0.25 2023-07-27 10:16:34 +08:00
Zhang Jingqiang
216e392fe1 g3keymess: add more rpc methods 2023-07-19 17:12:23 +08:00
dependabot[bot]
b8cb571663
build(deps): bump lru from 0.10.1 to 0.11.0 (#104)
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.10.1 to 0.11.0.
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.10.1...0.11.0)

---
updated-dependencies:
- dependency-name: lru
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 15:46:13 +08:00
Zhang Jingqiang
2064638d07 update to use rustls 0.21.5 2023-07-11 10:17:58 +08:00
dependabot[bot]
af9723523b
build(deps): bump webpki-roots from 0.23.1 to 0.24.0 (#101)
Bumps [webpki-roots](https://github.com/rustls/webpki-roots) from 0.23.1 to 0.24.0.
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.23.1...v/0.24.0)

---
updated-dependencies:
- dependency-name: webpki-roots
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 15:26:30 +08:00
dependabot[bot]
c9a60930a7
build(deps): bump smallvec from 1.10.0 to 1.11.0 (#94)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:07:43 +08:00
Zhang Jingqiang
1601c1e10e g3-dpi: support STOMP protocol 2023-07-06 14:49:02 +08:00
Zhang Jingqiang
4b57c220d8 update dependencies 2023-07-04 11:05:38 +08:00
Zhang Jingqiang
56fbd92fab use again native ca certs for rustls 2023-07-04 10:51:18 +08:00
Zhang Jingqiang
2a5510ccd3 g3bench: add default dns port if missing 2023-06-26 17:25:33 +08:00