This repository was archived by the owner on May 18, 2025. It is now read-only.
Releases: v2TLS/XGFW
Releases · v2TLS/XGFW
v0.1.8
v0.1.7
v0.1.6
RedirectModifier YAML 配置示例
- name: "redirect_dns"
action: "modify"
expr: 'port.dst == 53 && proto == "udp"'
modifier:
name: "redirect"
args:
ip: "192.168.1.100"
port: 5353
timeout: 5 # (可选,秒,默认为3)说明
- 该 Modifier 会把匹配的 UDP 包内容直接转发到目标 IP 和端口。
- 你可以用 expr 表达式灵活选择需要重定向的端口、协议、流量类型等。
- 如果需要支持 TCP 重定向,逻辑类似,只需修改连接方式。
如需更复杂的按条件动态选择目标端口等功能,也可以扩展实现!
What's Changed
- feat: Create RedirectModifier by @oweid in #39
Full Changelog: v0.1.5...v0.1.6
v0.1.5
dynamic_route 配置 YAML 示例
- name: "route_udp"
action: "modify"
expr: 'proto == "udp"'
modifier:
name: "dynamic_route"
args:
gateways:
- ip: "192.168.1.2"
port: 12345
percent: 40
- ip: "0.0.0.0" # 代表直接出公网
port: 0
percent: 60What's Changed
- feat: dynamic_route modifier by @oweid in #38
Full Changelog: v0.1.4...v0.1.5
v0.1.4
compress modifier: expr/yaml 配置格式说明
你可以这样书写规则(YAML):
- name: "compress_udp"
action: "modify"
expr: 'proto == "udp" && port.dst == 12345'
modifier:
name: "compress"
args:
algo: "lz4" # 可选: "gzip", "lz4", "zstd",默认 "gzip"
mode: "compress" # 可选: "compress", "decompress",默认 "compress"algo:压缩算法,支持"gzip"、"lz4"、"zstd"mode:compress表示压缩,decompress表示解压缩
What's Changed
- feat: create compress modifier by @oweid in #37
Full Changelog: v0.1.3...v0.1.4
v0.1.3
v0.1.2
What's Changed
- feat: log number of entries loaded for onionoo by @oweid in #34
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- feat: more auth method to support for SOCKS by @oweid in #33
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- feat: Create handshake.go by @oweid in #6
- fix: fix filter by @oweid in #7
- feat: Create mail_auth_plain.go by @oweid in #8
- feat: Create parsech.go by @oweid in #9
- feat: Create tls_cert_expiry.go by @oweid in #10
- Chore: Rename path by @oweid in #11
- fix: fix module by @oweid in #12
- Chore: rename 2nd by @oweid in #13
- Chore: rename end by @oweid in #14
- Chore: drop support of golang 1.23 by @oweid in #15
- feat: Iquic Strict Analyzer by @oweid in #16
- feat: GQUIC Strict Analyzer by @oweid in #17
- Chore: Delete README.zh.md by @O-TLS in #18
- feat: drop support of QoS by @oweid in #19
- feat: Create tls_pubkey_dup.go by @oweid in #20
- feat: Create high_freq_portscan.go by @oweid in #21
- feat: revert lasting storage for Trojan by @oweid in #22
- feat: enable lasting storage for brutal by @oweid in #23
- feat: enable lasting storage for hy2 by @oweid in #24
- feat: enable lasting storage for FET by @oweid in #25
- feat: enable lasting storage for SOCKS by @oweid in #26
- feat: enable lasting storage for OpenVPN by @oweid in #27
- feat: enable lasting storage for skype by @oweid in #28
- feat: enable lasting storage for skypemorph by @oweid in #29
- feat: revert enable lasting storage for SOCKS by @oweid in #30
- feat: Create ssh_banner_alg.go by @oweid in #31
- feat: improve ssh_banner_alg.go by @oweid in #32
Full Changelog: v0.0.4...v0.1.0
v0.1.0-rc.7
What's Changed
- feat: revert enable lasting storage for SOCKS by @oweid in #30
Full Changelog: v0.1.0-rc.6...v0.1.0-rc.7