Commit Graph

592 Commits (2bc7347d6da4b91246d62f41a3e3dd7800a90e82)

Author SHA1 Message Date
v2ray ef200c3c5e http client
9 years ago
v2ray f2c656843e allow tls connection in http proxy
9 years ago
v2ray b65017d28d Fix build break
9 years ago
v2ray 301b0ccff7 refine cert config in http
9 years ago
v2ray 67db5830be agreesively close rays
9 years ago
v2ray 8d1f06ebaf clean up on error
9 years ago
v2ray 0bc846f016 Fix ending in vmess reader.
9 years ago
v2ray a7f61af79b fix auth reader
9 years ago
v2ray c20c44526c Fix buffer overrun in vmess
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 36bf645199 Fix a dead lock issue in VMess
9 years ago
v2ray 0442000964 fix nil reference issue in shadowsocks
9 years ago
v2ray c11ddace15 fix a buffer bug
9 years ago
v2ray b453288e04 release shadowsocks request
9 years ago
v2ray 58530e6920 force chunked stream
9 years ago
v2ray 94eab286c0 introduct Connection interface
9 years ago
v2ray d9d3eac8f7 Fix unkeyed fields
9 years ago
v2ray a7f40da07a Fix unused variables
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 7db14dad9b releasble user validator
9 years ago
v2ray c044234e4a tls settings for http proxy
9 years ago
v2ray 6486891b18 comments
9 years ago
v2ray 9e1d0d8c5e update detour config settings
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 70f803173a simplify reader/writer interface
9 years ago
v2ray e8023f0d92 releasable writer
9 years ago
v2ray 77ecd1649b fix test break
9 years ago
v2ray ff69ac7a0e Release all references
9 years ago
v2ray 3b35df1244 Handler state
9 years ago
v2ray 7f2b157956 Fix OTA in Shadowsocks TCP
9 years ago
v2ray 684e133ac5 better log
9 years ago
v2ray e298121126 Fix shadowsocks OTA issue
9 years ago
v2ray 3d4da5822b Email in shadowsocks
9 years ago
v2ray c1c22a50d5 remove old commands
9 years ago
v2ray 3ec40eedc1 remove old vmess request
9 years ago
v2ray 547cc75651 Migrate VMessIn with protocol
9 years ago
v2ray 2144c47102 Migrate VMessOut into protocol
9 years ago
v2ray ef51c600fb Apply buffered reader and writer to socks
9 years ago
v2ray 76ca9de25f refactor protocol
9 years ago
v2ray 59bc881d70 move timestamp generator to protocol
9 years ago
v2ray f0081f5327 remove unused code
9 years ago
v2ray 791ac307a2 Move userset to protocol
9 years ago
v2ray 9f50692d15 auto user creation for dynamic port
9 years ago
v2ray 87b15b2b20 Add ChaCha20 in Shadowsocks
9 years ago
v2ray 471b655934 log whole destination in vmess out
9 years ago
v2ray b60f491cec add test case for http proxy
9 years ago
v2ray c9750fa3ba prefer pointer over struct
9 years ago
v2ray 131e6bf239 Fix a potential issue mentioned in #81
9 years ago
v2ray 45db388e3f more docs
9 years ago
v2ray 6c860d64ad rename destIp to destIP
9 years ago
v2ray d0de8060b6 Merge branch 'master' of https://github.com/v2ray/v2ray-core
9 years ago
v2ray 25dfa66822 typos
9 years ago
Darien Raymond e5d0da0982 wording
9 years ago
Darien Raymond 20147cb0bd fix test break
9 years ago
Darien Raymond d1e990d46e test case for shadowsocks ota
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 76b0db2016 return ErrorInvalidAuthentication when OTA is not valid
9 years ago
v2ray c849f3df54 test case for shadowsocks protocol
9 years ago
v2ray 903985eab5 close dokodemo after testing
9 years ago
v2ray 4f59d6847f fix test break
9 years ago
v2ray 3212337aa3 clean up test cases for dokodemo
9 years ago
v2ray 77f5c15dbc fix freedom test
9 years ago
Darien Raymond b18693a9c4 more test cases for freedom
9 years ago
v2ray 29c100e613 doc for proxy
9 years ago
v2ray 32b2220739 apply udpHub in socks proxy
9 years ago
v2ray 2d1ded9b9e fix race condition in shadowsocks
9 years ago
v2ray 265c9e4abb fix race condition in dokodemo
9 years ago
v2ray 11c7191b38 clean up after error
9 years ago
v2ray c6df0fde19 clean up variable initialization
9 years ago
v2ray 2932d23b32 apply user settings to shadowsocks
9 years ago
v2ray 2147ba5ab3 move fundamental interfaces from vmess to common
9 years ago
v2ray e8b0505c01 import comment of package vmess
9 years ago
v2ray 159644a230 remove out dated test case
9 years ago
v2ray 5e2583ec8d fix udp for dokodemo and shadowsocks
9 years ago
v2ray 48aa9af631 remove out dated test
9 years ago
Darien Raymond 0d77139c24 fix udp issue in socks proxy
9 years ago
Darien Raymond 8006d0cfdc update version in install-release.sh
9 years ago
Darien Raymond 3b1f92b7e8 allow multiple UDP incoming packets in freedom
9 years ago
v2ray d3ff2b3698 chunk stream in vmess
9 years ago
v2ray 6c7a9586d0 Save 1 allocation in shadowsocks
9 years ago
v2ray 2031c13a7f refactor app.Space
9 years ago
v2ray fcf8a74a3a log access info in shadowsocks
9 years ago
v2ray 026f17fdcc todo sync
9 years ago
v2ray 6b9cb3f80d send to UDP dest
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
v2ray be10ca7e09 fix shadowsocks udp ota
9 years ago
v2ray e9c784d4bd refactor shadowsocks
9 years ago
Darien Raymond 57ff7ba923 complete implementation of shadowsocks ota
9 years ago
Darien Raymond 7f5184e943 understand OTA bit
9 years ago
Darien Raymond 008c285324 move transport methods from net to io
9 years ago
v2ray 494f431c37 remove ReadAllBytes in favor of io.ReadFull
9 years ago
v2ray 795c49b6fb close udp hub
9 years ago
v2ray dde3f60e30 udp for shadowsocks
9 years ago
v2ray 1f9bd5f692 rename TCPListener to TCPHub
9 years ago
Darien Raymond 4be27a6377 udp hub
9 years ago
Darien Raymond 925c06aeed rename transport/listener to hub
9 years ago
Darien Raymond 30f131b9ee test case for shadowsocks tcp
9 years ago
v2ray 095905a460 tcp handler for shadowsocks
9 years ago
v2ray 8ae8b3c9f5 custom tcp listener and connection object
9 years ago
v2ray 3f634eb54f fix build break
9 years ago
v2ray 2e866be181 R.I.P Shadowsocks
9 years ago
Darien Raymond 6b894c719d own hosts in http config
9 years ago
v2ray e11088aad5 update doc
9 years ago
v2ray 9ae258de3d rename
9 years ago
v2ray 5e16fa2dcd rename InboundConnectionHandlerCreator
9 years ago
v2ray d4dcee5fa3 rename InboundConfig methods
9 years ago
v2ray d325400f2e rename RegisterInboundConnectionHandlerFactory to RegisterInboundHandlerCreator
9 years ago
v2ray 01ed2fa889 rename RegisterInboundConnectionConfig to RegisterInboundConfig
9 years ago
v2ray 9fe8178e4a rename InboundConnectionHandler to InboundHandler
9 years ago
v2ray 4817f8ab1f Merge branch 'master' of https://github.com/v2ray/v2ray-core
9 years ago
Darien Raymond 4624de091b remove cache of existing user hashes
9 years ago
v2ray 9f6822411b late set of cmd id
9 years ago
v2ray 2b1441b030 bytes to number methods
9 years ago
v2ray 73c17d9931 more fuzz test
9 years ago
v2ray 42b4764700 revert lock change
9 years ago
v2ray f735663364 check input value nil
9 years ago
v2ray 790d37bf90 checksum for response command
9 years ago
v2ray 9ec238d161 account fuzz test
9 years ago
v2ray 795681c288 fix locking in vmess inbound
9 years ago
v2ray d8f29f4b5e log for detour picking
9 years ago
v2ray f478db2b2e ensure that detour list has not changed
9 years ago
v2ray 2c03641f74 test case for receiver
9 years ago
v2ray 37a9d8ef50 dice.Roll()
9 years ago
Darien Raymond d623b1809d minor fix
9 years ago
Darien Raymond d8c6102638 test case for on demand detour
9 years ago
Darien Raymond d75eeed25d format code
9 years ago
Darien Raymond 85feb725a5 BytesLiteral.All()
9 years ago
v2ray f60747c455 2nd step to reduce number of authentication bits
9 years ago
Darien Raymond 23b6b987ca fix a bug in cmdkey generation
9 years ago
v2ray baaef1dad5 handle switch account command in vmess out
9 years ago
v2ray b0adb24003 handle inbound detour in vmess inbound
9 years ago
v2ray 6eff759b05 more fields in switch account command
9 years ago
v2ray 65d5c07533 BytesLiteral.String
9 years ago
v2ray 4dd771170c lazy evaluation of access log
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 48f1d34ca5 fix config in http
9 years ago
v2ray a403859105 move network to net
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
v2ray 04e7dc87a8 log request content as debug
9 years ago
v2ray 7881330644 remove unnecessary memory allocation in vmess
9 years ago
v2ray f7a152b871 remove unnecessary memory allocation in id generation
9 years ago
v2ray 48ff2a5ae8 use [16]byte instead of string for faster hashing
9 years ago
Darien Raymond bed5235772 remove proxy/vmess/protocol/user
9 years ago
Darien Raymond dc1fbecdfb remove fuzzing tests
9 years ago
v2ray 349b02084c rewrite hashing logic in vmess
9 years ago
v2ray ea080b2ebf rewrite id hash queue
9 years ago
v2ray 47e2d957d1 don't process malformed request
9 years ago
v2ray 8daea1dc06 close inbound ray when there is an error
9 years ago
v2ray d1fecba6e4 improve timed queue performance
9 years ago
v2ray 242624de96 fix test break
9 years ago
v2ray 4ca43c3121 alternative user ids
9 years ago
v2ray 43f76d4704 doc for InboundConnectionHandler
9 years ago
v2ray 5b1854f842 simplify connection handler registration
9 years ago
v2ray 350b31cad9 First step to reduce number of bytes for response validation
9 years ago
v2ray b9c3f2cb75 Fix for empty packets
9 years ago
v2ray 7c64093a7a Output debug info when parsing VMess request
9 years ago
v2ray 3e76c3f307 fix a typo
9 years ago
v2ray 1239b1a57b fix buffer usage in vmess out
9 years ago
Darien Raymond e6ad1d8518 format code
9 years ago
Darien Raymond 27b521d2aa fix buffer usage in VMess
9 years ago
v2ray 5f6d932c03 fixes for mutex usage
9 years ago
v2ray 4271e619fe fixes for mutex usage
9 years ago
v2ray 59a5f832f6 fixes for sync logic
9 years ago
v2ray 4a7f45113a check accepting in http
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
adoot 09bf6def69 http bug fixes & disable keep-alive
9 years ago
v2ray 8d6fdd014a dns cache command
9 years ago
v2ray 4a8ec6926b dialer
9 years ago
v2ray 6543facd51 converting from host to address directly
9 years ago
v2ray 34a0cb0b70 move port out of address
9 years ago
v2ray e3a00d1400 improve http proxy effeciency
9 years ago
v2ray b3ec97058e refind http proxy
9 years ago
v2ray 34f34bb25d refine http proxy
9 years ago
v2ray 24653aef21 still close connection agressively
9 years ago
v2ray e12e5a0ecb barely working http proxy
9 years ago
v2ray d0a75ce9f3 handle connect request in http proxy
9 years ago
Darien Raymond 05caf04eee unfinished http proxy
9 years ago
Darien Raymond f0c1695db4 send request without waiting for the first packet.
9 years ago
v2ray 1f584f1502 interface for secondary id
9 years ago
v2ray a63670311e use uuid in vmess id
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
v2ray fed5697dc3 SwitchAccount command
9 years ago
Darien Raymond b6ed26aedf pubsub
9 years ago
Darien Raymond dd81fc6f6a hide space implementations from interfaces
9 years ago
Darien Raymond ed09b4ea6a support domain as host in VMess outbound config.
9 years ago
Darien Raymond af8412175e re-org vmess content
9 years ago
v2ray 092217182a simplify config directory
9 years ago
v2ray 8bee0c4a7b cleanup shell/point/config
9 years ago
v2ray e1c58fae2b dns cache
9 years ago
v2ray 15e6e6d80c introduce app.Space
9 years ago
v2ray 32c3565681 typo
9 years ago
v2ray 06f9b65ec4 receiver manager
9 years ago
Darien Raymond 6bb53251e9 handle response command in vmess outbound.
9 years ago
Darien Raymond 11220a4952 split vmess inbound and outbound
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 5003afc85c test case for vmess outbound 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
Darien Raymond cab29a7bc9 breaking change: update the way in vmess response validation
9 years ago
V2Ray 07582c5b60 Move point to shell
9 years ago
V2Ray 10b5f5cc5e Rename vmess in & out file
9 years ago
V2Ray c2904383b3 FIx a bug that mutex is passed by value.
9 years ago
V2Ray 3f0ada1bc8 add response op in vmess protocol
9 years ago
V2Ray 9a88e8696a format code
9 years ago
V2Ray 4046ee968c refactor code
9 years ago
V2Ray a8d07ce931 refactor code
9 years ago
V2Ray 1b8e100879 validation reader for vmess
9 years ago
V2Ray 8597642002 UDP support for dokodemo door
9 years ago
V2Ray b6cebd127d fuzz test for socks udp
9 years ago
V2Ray 3a6844f482 reduce number of iterations of vmess fuzzing test.
9 years ago
V2Ray bd48556b98 Smarter reader generator
9 years ago
V2Ray 2a6f4740c1 fuzzing test for vmess protocol
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 fdc72ed8c9 Move mocked userset to vmess/protocol/user
9 years ago
V2Ray 1d4b541d2f Move mock config to app/config
9 years ago
V2Ray 31fb65b3d8 Remove VMess UDP
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 a46db069fb Refactor AES encryption/decryption
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