mirror of
https://github.com/bytedance/g3.git
synced 2026-05-19 16:28:21 +00:00
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
92 lines
2 KiB
YAML
92 lines
2 KiB
YAML
---
|
|
|
|
log: stdout
|
|
|
|
stat:
|
|
target:
|
|
udp: 127.0.0.1:8125
|
|
|
|
resolver:
|
|
- name: default
|
|
type: c-ares
|
|
server:
|
|
- 127.0.0.1
|
|
|
|
escaper:
|
|
- name: default
|
|
type: direct_fixed
|
|
resolver: default
|
|
egress_net_filter:
|
|
default: allow
|
|
allow: 127.0.0.1
|
|
|
|
auditor:
|
|
- name: default
|
|
protocol_inspection: { }
|
|
tls_cert_generator: { }
|
|
tls_ticketer: { }
|
|
tls_stream_dump: { }
|
|
|
|
user-group:
|
|
- name: default
|
|
static_users:
|
|
- name: t1
|
|
token:
|
|
salt: 4e8f8a4e37f0fa1b
|
|
md5: d9d963915b9815d4cc39c196c2868900
|
|
sha1: c28640e7b1a3d9db98187632aeba99c0cff0ffd4
|
|
audit:
|
|
enable_protocol_inspection: false
|
|
- name: t2
|
|
token: '$1$rnfSARNK$DJNIbbMpjjSmral92rE3k1'
|
|
audit:
|
|
enable_protocol_inspection: true
|
|
task_audit_ratio: 0
|
|
- name: t3
|
|
token:
|
|
salt: 113323bdab6fd2cc
|
|
md5: 5c81f2becadde7fa5fde9026652ccc84
|
|
sha1: ff9d5c1a14328dd85ee95d4e574bd0558a1dfa96
|
|
audit:
|
|
enable_protocol_inspection: true
|
|
explicit_sites:
|
|
- id: httpbin.local
|
|
exact_match:
|
|
- httpbin.local
|
|
emit_stats: true
|
|
tls_client:
|
|
ca-certificate: ../rootCA.pem
|
|
|
|
server:
|
|
- name: rss
|
|
type: http_rproxy
|
|
listen: 127.0.0.1:9443
|
|
escaper: default
|
|
enable_tls_server: true
|
|
global_tls_server:
|
|
cert_pairs:
|
|
certificate: ../httpbin.local.pem
|
|
private-key: ../httpbin.local-key.pem
|
|
hosts:
|
|
- exact_match: httpbin.local
|
|
upstream: 127.0.0.1:80
|
|
tls_server:
|
|
cert_pairs:
|
|
certificate: ../httpbin.local.pem
|
|
private-key: ../httpbin.local-key.pem
|
|
- name: http
|
|
type: http_proxy
|
|
escaper: default
|
|
auditor: default
|
|
user-group: default
|
|
listen:
|
|
address: "[::]:8080"
|
|
tls_client:
|
|
ca_certificate: ../rootCA.pem
|
|
- name: socks
|
|
type: socks_proxy
|
|
escaper: default
|
|
auditor: default
|
|
user-group: default
|
|
listen:
|
|
address: "[::]:1080"
|