Zhang Jingqiang
9522860c0d
g3proxy: add ldap user group
2026-02-02 22:56:08 +08:00
Zhang Jingqiang
dfc6852395
g3proxy: allow to resolve consistently when using username params
StaticLinking / msvc-vendored-3 (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
Windows-CI / Build vendored-1 (push) Waiting to run
Windows-CI / Build vendored-2 (push) Waiting to run
Windows-CI / Build vendored-3 (push) Waiting to run
Windows-CI / Build vendored-4 (push) Waiting to run
Windows-CI / Build vendored-5 (push) Waiting to run
Windows-CI / Build vendored-6 (push) Waiting to run
Windows-CI / Build vendored-7 (push) Waiting to run
Windows-CI / Build vendored-8 (push) Waiting to run
Windows-CI / Build vendored-9 (push) Waiting to run
Windows-CI / Build vendored-10 (push) Waiting to run
Windows-CI / Build vendored-11 (push) Waiting to run
Windows-CI / Build vendored-12 (push) Waiting to run
Windows-CI / Build vendored-13 (push) Waiting to run
Windows-CI / Build vendored-14 (push) Waiting to run
Windows-CI / Build vendored-15 (push) Waiting to run
Windows-CI / Build vendored-16 (push) Waiting to run
Windows-CI / Build vendored-17 (push) Waiting to run
Windows-CI / Build vendored-18 (push) Waiting to run
Windows-CI / Build vendored-19 (push) Waiting to run
Windows-CI / Build vendored-20 (push) Waiting to run
Windows-CI / Build vendored-21 (push) Waiting to run
Windows-CI / Build vendored-22 (push) Waiting to run
Windows-CI / Build vendored-23 (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-10-15 18:56:58 +08:00
onin
8c11d5b4cd
username-params: gate mapping + no default override; HTTP 400 on unresolved mapping; dedup; docs/tests
...
- Behavior: do not override when username has no recognized keys; fall back to escaper proxy_addr.
- HTTP error: username-derived NXDOMAIN returns 400 Bad Request with “Proxy targeting didn't find a
match” (CONNECT and Forward); other failures keep existing mappings (e.g., 530).
- Config/compute: allow empty separator; rename suffix_for_host → to_fqdn; add
username_has_known_key(..); keep global_label for compatibility but stop using it.
- Server config: use UsernameParamsToEscaperConfig directly; call
UsernameParamsToEscaperConfig::parse(..).
- Integration: HTTP writer gates mapping with username_has_known_key(..); 400 on invalid params; no
override otherwise. SOCKS negotiation gates similarly; uses Option<UpstreamAddr>; standard error on
invalid params.
- Escapers: divert_tcp ignores per-connection override (internal/transparent); remove unnecessary clones;
dedup connect logic via local connect_via_peer(..) helpers (no cross-module macro).
- Logging: restore SOCKS log_client_shutdown() parity with HTTP connect.
- Docs/examples: EN/ZH guides note “no recognized keys → use proxy_addr”; remove global_label from
examples.
- Tests: update for to_fqdn; remove “no params → global” test; adjust unknown-keys case; fix duplicate
#[test].
- Cleanup: remove unused imports and small style nits.
2025-09-09 11:42:18 +08:00
onin
05dace1a32
Username params to escaper address
...
example docs improvement
proxy_addr clarification
http proxy port consistency
Added floating keys
Add username-params-to-escaper-address
2025-09-09 11:42:18 +08:00
Zhang Jingqiang
c8975d5e6b
add testcase for masque/http and HTTP proxytunnel
2025-07-09 18:55:04 +08:00
Zhang Jingqiang
5a3fbedabf
update coverage CI
2025-05-13 11:04:21 +08:00
Zhang Jingqiang
f90c36c053
g3proxy: support easy-proxy well-known uri in http_proxy server
2025-04-18 09:26:43 +08:00
Zhang Jingqiang
07c2ff7d28
g3proxy: add regex_match to route_upstream escaper
2025-04-13 17:36:37 +08:00
Zhang Jingqiang
6ef967fdbb
g3statsd: add example config and fix bug
2025-04-10 18:47:59 +08:00
Zhang Jingqiang
899c963d4e
update benchmark examples
2025-02-26 15:47:36 +08:00
Zhang Jingqiang
579b236415
g3proxy: update doc
2025-02-12 14:37:20 +08:00
Zhang Jingqiang
853a7cf940
add tls ticketer config to testcase
2024-10-15 17:21:52 +08:00
Zhang Jingqiang
8ccd512e3f
allow to write structured logs to stdout ( #281 )
2024-08-15 14:04:17 +08:00
Zhang Jingqiang
f08fdae3dc
add test for global io limiter and fix bugs
2024-07-24 15:05:49 +08:00
Zhang Jingqiang
cc8e786d00
g3proxy: fix iploc service integration
2024-06-19 17:32:56 +08:00
Zhang Jingqiang
d739c93c1c
g3proxy: switch to use local dns in examples
2024-06-19 16:45:19 +08:00
Zhang Jingqiang
92fe17c680
g3proxy: fix smtp interception
2024-06-05 16:41:10 +08:00
Zhang Jingqiang
d608b604b2
g3-udpdump: test and add wireshark dissector info
2024-01-16 19:11:29 +08:00
Zhang Jingqiang
0d9016a799
g3proxy: support proxy protocol v1 for incoming connections ( #128 )
...
* g3proxy: support proxy protocol v1 for incoming connections
* g3proxy: add example conf for proxy protocol
2023-10-26 10:31:49 +08:00
Zhang Jingqiang
d58bd61d28
g3proxy: default to use yaml conf file extension
2023-08-22 11:00:39 +08:00
Zhang Jingqiang
570d58dadd
g3proxy: rename .conf example conf to .yml
2023-08-21 14:43:26 +08:00
Zhang Jingqiang
2b06cfc597
g3proxy: add chain_socks_proxy example
2023-07-20 10:13:50 +08:00
Zhang Jingqiang
0186be9689
g3proxy: fix the build of icap OPTIONS request
2023-04-26 10:47:25 +08:00
zhangjingqiang
7d32adc400
g3proxy: drop uri path match in http_rproxy
2023-04-10 17:27:30 +08:00
zhangjingqiang
ece46ae937
g3proxy: add common code for multi server runtime
2023-04-04 11:16:57 +08:00
zhangjingqiang
13716f4923
initial commit
2023-03-09 17:55:45 +08:00