Commit graph

582 commits

Author SHA1 Message Date
Zhang Jingqiang
84c65b03ae g3proxy: filter IMAP capability and support more RFCs 2024-08-07 16:23:10 +08:00
Zhang Jingqiang
b688f2ff07 log IMAP and SMTP command and response in debug mode 2024-08-07 16:23:10 +08:00
Zhang Jingqiang
5620b6013c compile in debug logs when build in release mode 2024-08-06 16:36:02 +08:00
Zhang Jingqiang
99136742bd fix missing log feature 2024-08-06 16:15:23 +08:00
Zhang Jingqiang
49712be557 register global log::Log directly 2024-08-06 15:54:29 +08:00
Zhang Jingqiang
6cac299be4 g3proxy: test and fix IMAP interception for thunderbird 2024-08-05 19:32:02 +08:00
Zhang Jingqiang
6c4e47a476 g3proxy: intercept IMAP authenticated traffic 2024-08-05 16:57:53 +08:00
Zhang Jingqiang
1bb9dd045e prepare for io_slice_advance stabilization 2024-08-02 19:25:59 +08:00
Zhang Jingqiang
0a2f67c5d8 support TLS redis server 2024-08-02 17:24:03 +08:00
Zhang Jingqiang
c6fb536cc0 g3-socks: do not panic for invalid socks5 udp header in quic 2024-08-02 11:34:10 +08:00
Zhang Jingqiang
7312448d1a g3proxy: intercept IMAP not authenticated traffic 2024-08-01 17:55:35 +08:00
Zhang Jingqiang
7bbfb6b26c g3proxy: parse IMAP greeting message 2024-07-31 17:33:57 +08:00
Zhang Jingqiang
c588fd5349 g3-imap-proto: add testcases 2024-07-31 14:40:12 +08:00
Zhang Jingqiang
d0f5d8f0e7 g3-imap-proto: add response parser 2024-07-30 19:29:28 +08:00
Zhang Jingqiang
f323092338 add IMAP command types 2024-07-30 14:40:45 +08:00
Zhang Jingqiang
1df93664d2
Update to MSRV 1.80 (#257)
* use rustc-check-cfg and bump lib versions

* switch to use std::sync::LazyLock

* update doc
2024-07-25 22:45:58 +08:00
Zhang Jingqiang
4f12e9d0c6 g3-io-ext: use more stack space 2024-07-25 14:25:27 +08:00
Zhang Jingqiang
83b257a0cb make clippy happy 2024-07-25 11:06:10 +08:00
Zhang Jingqiang
b8cf682957 g3-io-ext: fix speed limit when local not set 2024-07-25 10:43:35 +08:00
Zhang Jingqiang
9d83d3bbf1 fix build 2024-07-24 16:59:59 +08:00
Zhang Jingqiang
85de8a87bb g3-io-ext: really fix udp speed limit 2024-07-24 16:48:38 +08:00
Zhang Jingqiang
50e26947eb g3-io-ext: fix udp send limit 2024-07-24 16:31:16 +08:00
Zhang Jingqiang
f08fdae3dc add test for global io limiter and fix bugs 2024-07-24 15:05:49 +08:00
Zhang Jingqiang
695c813457 g3proxy: add http forward headers to user io limiter 2024-07-24 11:51:04 +08:00
Zhang Jingqiang
7291b8b4a7 add helper schedule runtime for token bucket limiter 2024-07-24 11:36:01 +08:00
Zhang Jingqiang
6c3d154edc emit tokio runtime metrics 2024-07-24 10:54:20 +08:00
Zhang Jingqiang
9368255982 update packages 2024-07-24 10:17:32 +08:00
Zhang Jingqiang
0252498e21 g3proxy: add global speed limiter for user 2024-07-23 19:43:26 +08:00
Zhang Jingqiang
1a004bcc9f add data types for global speed limit 2024-07-23 16:41:27 +08:00
Zhang Jingqiang
2a75d83ccb rename quic socket wrapper methods 2024-07-23 11:26:05 +08:00
Zhang Jingqiang
db76086623 g3-io-ext: update UDP speed limit traits 2024-07-23 11:22:28 +08:00
Zhang Jingqiang
2ae5744470 g3-io-ext: add traits for tcp and udp speed limit 2024-07-22 19:31:07 +08:00
Zhang Jingqiang
40827df68e g3-io-ext: rename methods 2024-07-22 10:44:28 +08:00
Zhang Jingqiang
e94815f174 allow to extend speed limiter 2024-07-21 14:16:45 +08:00
Zhang Jingqiang
d731fa8711 use more common code for upgrade actions 2024-07-18 11:46:25 +08:00
Zhang Jingqiang
1fecd22622 let the new process confirm before shutdown the old 2024-07-17 15:33:47 +08:00
Zhang Jingqiang
51ff7ec2bf
try to keep old daemon running if new start failed (#267) 2024-07-16 18:06:40 +08:00
Zhang Jingqiang
9e6ea2a0a4 update openssl ticket key 2024-07-11 10:39:04 +08:00
Zhang Jingqiang
8f75214aac g3-types: make ahash a required dependency 2024-07-10 18:33:17 +08:00
Zhang Jingqiang
1bcedd7c0c add common RollingTicketer data type 2024-07-10 18:00:19 +08:00
Zhang Jingqiang
ef87f20fe9 add Host field to register request 2024-07-09 14:14:17 +08:00
Zhang Jingqiang
6587177972 g3proxy: fix alpn filter 2024-07-04 17:53:41 +08:00
Zhang Jingqiang
b38e82d04a g3-dpi: update check of IMAP server greeting 2024-07-04 17:40:47 +08:00
Zhang Jingqiang
7d84b5b76c g3proxy: allow to block IMAP connection 2024-07-04 17:25:42 +08:00
Zhang Jingqiang
47f8598196 use session ticket by default for rustls server 2024-07-02 11:47:00 +08:00
Zhang Jingqiang
7988e2f802 allow to disable session cache in TLS server 2024-07-02 11:10:20 +08:00
Zhang Jingqiang
534cb13ab3 add rustls provider to version message 2024-07-02 10:38:56 +08:00
Zhang Jingqiang
c25126c3d6 fix build on non-Linux 2024-07-01 11:02:27 +08:00
Zhang Jingqiang
d6ed6063ac g3proxy: try quick ACK after tls handshake 2024-07-01 10:45:34 +08:00
Zhang Jingqiang
321db532cc g3tiles: trigger tcp quick ack just after tls handshake 2024-06-30 21:28:03 +08:00