mirror of
https://github.com/unchainese/unchain.git
synced 2026-04-22 23:37:07 +08:00
01e83c12d1
- Updated `go.mod` and `go.sum` to streamline dependencies. - Modified `main.go` to add a new action for starting a SOCKS5 server. - Implemented `AuthUser` method in `schema/trojan.go` for user authentication. - Enhanced `ProtoVLESS` structure in `schema/vless.go` to include user ID and data handling methods. - Refactored server package to improve organization and clarity. - Added a new `socks5.go` file to implement the SOCKS5 protocol and server functionality. - Created a UDP echo server in `testkit/udp_echo_svr.go` for testing purposes. - Developed a Python script `testkit/udpcheck.py` to validate UDP functionality through the SOCKS5 proxy. - Updated `testkit/config.json` to configure the V2Ray client for SOCKS5 with VLESS. - Added README documentation in `testkit/README.md` for testing UDP over SOCKS5 with VLESS.
7.5 KiB
7.5 KiB