Commit Graph

382 Commits (7b80322b604723c6ab0e4ab604a129ea9537b011)

Author SHA1 Message Date
Darien Raymond a4dfca0ef7
accommodate protobuf compiler change
8 years ago
Darien Raymond 7dc7937443
rename ws to websocket
8 years ago
Darien Raymond eb782436b3
proto option for C# namespace
8 years ago
Darien Raymond 3e73e66adb
remove unused code
8 years ago
Darien Raymond 3a6f66d177
remove unused code
8 years ago
Darien Raymond c3942fd5f0
fix lint warnings
8 years ago
Darien Raymond ceaf5d1178
fix lint warnings
8 years ago
Darien Raymond 1ab02e0a6b
refactor proxy registry
8 years ago
Darien Raymond c693867603
include base error
8 years ago
Darien Raymond 50bc195f7f
rename TypedSettings to TypedMessage
8 years ago
Darien Raymond 5bbbdc05de
errors.Format
8 years ago
Darien Raymond eee23e6718
fix api usage
8 years ago
Darien Raymond 1948d0738f
refactor io package
8 years ago
Darien Raymond 055023fdd5
refactor buffer
8 years ago
Darien Raymond 7a80409e30
rename alloc to buf
8 years ago
Darien Raymond a3cb770f77
clean up errors
8 years ago
Darien Raymond 8c8f0a53fd
rewrite alloc.buffer
8 years ago
Darien Raymond 186bf1f141
FillFullFrom
8 years ago
Darien Raymond cf3eb0e77d
refine buffer usage
8 years ago
Darien Raymond efb24a4d21
rewrite error lib
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago
Darien Raymond 6804d8f73a
better handling error from Pipe()
8 years ago
Darien Raymond c041740940
remove ErrMissingApplication
8 years ago
Darien Raymond 2078f29142
refine error message
8 years ago
Darien Raymond 3a51157929
fix allow passive connection
8 years ago
Darien Raymond 9471b5b066
refine dispatcher
8 years ago
Darien Raymond 43dacc3936
remove small buffer pool
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond fc6a706166
refactor protos
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond 922e761bef
rename server spec user
8 years ago
Darien Raymond c5f09c64a2
refine socks config
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond d08cba000f
accounts in protobuf
8 years ago
Darien Raymond 3423adaea4
fix test break
8 years ago
Darien Raymond 7a31e7a0c2
fix test break
8 years ago
Darien Raymond 948f04921d
update socks code for server config
8 years ago
Darien Raymond ea2c491ade
global proto gen
8 years ago
Darien Raymond 11e310298c
proto for socks server
8 years ago
Darien Raymond 0f74c618de
close input stream early
8 years ago
Darien Raymond 9b72d3cbd7
simplify socks transport
8 years ago
Darien Raymond cdb4c56546
protobuf for net
8 years ago
Darien Raymond bbca180dba
try protobuf
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 39737f6fc1
merge bad configuration error
8 years ago
v2ray 89a876a6d4
rename proxy/internal to proxy/registry
8 years ago
v2ray 210a32dc12
support udp redirection
8 years ago
v2ray cc92973daf
fix destination from addr
8 years ago
v2ray 4419f1e3d6
introduce address family in v2net
8 years ago
v2ray a9d583b92f
connection session
8 years ago
v2ray bcd27ba36f
option to allow passive connection
8 years ago
v2ray 545fa5b53c
rename errors
8 years ago
v2ray c42ed62fd5
remove use of small buffer in tests
8 years ago
v2ray 283bafdd4a
remove use of small buffer
8 years ago
v2ray e6a61930d9
remove use of small buffer
8 years ago
v2ray b72afc7c35
fix build break
8 years ago
v2ray 6a620d1c6d
socks client config
8 years ago
v2ray 84a7a2ad61
correct initialization in socks server
8 years ago
v2ray 566adec285
allow customized timeout in socks protocol
8 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 67ac925ee7
refactor bytes functions
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
v2ray 09f7e8b61e meaningful error message
9 years ago
v2ray e732ba62a6 unified config loader
9 years ago
v2ray aad10a75d3 typo
9 years ago
v2ray 5eae540e5c log access in socks and http
9 years ago
v2ray 50ca869929 organize handler metadata
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
v2ray 4b92e6b25b update log
9 years ago
v2ray b47c1ca609 get rid of annoying firewall warnings
9 years ago
v2ray fc63f0432c simplify testing
9 years ago
v2ray 3582b9d869 move net/testing/assert into assert
9 years ago
v2ray 3ded18a75b initializable apps
9 years ago
v2ray 18d75cb7b4 bug fixes to dns server
9 years ago
v2ray 7d43952690 tcphub now takes tls config as construtor parameter
9 years ago
v2ray f594f5b606 simplify tcp connection
9 years ago
v2ray 94eab286c0 introduct Connection interface
9 years ago
v2ray d9d3eac8f7 Fix unkeyed fields
9 years ago
v2ray 26ebd8dde9 refactor
9 years ago
v2ray 991cea01ab rename SocksServer to Server
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray 44bf412dfc release all adaptive readers and writers
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray 42b8dbe871 release all readers and writers
9 years ago
v2ray ef51c600fb Apply buffered reader and writer to socks
9 years ago
v2ray 45db388e3f more docs
9 years ago
Darien Raymond e5d0da0982 wording
9 years ago
Darien Raymond 20147cb0bd fix test break
9 years ago
Darien Raymond c618ce543c use net.ParseAddress in socks udp
9 years ago
Darien Raymond 4d2bcda9cc test case for socks protocol
9 years ago
v2ray 32b2220739 apply udpHub in socks proxy
9 years ago
v2ray 48aa9af631 remove out dated test
9 years ago
Darien Raymond 0d77139c24 fix udp issue in socks proxy
9 years ago
v2ray d3ff2b3698 chunk stream in vmess
9 years ago
v2ray 2031c13a7f refactor app.Space
9 years ago
v2ray 383eb57487 rename CorruptedPacket to ErrorCorruptedPacket
9 years ago
v2ray 1e79a3b75a rename errors
9 years ago
v2ray f34e253ea3 Rename errors with Error prefix
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 1f9bd5f692 rename TCPListener to TCPHub
9 years ago
Darien Raymond 925c06aeed rename transport/listener to hub
9 years ago
v2ray 8ae8b3c9f5 custom tcp listener and connection object
9 years ago
v2ray 9ae258de3d rename
9 years ago
v2ray d4dcee5fa3 rename InboundConfig methods
9 years ago
v2ray 01ed2fa889 rename RegisterInboundConnectionConfig to RegisterInboundConfig
9 years ago
v2ray 9fe8178e4a rename InboundConnectionHandler to InboundHandler
9 years ago
v2ray b0adb24003 handle inbound detour in vmess inbound
9 years ago
v2ray eec0bb4db4 lazy evaluation of log fields
9 years ago
v2ray 8f20933457 cleanup socks log
9 years ago
v2ray dde47290d7 completely remove json folder in v2ray
9 years ago
v2ray 5ceac7a6e2 move host from net/json to net
9 years ago
v2ray e5fa96f814 massive refactoring against json config parsing
9 years ago
Darien Raymond dc1fbecdfb remove fuzzing tests
9 years ago
v2ray 5b1854f842 simplify connection handler registration
9 years ago
Darien Raymond e6ad1d8518 format code
9 years ago
v2ray 4271e619fe fixes for mutex usage
9 years ago
v2ray 59a5f832f6 fixes for sync logic
9 years ago
v2ray 56c5302367 close method for point server
9 years ago
v2ray 201481a82c close method for inbound connection handler
9 years ago
v2ray 0780db7999 move connhandler to proxy
9 years ago
v2ray 54ce82fbfa Move unnecessary functions to internal
9 years ago
v2ray 1c4c9bffad Move proxy/common/config to proxy/internal/config
9 years ago
v2ray 3baa1f5bc5 interface for inbound connection handler manager
9 years ago
v2ray 34a0cb0b70 move port out of address
9 years ago
Darien Raymond f0c1695db4 send request without waiting for the first packet.
9 years ago
v2ray 1c5c1a7aef debug info
9 years ago
v2ray 88851f2bc9 Allow IP address is passed as domain in socks5 protocol
9 years ago
Darien Raymond dd81fc6f6a hide space implementations from interfaces
9 years ago
v2ray 092217182a simplify config directory
9 years ago
v2ray 8bee0c4a7b cleanup shell/point/config
9 years ago
v2ray 15e6e6d80c introduce app.Space
9 years ago
v2ray 36b7a3fe07 test case for socks protocol
9 years ago
v2ray f69b83f3e6 add interface for socks config
9 years ago
Darien Raymond ae056714db refactor common/net.Port
9 years ago
Darien Raymond fa7c1069bc more update
9 years ago
Darien Raymond 36848af749 leveral serial.String in code
9 years ago
Darien Raymond 3c12469ae5 leverage serial.String in assert
9 years ago
Darien Raymond 7960b97c8e fix test break
9 years ago
Darien Raymond 0a2e4343bc massive refactoring against unit test lib
9 years ago
V2Ray cee85bdf26 Add Port as a type
9 years ago
V2Ray 07582c5b60 Move point to shell
9 years ago
V2Ray 9a88e8696a format code
9 years ago
V2Ray 4046ee968c refactor code
9 years ago
V2Ray b6cebd127d fuzz test for socks udp
9 years ago
V2Ray bd48556b98 Smarter reader generator
9 years ago
V2Ray d34678d9a6 fuzzing test for socks protocol
9 years ago
V2Ray e60fcba4b3 Test cases for Socks end 2 end.
9 years ago
V2Ray 1d4b541d2f Move mock config to app/config
9 years ago
V2Ray 8204c9923d typo
9 years ago
V2Ray 0d06561b7e More test case
9 years ago
V2Ray c144e77eb3 Refactor socks config
9 years ago
V2Ray 654cdf18d9 Refactor socks json config
9 years ago
V2Ray 6faff6d514 test case for socks udp protocol
9 years ago
V2Ray d9ebd008d3 Check lenth of the udp packet before parsing
9 years ago
V2Ray f080f36372 format code
9 years ago
V2Ray 1edd0e660e Remove redunent code
9 years ago
V2Ray 8fbb9762db typo
9 years ago
V2Ray 1a4405dbe1 Remove redunent code
9 years ago
V2Ray f2cf4a1f89 Test case for too-short request
9 years ago
V2Ray 03b8c8f9e8 Port picker
9 years ago
V2Ray 192960b711 Move mocked connection handlers to proxy/testing/mocks
9 years ago
V2Ray 2b45e63607 Move config cache to proxy/common
9 years ago
V2Ray f93b29993b Move connection handler interfaces to proxy/common/connhandler
9 years ago
V2Ray 361a22d74d Move proxy errors to proxy/common/errors
9 years ago
Claire Raymond f10f08c87d add retry on socks and vmess inbound
9 years ago
V2Ray 4bc91b0215 Fix test
9 years ago
V2Ray 890d185979 Cleanup root directory
9 years ago
V2Ray 1b80a1a85a Handle multiple UDP packets in socks.
9 years ago
V2Ray 99671a173f Customize UDP server address
9 years ago
V2Ray 3c259b7069 Remove unused const
9 years ago
V2Ray 4ac3eab385 format code
9 years ago
V2Ray 8c5865d4e7 Lazy initialize of socks5 response
9 years ago
V2Ray 7cc8d90f26 test case for wrong auth method
9 years ago
V2Ray dc7d4a2309 Test case for wrong user account in socks5
9 years ago
V2Ray 1d40220d31 Remove error defination
9 years ago
V2Ray bc6174d4b5 Continue to work even if failed to accept connection
9 years ago
V2Ray 95b44f2160 Clear buffer for UDP response.
9 years ago
V2Ray 5cee727308 Fix socks authentication
9 years ago
V2Ray 32ab3dcd61 typo
9 years ago
V2Ray 578ede2538 release buffer after using
9 years ago
V2Ray 213aa2ecf0 Socks supports multiple accounts
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 e7daa4c21c Add size parameter to transport.ReadFrom
9 years ago
V2Ray 3ba9ee73b9 Increase reading timeout in favor of long connection
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 bbf80541b1 Fix UDP address
9 years ago
V2Ray af8baa144d Update socks implementation
9 years ago
V2Ray fe6e139e74 Add warning for fragmented packets
9 years ago
V2Ray 798011b140 Revert
9 years ago
V2Ray 28386b077b Fix UDP addr
9 years ago
V2Ray 4aba285a99 format code
9 years ago