Commit Graph

252 Commits (65d5c07533f07dea24995bbc5040c8194dcfcd48)

Author SHA1 Message Date
V2Ray 5cee727308 Fix socks authentication
9 years ago
V2Ray d4f3fc0c0f More accurate hash generation
9 years ago
V2Ray ab151cc053 Don't generate duplicated hash
9 years ago
V2Ray 7f6878fbc3 Ray is never nil
9 years ago
V2Ray a77f62428a Use Buffer as a writer
9 years ago
V2Ray 32ab3dcd61 typo
9 years ago
V2Ray 578ede2538 release buffer after using
9 years ago
V2Ray bcffdf0da5 Simplify code
9 years ago
V2Ray 083b1d4736 Simplify code
9 years ago
V2Ray 213aa2ecf0 Socks supports multiple accounts
9 years ago
V2Ray 055c8f1833 Move goroutine one level above.
9 years ago
V2Ray 03de798a58 Update access log in vmess in
9 years ago
V2Ray fc80d5e279 Access log
9 years ago
V2Ray 936fd03c30 format code
9 years ago
V2Ray ebb4f5b7bd udp
9 years ago
V2Ray 746580d566 Use buffer in socks proxy
9 years ago
V2Ray 3cb1951dfc Use []byte in pool instead of buffer
9 years ago
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation
9 years ago
V2Ray 71df5103cd Simplify code
9 years ago
V2Ray 3aca3492eb Increase buffer size in VMessIn
9 years ago
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom
9 years ago
V2Ray 3ba9ee73b9 Increase reading timeout in favor of long connection
9 years ago
V2Ray d2e69ed6f8 Remove unnecessary slicing
9 years ago
V2Ray 3d1a6322bd Remove unnecessary copy in VMess protocol
9 years ago
V2Ray b126c5ce2a Simplify vmess response
9 years ago
V2Ray cd81e5531b reuse outbound connection handler
9 years ago
V2Ray 72b4eeba8b Simpilify configuration files
9 years ago
V2Ray 78daf8a879 format code
9 years ago
V2Ray 7a24dc3e09 Fix for domain address
9 years ago
V2Ray 85311a95dd More logs
9 years ago
V2Ray 8334d5177e Debug info
9 years ago
V2Ray bbf80541b1 Fix UDP address
9 years ago
V2Ray be59463fd0 Actually use UDP relay
9 years ago
V2Ray af8baa144d Update socks implementation
9 years ago
V2Ray fe6e139e74 Add warning for fragmented packets
9 years ago
V2Ray c61ddc7028 build break
9 years ago
V2Ray aa4d897a21 Leverage v2net functions
9 years ago
V2Ray 798011b140 Revert
9 years ago
V2Ray 28386b077b Fix UDP addr
9 years ago
V2Ray 4aba285a99 format code
9 years ago
V2Ray f7e165c114 compatibility
9 years ago
V2Ray 0be00a1c52 Fix socks test
9 years ago
V2Ray 0677013455 format code
9 years ago
V2Ray 38e64bf2ce typo
9 years ago
V2Ray 9b12ee2eb3 format code
9 years ago
V2Ray 8461cde710 Remove unnecessary debug info
9 years ago
V2Ray eb94f7a51c Fix Socks UDP implementation
9 years ago
V2Ray afb5448ffe test case for UDP in freedom
9 years ago
V2Ray 1d1708ea3c lazy init of socks5 response
9 years ago
V2Ray 557f411f85 Update freedom connection for UDP
9 years ago
V2Ray 59a6e1cef8 test case for socks udp
9 years ago
V2Ray 838cb8950a Enable UDP in Socks proxy
9 years ago
V2Ray ddad439614 Refactor socks request handling
9 years ago
V2Ray 5c4b149d48 UDP support
9 years ago
V2Ray cd42e5551c Remove VMess UDP
9 years ago
V2Ray 820da78f92 UDP handler in VMess in.
9 years ago
V2Ray 6f433f5206 Remove token field in VMess UDP
9 years ago
V2Ray 76563cb7c7 simplify udp handling
9 years ago
V2Ray 365baa0c6a Lazy initialization of UDP ports map
9 years ago
V2Ray c097e6a3c6 Print release date in version command
9 years ago
V2Ray 544b99b1a6 dispatch udp response
9 years ago
V2Ray 05b83508f8 Implementation of VMess UDP message
9 years ago
V2Ray ba3f6108b8 assign port token for a udp packet
9 years ago
V2Ray 8f0cb97e89 Refactor timed queue
9 years ago
V2Ray 9c45cb031a Remove magic number
9 years ago
V2Ray 13e595e4cb Move socks config into a sparate folder
9 years ago
V2Ray 3747e45978 test cases for socks4
9 years ago
V2Ray d77ba76ccf Update error handling in socks proxy
9 years ago
V2Ray 08f85fc9b7 Unify error checking by introducing error codes
9 years ago
V2Ray d77fdbd719 Explictly wait for server ready
9 years ago
V2Ray 02c3f144e2 test case for freedom connection
9 years ago
V2Ray fc14b9346c Remove keepalive settings
9 years ago
V2Ray 51c2a2b880 build break
9 years ago
V2Ray a78dbe7133 Close connection more aggressively.
9 years ago
V2Ray c138004bf9 First attempt to regulate errors.
9 years ago
V2Ray 6ecb18268e Use array instead of slice
9 years ago
V2Ray 8ce7ee1cda Initial version of TimedStringMap
9 years ago
V2Ray bb442b4f83 Fix usage of Mutex
9 years ago
V2Ray 3fbae6795a Switch to Mutex for better readability
9 years ago
V2Ray c59dcc309c Update VMess protocol to remove unnecessary data
9 years ago
V2Ray 019d8266bc Basic implementation of socks udp listener.
9 years ago
V2Ray 53eff7bb3e format code
9 years ago
V2Ray 3f0f8f005d still need this goroutine
9 years ago
V2Ray f30841019d simplify code
9 years ago
V2Ray ec83281d18 Parse config just once
9 years ago
V2Ray 787df1ab9b Reduce memory allocation in vmess.
9 years ago
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication
9 years ago
V2Ray bd35793cf8 Don't random pick if there is only one vnext or user
9 years ago
V2Ray e57089637a udp packet format in socks5
9 years ago
V2Ray 26b6c06c9e format code
9 years ago
V2Ray 0ce10e1f88 More docs
9 years ago
V2Ray 79ffd818b2 Add network field in config file.
9 years ago
V2Ray e2bd6abb04 format code
9 years ago
V2Ray 3e2cd914b3 Prevent DoS attack
9 years ago
V2Ray a51d64a102 More information when vmess auth fails.
9 years ago
V2Ray 145d78b271 refactor code
9 years ago
V2Ray cb16047cf0 prefer interface over struct
9 years ago
V2Ray 823cbf1509 Split Address struct to save some bytes
9 years ago
V2Ray b319704282 Add network type to destination to be ready for UDP connection
9 years ago
V2Ray a887fd01b8 Move log into common
9 years ago
V2Ray b40be74b86 Fix test break
9 years ago
V2Ray 075753c030 Massive refactoring for better code structure
9 years ago