[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81945":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":12,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":17,"hasPages":17,"topics":19,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},81945,"WinTProxy","NukaColaM\u002FWinTProxy","NukaColaM","Transparent SOCKS5 proxy for Windows. WinTProxy intercepts IPv4 TCP and UDP traffic with WinpkFilter (ndisapi), plans each packet through explicit DNS, bypass, policy, proxy, return-path, and action-execution stages, then applies a proxy\u002Fdirect verdict.","",null,"C",21,2,0,1.43,"MIT License",false,"main",[20,21,22,23,24],"proxy","socks5","transparent-proxy","windivert","windows","2026-06-12 02:04:21","# WinTProxy\n\n> **⚠️ Low-level refactoring in progress — WinDivert is being replaced by WinpkFilter. APIs, config schema, and behavior may change without notice.**\n\nTransparent SOCKS5 proxy for Windows. WinTProxy intercepts IPv4 TCP and UDP traffic with [WinDivert](https:\u002F\u002Fgithub.com\u002Fbasil00\u002FWinDivert), plans each packet through explicit DNS, bypass, policy, proxy, return-path, and action-execution stages, then applies a proxy\u002Fdirect verdict.\n\n## Features\n\n- Explicit verdict\u002Faction traffic engine with centralized pass, drop, rewrite\u002Fsend, DNS-forward, and UDP-relay actions.\n- Traffic-stage JSON config: `dns`, `bypass`, `policy`, `proxy`, and `logging`.\n- Ordered first-match proxy\u002Fdirect policy rules by process name, IP range, port, and protocol.\n- TCP forwarding through SOCKS5 CONNECT.\n- UDP forwarding through SOCKS5 UDP ASSOCIATE.\n- DNS hijacking for both UDP and TCP DNS before normal policy decisions.\n- Fixed-size hot-path tables for connection tracking, DNS NAT, process lookup, and relay state.\n\n## Quick Start\n\nCross-compile with MinGW from WSL2 or Linux:\n\n```bash\nsudo apt install gcc-mingw-w64-x86-64\ncmake -B build -DCMAKE_TOOLCHAIN_FILE=cmake\u002Fmingw-toolchain.cmake\ncmake --build build\n```\n\nPlace `WinDivert.dll` and `WinDivert64.sys` next to `WinTProxy.exe`, then run from an elevated Windows shell:\n\n```powershell\nWinTProxy.exe --config config.example.json\n```\n\n## Usage\n\n```text\nWinTProxy.exe [options]\n\nOptions:\n  --config \u003Cpath>     Path to JSON config file\n  --log \u003Cpath>        Override logging.file from config\n  -v, --verbose       Override logging.level (-v=info, -vv=debug, -vvv=trace; extra -v clamps to trace)\n  --version           Show version\n  -h, --help          Show help\n```\n\nTraffic behavior belongs in the config file. CLI flags are intentionally limited to bootstrap\u002Flogging\u002Fhelp\u002Fversion. The five public log levels are `error`, `warn`, `info`, `debug`, and `trace`; `debug` is the normal troubleshooting view with flow decisions, DNS query summaries, and grouped performance snapshots, while `trace` is reserved for packet\u002Fprotocol detail. Extra verbosity such as `-vvvv` clamps to `trace`.\n\n## Configuration\n\nWinTProxy now uses a traffic-stage schema. Policy decisions are `proxy` or `direct` only; the previous policy-level `block` action has been removed from the traffic model.\n\nSee [config.example.json](config.example.json) for an annotated example.\n\n## Documentation\n\n- [Guide](guide.md) — build, configuration, and architecture\n- [config.example.json](config.example.json) — annotated traffic-stage config\n\n## License\n\nThird-party components:\n\n- [WinDivert](https:\u002F\u002Fgithub.com\u002Fbasil00\u002FWinDivert) - LGPL-3.0\n- [cJSON](https:\u002F\u002Fgithub.com\u002FDaveGamble\u002FcJSON) - MIT\n","WinTProxy 是一个适用于 Windows 的透明 SOCKS5 代理，通过 WinDivert 在数据包级别拦截 TCP\u002FUDP 流量。其核心功能包括基于 JSON 配置的流量处理引擎，支持按进程名、IP 范围、端口和协议匹配的有序策略规则，以及 TCP 和 UDP 的 DNS 劫持与转发。项目使用 C 语言编写，具有高性能连接跟踪和状态管理能力。适合需要在 Windows 环境下对网络流量进行精细控制的应用场景，如开发测试、网络安全研究或企业内部网络管理。当前版本正在重构中，将 WinDivert 替换为 WinpkFilter，API 和配置可能发生变化。","2026-06-11 04:07:19","CREATED_QUERY"]