Commit graph

961 commits

Author SHA1 Message Date
Zhang Jingqiang
1870adf52a add aws-lc-fips support 2025-06-27 12:40:36 +08:00
Zhang Jingqiang
350eec3f8a fix clippy 1.89 warning
Some checks are pending
CodeCoverage / g3statsd test (push) Waiting to run
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
2025-06-27 10:55:11 +08:00
Zhang Jingqiang
8c8d368132 update doc and pkg
Some checks failed
CrossCompiling / Build (push) Has been cancelled
CodeCoverage / g3statsd test (push) Has been cancelled
CodeCoverage / lib unit test (push) Has been cancelled
CodeCoverage / g3proxy test (push) Has been cancelled
CodeCoverage / g3bench test (push) Has been cancelled
Linux-CI / Build (push) Has been cancelled
Linux-CI / Clippy (push) Has been cancelled
Linux-CI / Build vendored (push) Has been cancelled
Linux-CI / Build with OpenSSL Async Job (push) Has been cancelled
MacOS-CI / Build (push) Has been cancelled
MacOS-CI / Build vendored (push) Has been cancelled
StaticLinking / musl (push) Has been cancelled
StaticLinking / msvc (push) Has been cancelled
Windows-CI / Build (push) Has been cancelled
Windows-CI / Build vendored (push) Has been cancelled
2025-06-25 15:46:24 +08:00
Zhang Jingqiang
8ce758c471 rewrite geoip dump by using python script
Some checks failed
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
Sphinx-Doc / build (g3proxy) (push) Has been cancelled
Sphinx-Doc / build (g3statsd) (push) Has been cancelled
Sphinx-Doc / build (g3tiles) (push) Has been cancelled
Sphinx-Doc / build (g3keymess) (push) Has been cancelled
2025-06-24 21:12:51 +08:00
Zhang Jingqiang
8ae2f05b89 g3-icap-client: receive more preview data for h1 respmod 2025-06-24 15:04:41 +08:00
Zhang Jingqiang
723f99b9da g3-icap-client: receive more preview data for h2 respmod 2025-06-23 12:21:46 +08:00
Zhang Jingqiang
dc752cda15 g3-statsd-client: switch to use batch udp sendmsg when possible 2025-06-22 17:11:57 +08:00
Zhang Jingqiang
08214430c3 g3-syslog: switch to use batch udp sendmsg when possible 2025-06-22 09:08:27 +08:00
Zhang Jingqiang
4eebdbd569 mark statsd config option emit_duration as deprecated 2025-06-20 11:53:59 +08:00
Zhang Jingqiang
b037ec8fbd g3-io-sys: add UdpSocketExt and add recvmmsg/sendmmsg buffer 2025-06-19 13:54:15 +08:00
Zhang Jingqiang
9ab170d7ce g3-io-sys: update flags used in sendmsg/recvmsg 2025-06-19 13:54:15 +08:00
Zhang Jingqiang
ef43b18ff1 g3-dpi: fix panic when detect DNS over TLS traffic 2025-06-19 10:16:36 +08:00
Zhang Jingqiang
0cadc083dc define recvmmsg/sendmmsg in g3-io-sys 2025-06-18 19:47:11 +08:00
Zhang Jingqiang
64c660a5f6 move sendmsg/recvmsg definition to g3-io-sys 2025-06-18 19:47:11 +08:00
dnlhmt
4e6a1507cf
g3-icap-client: connection pool reuse and idle checks (#782)
* g3-icap-client: connection pool reuse and idle checks

* g3-icap-client: replace CheckConnection with CreateConnection

g3-icap-client: add do_create()

---------

Co-authored-by: Daniel Haimanot <daniel.haimanot1@bytedance.com>
2025-06-18 05:37:39 +00:00
Zhang Jingqiang
0374025574 g3-io-ext: add poll_recvmsg to AsyncUdpRecv
Some checks failed
CrossCompiling / Build (push) Has been cancelled
CodeCoverage / lib unit test (push) Has been cancelled
CodeCoverage / g3proxy test (push) Has been cancelled
CodeCoverage / g3bench test (push) Has been cancelled
CodeCoverage / g3statsd test (push) Has been cancelled
Linux-CI / Build (push) Has been cancelled
Linux-CI / Clippy (push) Has been cancelled
Linux-CI / Build vendored (push) Has been cancelled
Linux-CI / Build with OpenSSL Async Job (push) Has been cancelled
MacOS-CI / Build (push) Has been cancelled
MacOS-CI / Build vendored (push) Has been cancelled
StaticLinking / musl (push) Has been cancelled
StaticLinking / msvc (push) Has been cancelled
Windows-CI / Build (push) Has been cancelled
Windows-CI / Build vendored (push) Has been cancelled
2025-06-17 15:48:37 +08:00
Zhang Jingqiang
88bc8fee14 g3-io-ext: update definition of poll_sendmsg 2025-06-17 15:48:37 +08:00
Zhang Jingqiang
bfbf77b0ff add g3-io-sys crate 2025-06-17 15:48:37 +08:00
Zhang Jingqiang
a98cb5bea6 add new g3-std-ext crate
Some checks are pending
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
2025-06-16 23:06:19 +08:00
Zhang Jingqiang
a31ac9ac79 rename stat config option emit_duration to emit_interval
Some checks failed
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
Sphinx-Doc / build (g3keymess) (push) Has been cancelled
Sphinx-Doc / build (g3proxy) (push) Has been cancelled
Sphinx-Doc / build (g3statsd) (push) Has been cancelled
Sphinx-Doc / build (g3tiles) (push) Has been cancelled
2025-06-16 11:28:25 +08:00
Zhang Jingqiang
63883c232d g3-io-ext: rename stream data structures 2025-06-16 09:30:07 +08:00
Zhang Jingqiang
46f483bf03 g3mkcert: restore support for ED448 and X448 when possible
Some checks failed
CrossCompiling / Build (push) Has been cancelled
Linux-CI / Clippy (push) Has been cancelled
CodeCoverage / lib unit test (push) Has been cancelled
CodeCoverage / g3proxy test (push) Has been cancelled
CodeCoverage / g3bench test (push) Has been cancelled
CodeCoverage / g3statsd test (push) Has been cancelled
Linux-CI / Build (push) Has been cancelled
Linux-CI / Build vendored (push) Has been cancelled
Linux-CI / Build with OpenSSL Async Job (push) Has been cancelled
MacOS-CI / Build (push) Has been cancelled
MacOS-CI / Build vendored (push) Has been cancelled
StaticLinking / musl (push) Has been cancelled
StaticLinking / msvc (push) Has been cancelled
Windows-CI / Build (push) Has been cancelled
Windows-CI / Build vendored (push) Has been cancelled
2025-06-14 13:38:40 +08:00
Zhang Jingqiang
fbedf85079 restore feature rustls-aws-lc 2025-06-09 16:17:54 +08:00
Zhang Jingqiang
0f21a53dbf restore vendored-aws-lc feature 2025-06-09 16:17:54 +08:00
Zhang Jingqiang
12011ee48a g3mkcert: remove support for ED448 and X448 2025-06-09 16:17:54 +08:00
Zhang Jingqiang
4bdf8234d8 show error when enable openssl-async-job with unsupported libssl 2025-06-08 20:25:17 +08:00
Zhang Jingqiang
e0d74514df be compatible with libressl 2025-06-07 23:55:13 +08:00
Zhang Jingqiang
957e0226f5 detect openssl features in build.rs 2025-06-07 23:55:13 +08:00
Zhang Jingqiang
4858a580af g3proxy: use our own client hello parser in tls interception 2025-06-06 15:20:30 +08:00
Zhang Jingqiang
26b153e942 g3proxy: update h2 default config 2025-06-05 22:30:00 +08:00
Zhang Jingqiang
9a2a137e9d g3proxy: default to use more reasonable h2 window size value 2025-06-05 19:58:08 +08:00
Zhang Jingqiang
1b276a2808 g3-h2: release receive capacity right after received 2025-06-05 14:03:24 +08:00
Zhang Jingqiang
4b629c469b g3-http: HttpBodyDecodeReader no longer use HttpBodyReader 2025-06-04 19:51:51 +08:00
Zhang Jingqiang
4c6724e8ad fix format of HTTP OPTIONS request 2025-06-04 11:44:34 +08:00
Zhang Jingqiang
91de5e44dd log host in h1 forward interception log 2025-06-04 11:44:34 +08:00
Zhang Jingqiang
735690a701 g3proxy: increase default h2 max concurrent stream to 128 2025-06-03 21:59:26 +08:00
Zhang Jingqiang
2f66d5110e g3proxy: add ping to h2 interception upstream connection 2025-06-03 19:19:18 +08:00
Zhang Jingqiang
ce65b7e83a g3-dpi: remove useless h2 disable_upstream_push config option 2025-06-03 15:53:12 +08:00
Zhang Jingqiang
17acad61d5 g3-syslog: reconnect to unix datagram after send failed 2025-06-02 15:43:55 +08:00
Zhang Jingqiang
53028622d3 g3statsd: allow to listen to unix statsd socket 2025-06-02 15:43:55 +08:00
Zhang Jingqiang
fe7486b3f6 Revert "g3-h2: send empty trailer when needed"
This reverts commit dd43a548aa.
2025-06-01 19:54:53 +08:00
Zhang Jingqiang
dd43a548aa g3-h2: send empty trailer when needed 2025-06-01 17:51:36 +08:00
Zhang Jingqiang
203ab3d924 g3-h2: fix read of h2 body 2025-06-01 00:34:06 +08:00
Zhang Jingqiang
14af17c1b5 g3-resolver: update TTL calculation logic 2025-05-29 22:58:55 +08:00
WaterWhisperer
b8a09ce294 test(stomp): add unit tests for lib/g3-dpi/src/protocol/stomp.rs
Some checks failed
Linux-CI / Clippy (push) Has been cancelled
CodeCoverage / g3bench test (push) Has been cancelled
CodeCoverage / g3statsd test (push) Has been cancelled
CrossCompiling / Build (push) Has been cancelled
CodeCoverage / lib unit test (push) Has been cancelled
CodeCoverage / g3proxy test (push) Has been cancelled
Linux-CI / Build (push) Has been cancelled
Linux-CI / Build vendored (push) Has been cancelled
Linux-CI / Build with OpenSSL Async Job (push) Has been cancelled
MacOS-CI / Build (push) Has been cancelled
MacOS-CI / Build vendored (push) Has been cancelled
StaticLinking / musl (push) Has been cancelled
StaticLinking / msvc (push) Has been cancelled
Windows-CI / Build (push) Has been cancelled
Windows-CI / Build vendored (push) Has been cancelled
- Add comprehensive unit tests for check_stomp_client_connect_request , check_stomp_connect_method , check_stomp_stomp_method
- Cover various input types
2025-05-23 16:36:47 +08:00
Zhang Jingqiang
c6664ea269 update packages
Some checks are pending
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
2025-05-22 13:52:50 +08:00
Zhang Jingqiang
c79d7f0e85 g3-icap-client: receive more preview data for h1 reqmod 2025-05-22 12:10:22 +08:00
Zhang Jingqiang
f89893f7ef g3-icap-client: allow to disable preview
Some checks failed
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
Sphinx-Doc / build (g3tiles) (push) Has been cancelled
Sphinx-Doc / build (g3keymess) (push) Has been cancelled
Sphinx-Doc / build (g3proxy) (push) Has been cancelled
Sphinx-Doc / build (g3statsd) (push) Has been cancelled
2025-05-21 15:03:29 +08:00
Zhang Jingqiang
aeea3ea817 g3-icap-client: receive more preview data for h2 reqmod 2025-05-21 15:03:29 +08:00
WaterWhisperer
9c135f7084 test(g3-yaml): add unit tests for value/net/tcp.rs
Some checks are pending
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
- Add comprehensive unit tests for set_tcp_listen_scale function in test_as_tcp_listen_config
- Add unit tests for each as_*_config function in test_as_*_config
- Cover various input types
- Add chrono dev-dependency configuration in Cargo.toml
2025-05-20 18:51:23 +08:00