Commit Graph

581 Commits (784d4ce560824dfebe2d5164b80bb072ee25090c)

Author SHA1 Message Date
v2ray 31d03a893a test case for port range
9 years ago
v2ray a538de56de detect end of channel
9 years ago
v2ray 3df7634570 safer for loop
9 years ago
v2ray 0c6a14c27b test case for buffer string
9 years ago
v2ray 5390e8efff reduce memory usage in log
9 years ago
v2ray dd8ce6f164 releasable log
9 years ago
v2ray cef5386a21 Log level: none
9 years ago
v2ray 8b71647b9d comments
9 years ago
v2ray ea6ccb88af actually wait for done
9 years ago
v2ray d9367efb2d comments
9 years ago
v2ray a7f40da07a Fix unused variables
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray 7db14dad9b releasble user validator
9 years ago
v2ray 7768674df8 revert unintentional change
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray 70f803173a simplify reader/writer interface
9 years ago
v2ray 308c40553c split BufferPool from buffer.go
9 years ago
v2ray e8023f0d92 releasable writer
9 years ago
v2ray 760247a4ab fix log test for windows
9 years ago
v2ray ff69ac7a0e Release all references
9 years ago
v2ray 1b5b599741 agressively cleanup references at release
9 years ago
v2ray a341cab302 implement releasable interface in v2io
9 years ago
v2ray c7f6426c88 release interface
9 years ago
v2ray be90c04deb prevent double release in buffer
9 years ago
v2ray 81bc2ff91d test case for raw encoding
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 cba26dabe8 more protocol implementation
9 years ago
v2ray be09847bbd buffered reader and writer
9 years ago
v2ray 7fa96a4d2c fix build break
9 years ago
v2ray 79171f105a move CryptionReader and Writer into a separate file
9 years ago
v2ray 7b79a768ef protocol and api
9 years ago
v2ray 76ca9de25f refactor protocol
9 years ago
v2ray 59bc881d70 move timestamp generator to protocol
9 years ago
v2ray 791ac307a2 Move userset to protocol
9 years ago
v2ray 9f50692d15 auto user creation for dynamic port
9 years ago
v2ray 9e68c150e1 timestamp in protocol
9 years ago
v2ray 3b39269ca0 format code
9 years ago
v2ray 075423972b remove unnecessary function
9 years ago
v2ray 65819228c1 more chacha20 test
9 years ago
v2ray 769af1ed02 ChaCha20 stream cipher
9 years ago
v2ray b59f7488fd raw interface
9 years ago
v2ray 8daa427daf generalized protocol interface
9 years ago
v2ray e47dd29ed1 more doc
9 years ago
v2ray 4bb1d822af prefer Network over string
9 years ago
v2ray 45db388e3f more docs
9 years ago
v2ray b53fddf229 doc for network
9 years ago
v2ray 0b20d6fbf3 doc for net
9 years ago
v2ray 749ca3deab doc for address
9 years ago
v2ray dd8c7b94de doc for port
9 years ago
v2ray e467042fbc simplify port range parsing
9 years ago
v2ray 2d551c97df gofmt -s
9 years ago
v2ray 3a40fa67e1 test case for timed io
9 years ago
v2ray 77359d8047 test case for ipnet
9 years ago
v2ray d5477e407b test case for NewStringLiteral
9 years ago
v2ray a0e35673cb test case for string literal
9 years ago
Darien Raymond b44268d409 fix test break
9 years ago
Darien Raymond c74bcc9c50 more json test cases
9 years ago
v2ray 01ed094ce6 doc for common
9 years ago
v2ray d89be624ce doc for dice
9 years ago
v2ray edd02f7d3c format code
9 years ago
v2ray 2147ba5ab3 move fundamental interfaces from vmess to common
9 years ago
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