Commit Graph

1188 Commits (f19f95af3546decd86ec825473da3f127ad683e8)

Author SHA1 Message Date
V2Ray 9c45cb031a Remove magic number 2015-09-26 22:32:45 +02:00
V2Ray 13e595e4cb Move socks config into a sparate folder 2015-09-25 21:00:51 +02:00
V2Ray 3747e45978 test cases for socks4 2015-09-25 20:48:55 +02:00
V2Ray d77ba76ccf Update error handling in socks proxy 2015-09-25 17:59:45 +02:00
V2Ray 08f85fc9b7 Unify error checking by introducing error codes 2015-09-25 00:17:44 +02:00
V2Ray d77fdbd719 Explictly wait for server ready 2015-09-24 18:08:55 +02:00
V2Ray 02c3f144e2 test case for freedom connection 2015-09-24 18:01:02 +02:00
V2Ray fc14b9346c Remove keepalive settings 2015-09-24 15:10:02 +02:00
V2Ray 51c2a2b880 build break 2015-09-24 14:55:21 +02:00
V2Ray a78dbe7133 Close connection more aggressively. 2015-09-24 14:51:19 +02:00
V2Ray c138004bf9 First attempt to regulate errors. 2015-09-24 12:54:10 +02:00
V2Ray 6ecb18268e Use array instead of slice 2015-09-23 22:17:25 +02:00
V2Ray 8ce7ee1cda Initial version of TimedStringMap 2015-09-23 18:19:05 +02:00
V2Ray bb442b4f83 Fix usage of Mutex 2015-09-23 17:13:50 +02:00
V2Ray 3fbae6795a Switch to Mutex for better readability 2015-09-23 14:14:53 +02:00
V2Ray c59dcc309c Update VMess protocol to remove unnecessary data 2015-09-23 00:29:10 +02:00
V2Ray 019d8266bc Basic implementation of socks udp listener. 2015-09-22 23:50:05 +02:00
V2Ray 53eff7bb3e format code 2015-09-22 18:43:30 +02:00
V2Ray 3f0f8f005d still need this goroutine 2015-09-22 18:43:12 +02:00
V2Ray f30841019d simplify code 2015-09-22 18:31:06 +02:00
V2Ray ec83281d18 Parse config just once 2015-09-22 18:11:55 +02:00
V2Ray 787df1ab9b Reduce memory allocation in vmess. 2015-09-22 14:50:34 +02:00
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray bd35793cf8 Don't random pick if there is only one vnext or user 2015-09-22 00:28:52 +02:00
V2Ray e57089637a udp packet format in socks5 2015-09-21 20:56:07 +02:00
V2Ray 26b6c06c9e format code 2015-09-21 19:57:30 +02:00
V2Ray 0ce10e1f88 More docs 2015-09-21 19:56:58 +02:00
V2Ray 79ffd818b2 Add network field in config file. 2015-09-21 17:52:58 +02:00
V2Ray e2bd6abb04 format code 2015-09-21 17:48:08 +02:00
V2Ray 3e2cd914b3 Prevent DoS attack 2015-09-21 17:37:06 +02:00
V2Ray a51d64a102 More information when vmess auth fails. 2015-09-21 17:28:48 +02:00
V2Ray 145d78b271 refactor code 2015-09-20 21:21:55 +02:00
V2Ray cb16047cf0 prefer interface over struct 2015-09-20 18:22:29 +02:00
V2Ray 823cbf1509 Split Address struct to save some bytes 2015-09-20 16:55:45 +02:00
V2Ray b319704282 Add network type to destination to be ready for UDP connection 2015-09-20 16:03:12 +02:00
V2Ray a887fd01b8 Move log into common 2015-09-20 00:50:21 +02:00
V2Ray b40be74b86 Fix test break 2015-09-20 00:11:14 +02:00
V2Ray 075753c030 Massive refactoring for better code structure 2015-09-19 23:54:36 +02:00