Files
unchain/testkit/config.json
Eric Zhou 01e83c12d1
Some checks failed
Go / build (push) Has been cancelled
构建image和发布 / build-and-push (push) Has been cancelled
Refactor and enhance SOCKS5 server with UDP support
- 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.
2025-08-27 16:14:52 +08:00

39 lines
714 B
JSON

{
"inbounds": [
{
"port": 1088,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
}
}
],
"outbounds": [
{
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "127.0.0.1",
"port": 8013,
"users": [
{
"id": "6fe57e3f-e618-4873-ba96-a76adec22ccd",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/wsv/v1?ed=2560"
} }
}
]
}