Commit Graph

191 Commits (973378d610b839bcf4c08b687c962d296e09a54a)

Author SHA1 Message Date
Darien Raymond 091f047ebb add assertions for net utilities 2015-12-02 15:19:39 +00:00
Darien Raymond 0a2e4343bc massive refactoring against unit test lib 2015-12-02 14:27:18 +00:00
V2Ray cee85bdf26 Add Port as a type 2015-12-02 12:47:54 +01:00
V2Ray d48ac4418f config for rule based router 2015-11-21 21:43:40 +01:00
V2Ray 346b6125f4 test cases for Destination 2015-11-04 22:48:54 +01:00
V2Ray 1cec5ac643 Test case for inbound detour network 2015-11-01 23:01:15 +01:00
V2Ray 03b8c8f9e8 Port picker 2015-11-01 21:32:08 +01:00
V2Ray 1c09b70931 format code 2015-10-31 14:08:13 +01:00
V2Ray 46c0d457d9 User settings for trusted user 2015-10-31 09:39:45 +01:00
V2Ray c56e17fff9 Dokodemo proxy 2015-10-30 15:56:46 +01:00
V2Ray 2c710d6b1c Protect from DoS attack 2015-10-21 21:53:55 +02:00
V2Ray 2a00e2c6e9 Fix for IPv4 address 2015-10-14 08:43:04 +02:00
V2Ray 1d40220d31 Remove error defination 2015-10-13 13:55:06 +02:00
V2Ray 702aaacac3 More doc 2015-10-11 14:46:12 +02:00
V2Ray 2a85c62e14 Use large buffer if download size is huge 2015-10-11 11:43:31 +02:00
V2Ray 6d5d8b12cd More test case for address 2015-10-10 23:20:47 +02:00
V2Ray 09c76de65f format code 2015-10-09 16:48:11 +02:00
V2Ray cdea39ff95 Try writing again when there are some bytes left 2015-10-09 13:07:42 +02:00
V2Ray 3cb1951dfc Use []byte in pool instead of buffer 2015-10-08 17:41:38 +02:00
V2Ray 9ee73c4f6b Maintain an internal buffer pool to accelerate allocation 2015-10-08 14:46:18 +02:00
V2Ray c9f6747bd2 Optimize network transport for large data 2015-10-07 23:50:56 +02:00
V2Ray e7daa4c21c Add size parameter to transport.ReadFrom 2015-10-07 21:17:11 +02:00
V2Ray 90f85a7272 Fix a bug in transport 2015-10-07 13:37:40 +02:00
V2Ray 78daf8a879 format code 2015-10-06 17:24:57 +02:00
V2Ray fe7d2d8984 Recycle memory earlier in error case 2015-10-06 17:24:16 +02:00
V2Ray 838cb8950a Enable UDP in Socks proxy 2015-10-04 00:21:06 +02:00
V2Ray ddad439614 Refactor socks request handling 2015-10-03 21:42:03 +02:00
V2Ray 76563cb7c7 simplify udp handling 2015-10-02 15:32:26 +02:00
V2Ray 544b99b1a6 dispatch udp response 2015-09-28 21:32:07 +02:00
V2Ray ba3f6108b8 assign port token for a udp packet 2015-09-28 14:57:43 +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 4874cd54a4 Introduce Packet to unify TCP and UDP communication 2015-09-22 14:45:03 +02:00
V2Ray 4320c14efd In practice 32k buffer is never fully used. 2015-09-22 13:25:17 +02:00
V2 Ray 313aec4097 more docs 2015-09-21 10:15:25 +00:00
V2 Ray e4b6d5e0f0 Doc for address.go 2015-09-21 11:51:18 +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 07d4495b27 test cases for json config 2015-09-20 11:45:40 +02:00
V2Ray 075753c030 Massive refactoring for better code structure 2015-09-19 23:54:36 +02:00