1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
Commit Graph

283 Commits

Author SHA1 Message Date
Darien Raymond
1d13f47f9c
protobuf for stream settings 2016-10-02 23:43:58 +02:00
Darien Raymond
af6abfa3e3
update proto generated code 2016-09-26 15:14:39 +02:00
Darien Raymond
91f2a40dae
refine proto package names 2016-09-26 15:14:16 +02:00
Darien Raymond
60f4292882
protobuf for dokodemo config 2016-09-22 16:49:20 +02:00
Darien Raymond
88ae8248a5
protobuf for network list 2016-09-22 12:14:50 +02:00
Darien Raymond
d38e62932d
proto for dns config 2016-09-20 16:05:35 +02:00
Darien Raymond
7de7588ec2
proto for destination 2016-09-20 11:53:05 +02:00
Darien Raymond
c518726910
network proto 2016-09-20 10:44:44 +02:00
Darien Raymond
9ade07db03
remove IsTCP() and IsUDP() 2016-09-19 16:39:11 +02:00
Darien Raymond
7f2ba0d106
remove unnecessary code 2016-08-28 23:47:39 +02:00
Darien Raymond
ea2c491ade
global proto gen 2016-08-28 23:41:51 +02:00
Darien Raymond
cdb4c56546
protobuf for net 2016-08-27 00:04:35 +02:00
Darien Raymond
bbca180dba
try protobuf 2016-08-25 21:55:49 +02:00
v2ray
07a86f549b
unified import path 2016-08-20 20:55:45 +02:00
v2ray
2268f3d1bc
remove import path restriction 2016-08-19 17:05:15 +02:00
v2ray
a5a70afdb8
remove port testing 2016-08-15 22:12:11 +02:00
Shelikhoo
7259b3363b
Merge branch 'master' into websockwt 2016-08-15 10:17:22 +08:00
v2ray
cc92973daf
fix destination from addr 2016-08-14 23:20:23 +02:00
v2ray
4419f1e3d6
introduce address family in v2net 2016-08-14 18:14:12 +02:00
v2ray
a9d583b92f
connection session 2016-08-14 17:08:01 +02:00
v2ray
a2651f4dfc
address family interface 2016-08-14 17:07:52 +02:00
Shelikhoo
cb1356be75
Register ws network 2016-08-13 21:32:47 +08:00
v2ray
6f998fa18b
update ipv6 comparison 2016-07-14 14:25:06 +02:00
v2ray
7f661f5215
rename Error to Err 2016-06-27 08:53:35 +02:00
v2ray
67ac925ee7
refactor bytes functions 2016-06-26 22:34:48 +02:00
v2ray
9b6dc6bcea massive refactoring for kcp 2016-06-14 22:54:08 +02:00
v2ray
a4d76dc394 support using specific address 2016-06-04 00:38:22 +02:00
v2ray
b47c1ca609 get rid of annoying firewall warnings 2016-05-29 16:37:52 +02:00
v2ray
c75d840706 Remove serial.String 2016-05-24 22:41:51 +02:00
v2ray
ab39750ceb Remove serial.Bytes 2016-05-24 22:09:22 +02:00
v2ray
fc63f0432c simplify testing 2016-05-24 21:55:46 +02:00
v2ray
3582b9d869 move net/testing/assert into assert 2016-05-24 15:29:08 +02:00
v2ray
50957b9973 Fix build break 2016-05-23 20:25:24 +02:00
v2ray
47b2fafb32 Shorten StringLiteral 2016-05-23 20:23:40 +02:00
v2ray
cfdda19834 Shorten BytesLiteral 2016-05-23 20:21:23 +02:00
v2ray
3b545abe02 dns client implementation 2016-05-15 23:09:28 -07:00
v2ray
31d03a893a test case for port range 2016-05-02 18:56:58 +02:00
v2ray
42907ff2e8 Remove v2net.Packet 2016-04-26 00:13:26 +02:00
v2ray
7407c8d561 use stream instead of raw chan 2016-04-18 18:44:10 +02:00
v2ray
ff69ac7a0e Release all references 2016-03-11 23:51:58 +01:00
v2ray
4bb1d822af prefer Network over string 2016-02-06 18:03:42 +01:00
v2ray
45db388e3f more docs 2016-02-06 18:01:27 +01:00
v2ray
b53fddf229 doc for network 2016-02-06 11:09:53 +01:00
v2ray
0b20d6fbf3 doc for net 2016-02-06 11:01:21 +01:00
v2ray
749ca3deab doc for address 2016-02-06 11:01:18 +01:00
v2ray
dd8c7b94de doc for port 2016-02-06 10:54:41 +01:00
v2ray
e467042fbc simplify port range parsing 2016-02-06 00:13:13 +01:00
v2ray
3a40fa67e1 test case for timed io 2016-02-04 21:31:18 +01:00
v2ray
77359d8047 test case for ipnet 2016-02-04 21:23:51 +01:00
Darien Raymond
b44268d409 fix test break 2016-02-04 10:47:57 +00:00
Darien Raymond
c74bcc9c50 more json test cases 2016-02-04 10:43:04 +00:00
Darien Raymond
3b1f92b7e8 allow multiple UDP incoming packets in freedom 2016-02-01 11:38:38 +00:00
v2ray
f34e253ea3 Rename errors with Error prefix 2016-01-30 12:23:56 +01:00
Darien Raymond
7f5184e943 understand OTA bit 2016-01-29 14:09:51 +00:00
Darien Raymond
008c285324 move transport methods from net to io 2016-01-29 13:39:55 +00:00
v2ray
06b92bddcf authenticator 2016-01-29 10:57:52 +01:00
v2ray
494f431c37 remove ReadAllBytes in favor of io.ReadFull 2016-01-28 23:58:23 +01:00
Darien Raymond
1a10f7c4da init rand with time 2016-01-25 10:47:22 +00:00
v2ray
2b1441b030 bytes to number methods 2016-01-24 22:28:44 +01:00
v2ray
98d99a1fd0 dynamic allocation of inbounds 2016-01-22 16:25:01 +01:00
Darien Raymond
7f4ff04483 test cases for Equals() 2016-01-21 12:05:28 +00:00
Darien Raymond
85feb725a5 BytesLiteral.All() 2016-01-21 11:52:09 +00:00
Darien Raymond
c78460df1e test case for ipv4 address in ipv6 format 2016-01-21 11:51:53 +00:00
v2ray
baaef1dad5 handle switch account command in vmess out 2016-01-20 17:31:43 +01:00
v2ray
573d0a9c29 fix build break 2016-01-19 10:32:20 +01:00
v2ray
6eff759b05 more fields in switch account command 2016-01-19 01:21:07 +01:00
v2ray
65d5c07533 BytesLiteral.String 2016-01-18 12:58:04 +01:00
v2ray
eec0bb4db4 lazy evaluation of log fields 2016-01-18 12:24:33 +01:00
Darien Raymond
ae8121e633 remove json packages in app folder 2016-01-17 15:20:49 +00:00
v2ray
2d233295e6 simplify stringlist 2016-01-15 15:23:12 +01:00
v2ray
a403859105 move network to net 2016-01-15 14:34:33 +01:00
v2ray
393a64820f simplify port range 2016-01-15 13:39:36 +01:00
v2ray
5ceac7a6e2 move host from net/json to net 2016-01-15 13:17:04 +01:00
v2ray
1f1f79b90a simplify address 2016-01-15 13:16:07 +01:00
v2ray
43a06e52de init timeout value 2016-01-04 22:57:17 +01:00
v2ray
c74091453c no op when new timeout setting is the same as previous 2016-01-04 22:01:46 +01:00
v2ray
8d6fdd014a dns cache command 2015-12-25 01:07:42 +01:00
v2ray
6543facd51 converting from host to address directly 2015-12-17 00:58:45 +01:00
v2ray
34a0cb0b70 move port out of address 2015-12-16 23:53:38 +01:00
v2ray
5b3e84ede6 dns config 2015-12-10 22:08:36 +01:00
Darien Raymond
ed09b4ea6a support domain as host in VMess outbound config. 2015-12-09 11:20:59 +00:00
Darien Raymond
c19341ffab chinaip 2015-12-08 16:31:31 +00:00
v2ray
c54c0218e0 simplify test 2015-12-06 20:38:01 +01:00
v2ray
e1c58fae2b dns cache 2015-12-06 11:00:10 +01:00
v2ray
e42510aca5 more literals 2015-12-03 16:57:23 +01:00
Darien Raymond
d22fed67ad format code 2015-12-02 20:58:46 +00:00
Darien Raymond
ae056714db refactor common/net.Port 2015-12-02 20:44:01 +00:00
Darien Raymond
fa7c1069bc more update 2015-12-02 16:27:55 +00:00
Darien Raymond
ec31c1fa7f remove common/net unit test back. 2015-12-02 16:18:12 +00:00
Darien Raymond
ab875000e0 fix build break 2015-12-02 15:59:15 +00:00
Darien Raymond
36848af749 leveral serial.String in code 2015-12-02 15:49:34 +00:00
Darien Raymond
3c12469ae5 leverage serial.String in assert 2015-12-02 15:41:19 +00:00
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