Commit Graph

318 Commits (07dee80f54933f31a4f72f02f5116c38df5ba592)

Author SHA1 Message Date
Darien Raymond 50007a9790 reduce number of preallocated buffers
9 years ago
v2ray 526c4558ca simplify validity map
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 97a85f04ce Buffer.Prepend()
9 years ago
v2ray f34e253ea3 Rename errors with Error prefix
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 06b92bddcf authenticator
9 years ago
v2ray 494f431c37 remove ReadAllBytes in favor of io.ReadFull
9 years ago
v2ray dde3f60e30 udp for shadowsocks
9 years ago
v2ray 2e866be181 R.I.P Shadowsocks
9 years ago
Darien Raymond 4624de091b remove cache of existing user hashes
9 years ago
Darien Raymond 1a10f7c4da init rand with time
9 years ago
v2ray 2b1441b030 bytes to number methods
9 years ago
v2ray 790d37bf90 checksum for response command
9 years ago
v2ray 98d99a1fd0 dynamic allocation of inbounds
9 years ago
v2ray 216faf587c string list test
9 years ago
v2ray 37a9d8ef50 dice.Roll()
9 years ago
Darien Raymond 8180145413 more test cases for uuid
9 years ago
Darien Raymond 7f4ff04483 test cases for Equals()
9 years ago
Darien Raymond d75eeed25d format code
9 years ago
Darien Raymond 85feb725a5 BytesLiteral.All()
9 years ago
Darien Raymond c78460df1e test case for ipv4 address in ipv6 format
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 573d0a9c29 fix build break
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
Darien Raymond ae8121e633 remove json packages in app folder
9 years ago
v2ray 2d233295e6 simplify stringlist
9 years ago
v2ray a403859105 move network to net
9 years ago
v2ray 393a64820f simplify port range
9 years ago
v2ray 5ceac7a6e2 move host from net/json to net
9 years ago
v2ray 1f1f79b90a simplify address
9 years ago
v2ray 1958a874cd remove unnecessary memory allocation in uuid generation
9 years ago
v2ray 559eadcaf1 test case for sized queue
9 years ago
v2ray ea080b2ebf rewrite id hash queue
9 years ago
v2ray adf5820286 futher reduce memory usage of uuid
9 years ago
v2ray 774095568f lazy initialization of uuid string
9 years ago
v2ray e0b56528fc leverage sync.Pool for allocation boost
9 years ago
v2ray 4773a8f4ae exit faster in cleanup thread
9 years ago
v2ray add1197cc9 typo
9 years ago
v2ray d1fecba6e4 improve timed queue performance
9 years ago
v2ray 89175198ee remove unnecessary cleanup routine
9 years ago
v2ray ca71c0300f avoid infinite loop in next uuid generation
9 years ago
v2ray 4ca43c3121 alternative user ids
9 years ago
v2ray 43a06e52de init timeout value
9 years ago
v2ray c74091453c no op when new timeout setting is the same as previous
9 years ago
Darien Raymond e6ad1d8518 format code
9 years ago
v2ray 8d6fdd014a dns cache command
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 e2acec745c Add a bytes method to alloc.buffer
9 years ago
Darien Raymond 9e84519134 validity map
9 years ago
v2ray fed5697dc3 SwitchAccount command
9 years ago
v2ray 47f35b1c3e uuid
9 years ago
v2ray 5b3e84ede6 dns config
9 years ago
Darien Raymond ed09b4ea6a support domain as host in VMess outbound config.
9 years ago
Darien Raymond c19341ffab chinaip
9 years ago
v2ray c54c0218e0 simplify test
9 years ago
v2ray e1c58fae2b dns cache
9 years ago
v2ray db7d48e48f Refine log settings
9 years ago
Darien Raymond 3942679371 doc
9 years ago
v2ray e42510aca5 more literals
9 years ago
Darien Raymond 9b830fc432 update end 2 end test
9 years ago
Darien Raymond d22fed67ad format code
9 years ago
Darien Raymond ae056714db refactor common/net.Port
9 years ago
Darien Raymond fa7c1069bc more update
9 years ago
Darien Raymond ec31c1fa7f remove common/net unit test back.
9 years ago
Darien Raymond ab875000e0 fix build break
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 091f047ebb add assertions for net utilities
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 e8e6cf1429 doc for retry
9 years ago
V2Ray d45b867f98 Rename RetryStrategy to Strategy as suggested by lint
9 years ago
V2Ray cc61e88eca Log timestamp
9 years ago
V2Ray 6626c22a8d refactor
9 years ago
V2Ray d48ac4418f config for rule based router
9 years ago
V2Ray 794b5081e3 Simplify swap
9 years ago
V2Ray 346b6125f4 test cases for Destination
9 years ago
V2Ray a46db069fb Refactor AES encryption/decryption
9 years ago
V2Ray 3f884ed924 More test case for stream logger
9 years ago
V2Ray 144141b3c3 test case for stream logger
9 years ago
V2Ray d58384ced0 One more test case for retry
9 years ago
V2Ray 60b116fbde Test case for retry
9 years ago
V2Ray 1cec5ac643 Test case for inbound detour network
9 years ago
V2Ray 03b8c8f9e8 Port picker
9 years ago
V2Ray 1c09b70931 format code
9 years ago
V2Ray 46c0d457d9 User settings for trusted user
9 years ago
V2Ray c56e17fff9 Dokodemo proxy
9 years ago
V2Ray fdb41bbd50 Remove call to UTC() which is not necessary.
9 years ago
V2Ray bbc41c5e63 Increase small buffer pool
9 years ago
V2Ray 2c710d6b1c Protect from DoS attack
9 years ago
V2 Ray 9071b3ea10 more comments
9 years ago
V2Ray 2a00e2c6e9 Fix for IPv4 address
9 years ago
V2Ray 3c946daf88 Fix infinate look in retry
9 years ago
V2Ray 7cc8d90f26 test case for wrong auth method
9 years ago
V2Ray b9b1e3fe61 Fix line separator
9 years ago
V2Ray 3bd4238e88 Line separator
9 years ago
V2Ray efb881d73c Remove log level detection during runtime
9 years ago
V2Ray 1d40220d31 Remove error defination
9 years ago
V2Ray 93625dd656 Add a retry mechanism
9 years ago
V2Ray c7c493f20e Don't block main thread when writing access log.
9 years ago
V2Ray 702aaacac3 More doc
9 years ago
V2Ray 2a85c62e14 Use large buffer if download size is huge
9 years ago
V2Ray a80093a727 Test case for access log
9 years ago
V2Ray 6d5d8b12cd More test case for address
9 years ago
V2Ray 1652b3f7f0 Test case for buffer
9 years ago
V2Ray d4f3fc0c0f More accurate hash generation
9 years ago
V2Ray 7fe9683f28 Cleanup queue in time
9 years ago
V2Ray d83ddb4fa7 Release element ealier
9 years ago
V2Ray a77f62428a Use Buffer as a writer
9 years ago
V2Ray bf6898539b Buffer pool is mistakenly generate more buffers under normal situation.
9 years ago
V2Ray fc80d5e279 Access log
9 years ago
V2Ray 09c76de65f format code
9 years ago
V2Ray ab84639aaa prototype of platform specific code
9 years ago
V2Ray cdea39ff95 Try writing again when there are some bytes left
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 472cf7f523 Remove commented code
9 years ago
V2Ray 5b7fa17aa6 Change buffer recycling schedule
9 years ago
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation
9 years ago
V2Ray c9f6747bd2 Optimize network transport for large data
9 years ago
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom
9 years ago
V2Ray 90f85a7272 Fix a bug in transport
9 years ago
V2Ray a743f7b46b Remove use of panic
9 years ago
V2Ray cd81e5531b reuse outbound connection handler
9 years ago
V2Ray 054f56820a Synchronization in timed queue
9 years ago
V2Ray 78daf8a879 format code
9 years ago
V2Ray fe7d2d8984 Recycle memory earlier in error case
9 years ago
V2Ray 838cb8950a Enable UDP in Socks proxy
9 years ago
V2Ray ddad439614 Refactor socks request handling
9 years ago
V2Ray 76563cb7c7 simplify udp handling
9 years ago
V2Ray 544b99b1a6 dispatch udp response
9 years ago
V2Ray ba3f6108b8 assign port token for a udp packet
9 years ago
V2Ray 8f0cb97e89 Refactor timed queue
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 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 ef790375ee Update test
9 years ago
V2Ray 5604ff175b Update mutex usage in timed_map
9 years ago
V2Ray 70ad3d0174 Fix time usage in timed_map_test
9 years ago
V2Ray 99f32f1dbf More coverage
9 years ago
V2Ray 10d733263d Test case for TimedStringMap
9 years ago
V2Ray 8ce7ee1cda Initial version of TimedStringMap
9 years ago
V2Ray 4874cd54a4 Introduce Packet to unify TCP and UDP communication
9 years ago
V2Ray 4320c14efd In practice 32k buffer is never fully used.
9 years ago
V2Ray a51d64a102 More information when vmess auth fails.
9 years ago
V2 Ray 313aec4097 more docs
9 years ago
V2 Ray e4b6d5e0f0 Doc for address.go
9 years ago
V2 Ray 402e7c09c3 Doc for encryption.go
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 07d4495b27 test cases for json config
9 years ago
V2Ray a887fd01b8 Move log into common
9 years ago
V2Ray 075753c030 Massive refactoring for better code structure
9 years ago
V2Ray 5eee1b97aa Massive refactoring for better code structure
9 years ago