loyalsoldier
f9175e3bc8
Fix according to go vet results
2020-08-26 19:35:33 +08:00
Loyalsoldier
ef460f68f8
Adjust Protocol Buffers ( #109 )
...
* Update protoc binary executable files to v3.13.0
* Write proto files in more standard way
* Make go generate & vprotogen compatible with protoc-gen-gofast
* Regenerate pb.go files according to new proto files
* Clean go.sum by running go mod tidy
* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Shelikhoo
09b81b78c3
regenerate pb data
2020-06-08 16:16:32 +08:00
Felix Yan
b94e3ced7a
Correct a typo in port.go
2019-10-09 06:06:47 +08:00
Darien Raymond
95583b5031
support range list in routing rule
2019-02-24 23:43:00 +01:00
Darien Raymond
8d09d74224
release buffer in error case
2019-02-20 22:55:57 +01:00
Darien Raymond
d84166ba35
remove unused testing package
2019-02-10 16:27:08 +01:00
Darien Raymond
1ab94fed79
optimize v2ctl size
2019-02-01 20:08:21 +01:00
Darien Raymond
9a7177c82c
test case for IPv6 any ip
2019-01-19 10:59:37 +01:00
Darien Raymond
163776b182
remove dependency on assert lib
2019-01-08 23:27:02 +01:00
Darien Raymond
edd71de1c3
remove dependency on assert lib
2019-01-07 23:27:59 +01:00
Darien Raymond
d26700a2fe
remove common/compare package
2019-01-07 00:12:04 +01:00
Darien Raymond
4e77570f36
fix connection reading in UDP
2019-01-06 00:34:38 +01:00
Darien Raymond
ce91e92435
fix #1496
2019-01-04 00:24:28 +01:00
Darien Raymond
057e271588
update proto lib
2018-12-01 17:39:51 +01:00
Darien Raymond
096bbd2c51
prototype of quic transport
2018-11-21 16:47:06 +01:00
Darien Raymond
234c8081f4
remove unused functions
2018-11-20 17:05:32 +01:00
Darien Raymond
769f770cf7
migrate NetworkList to []Network
2018-11-20 16:58:26 +01:00
Darien Raymond
d1f318c82a
remove unused functions
2018-11-20 16:11:55 +01:00
Darien Raymond
d675bb92df
update benchmark for address
2018-11-19 11:18:20 +01:00
Darien Raymond
842a089dad
refactor multibuffer
2018-11-18 19:36:36 +01:00
Darien Raymond
48cac1733f
remove NewMultiBufferCap
2018-11-16 11:29:16 +01:00
Darien Raymond
2364f5f280
remove AddressFamily.Either()
2018-11-16 11:13:36 +01:00
Darien Raymond
21e9a04dca
improve parse address performance
2018-11-05 01:16:06 +01:00
Darien Raymond
128a90b98b
move link to transport
2018-11-03 12:36:29 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial.
2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib
2018-11-02 15:47:58 +01:00
Darien Raymond
ee489c95b3
remove Port.Bytes()
2018-11-02 15:14:34 +01:00
Darien Raymond
41956e92a5
migrate to the new geoip matcher
2018-11-01 21:43:16 +01:00
Darien Raymond
091fa6ad23
use new errorgen
2018-09-30 23:08:41 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation
2018-09-30 18:39:53 +02:00
Darien Raymond
00ea6e3cb2
update protobuf generated files
2018-09-30 18:39:28 +02:00
Darien Raymond
383b84e7dd
unified tproxy option
2018-09-17 15:12:58 +02:00
Darien Raymond
20251bf499
system listener for both TCP and UDP
2018-09-15 21:35:32 +02:00
Darien Raymond
d068f357bd
update proto lib
2018-09-14 11:00:59 +02:00
Darien Raymond
e343fe80a2
test case for writer creation
2018-08-08 10:33:40 +02:00
Darien Raymond
4b63638dca
update protobuf lib
2018-07-25 00:36:28 +02:00
Darien Raymond
29ad2cbbdb
function to compare byte array
2018-07-12 23:38:10 +02:00
Darien Raymond
ff0ae91b9b
update protobuf generated files
2018-06-26 16:28:54 +02:00
Darien Raymond
2fb77d6911
consume context in local nameserver.
2018-06-26 15:16:45 +02:00
Darien Raymond
ac6a0f7511
update activity timer
2018-05-27 14:42:53 +02:00
Darien Raymond
68da956fc4
re-generate code
2018-05-25 11:56:01 +02:00
Darien Raymond
f1f4a796cf
Set correct remote addr for h2 request. Fixes #1068 .
2018-04-21 11:00:40 +02:00
Darien Raymond
148a7d064d
simplify buf.BufferedReader
2018-04-21 00:54:53 +02:00
Darien Raymond
d7aeb51904
merge http.Connection into net.Connection
2018-04-20 21:30:58 +02:00
Darien Raymond
5d23604713
rewrite ray -> pipe
2018-04-17 00:31:10 +02:00
Darien Raymond
b7fc1f0bd6
scenario test for domain socket
2018-04-09 20:45:23 +02:00
Darien Raymond
a320196b77
refine domain socket transport
2018-04-09 17:09:24 +02:00
Darien Raymond
27ccc9d726
comments
2018-04-03 22:34:59 +02:00
Darien Raymond
074dfbb78c
add network list to shadowsocks server
2018-04-03 17:51:01 +02:00
Darien Raymond
b5b9a83823
reorder fields in Destination for faster hashing
2018-03-16 10:13:10 +07:00
Darien Raymond
087c0c1499
refine address family type
2018-03-13 09:02:34 +01:00
Jinqiu Yu
87dd1ed877
Fix receivced, InboundBound, tranport, Enpoint typo
2018-03-11 15:25:59 +08:00
Darien Raymond
7d2c34f674
remove unused code
2018-01-10 13:30:57 +01:00
Darien Raymond
a82ca019b2
release script relocation
2017-12-25 21:54:44 +01:00
Darien Raymond
ab4f245313
overrideable dns
2017-12-19 23:55:09 +01:00
Darien Raymond
f4c35db968
merge log into common log
2017-12-19 21:28:12 +01:00
Darien Raymond
123977e324
fix misspelling
2017-12-13 15:55:39 +01:00
Darien Raymond
03403bb66b
trim space before parsing address
2017-12-11 00:41:40 +01:00
Darien Raymond
d43a23aa96
move error generator to common
2017-12-03 01:04:57 +01:00
Darien Raymond
1226f3ce39
more test cases
2017-11-23 14:48:43 +01:00
Darien Raymond
dd159cce6c
special handling for IPv6 from URL
2017-11-21 18:46:28 +01:00
Darien Raymond
d9ce03d25b
test case for geoip:cn
2017-11-07 16:21:36 +01:00
Darien Raymond
4761139fbc
comments
2017-11-06 22:42:16 +01:00
Darien Raymond
064d7249f5
banchmark IPNetTable
2017-11-05 23:39:47 +01:00
Darien Raymond
541924dc88
fix cidr parsing for non-normalized ips
2017-11-05 10:37:23 +01:00
Darien Raymond
74cf833758
fully migrate to new assertion lib
2017-10-24 16:15:35 +02:00
Darien Raymond
4a0ca30d08
update assertion api
2017-10-24 10:03:00 +02:00
Darien Raymond
6ddafdbd73
net assert
2017-10-23 23:47:20 +02:00
Darien Raymond
66b81a842d
comments
2017-10-22 22:45:05 +02:00
Darien Raymond
78d682e4d1
refactor
2017-09-11 21:56:20 +02:00
Darien Raymond
52ad41cda3
completely move away from net package
2017-08-29 14:32:54 +02:00
Darien Raymond
815019f6da
rename IPNet to IPNetTable
2017-08-29 13:51:09 +02:00
Darien Raymond
fee3042239
fix build break
2017-08-29 13:12:50 +02:00
Darien Raymond
1c856a46ab
step 1 to remove reference to net package
2017-08-29 12:56:57 +02:00
Darien Raymond
c33d7f0e21
Leverage math bitx
2017-08-29 11:31:16 +02:00
Darien Raymond
1c2b6d9536
refactor
2017-08-22 15:15:09 +02:00
Darien Raymond
693702350d
refactor
2017-04-28 14:48:23 +02:00
Darien Raymond
68bc9ea8e4
cleanup error messages
2017-04-09 15:04:04 +02:00
Darien Raymond
35248497d2
refactor error messages
2017-04-09 01:43:25 +02:00
Darien Raymond
75f5cb9afb
refactor log and error
2017-04-06 21:13:17 +02:00
Darien Raymond
2e5cb82790
update proto
2017-04-04 12:28:14 +02:00
Darien Raymond
2111c7e9ca
update proto def
2017-04-02 14:24:10 +02:00
Darien Raymond
29d614fda5
comments
2017-02-20 11:25:05 +01:00
Darien Raymond
9ad9af367c
rename import for net test
2017-02-16 21:08:10 +01:00
Darien Raymond
76d2e5517b
comments
2017-02-13 22:39:55 +01:00
Darien Raymond
5de7fb8bc2
comments
2017-02-08 10:01:22 +01:00
Darien Raymond
2a486c6b9e
ipv6 test
2017-02-08 00:26:40 +01:00
Darien Raymond
08bed9e768
update
2017-02-04 23:52:37 +01:00
Darien Raymond
b5d14b6823
update java options
2017-02-03 23:15:10 +01:00
Darien Raymond
d3d2fab1d9
refine error messages
2017-02-02 14:42:31 +01:00
Darien Raymond
f046f334cd
move common/log to app/log
2017-02-01 21:35:40 +01:00
Darien Raymond
ad7d98473f
remove timeout reader
2017-01-31 16:49:59 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context
2017-01-26 20:46:44 +01:00
Darien Raymond
8b00d6fc30
clean imports
2017-01-14 00:27:45 +01:00
Darien Raymond
d24fe9dbfb
separate network and transport protocol
2017-01-12 12:54:34 +01:00
Darien Raymond
a704d7b6b6
convert dokodemo scenario test to protobuf based
2017-01-05 11:20:04 +01:00
Darien Raymond
9a7d389f15
proto fixes
2017-01-04 14:43:52 +01:00
Darien Raymond
e678000c44
remove release() pattern
2017-01-04 12:52:24 +01:00
Darien Raymond
31d6e74482
remove rawtcp
2017-01-03 14:53:59 +01:00