Shelikhoo
ca5695244c
add reduced iv head entropy to simplified config processor(fix)
2022-01-15 20:47:20 +00:00
Shelikhoo
d7eb207c12
add reduced iv head entropy to simplified config processor
2022-01-15 20:47:20 +00:00
Shelikhoo
3fb2852201
add reduced iv head entropy to simplified config: auto generated
2022-01-15 20:47:20 +00:00
Shelikhoo
d8f36941a8
add reduced iv head entropy to simplified config
2022-01-15 20:47:20 +00:00
Shelikhoo
0746740b10
add reduced entropy experiment to shadowsocks
2022-01-15 20:47:20 +00:00
Shelikhoo
eced27b48b
config for reduced initial iv head entropy: auto generated
2022-01-15 20:47:20 +00:00
Shelikhoo
dbacf9a6c5
config for reduced initial iv head entropy
2022-01-15 20:47:20 +00:00
Shelikhoo
17a5aaebe2
fix fakedns instance resolution leak by avoid using require
2022-01-14 11:21:52 +00:00
Shelikhoo
700d74f460
update version
2022-01-04 13:51:49 +00:00
Shelikhoo
a9bf783ad7
fix lint
2022-01-03 15:55:18 +00:00
Shelikhoo
0b8eeb0f98
fix error introduced by rebase: auto generated
2022-01-03 15:55:18 +00:00
Shelikhoo
1e98e0ae92
fix error introduced by rebase
2022-01-03 15:55:18 +00:00
Shelikhoo
0f2da63f0c
fix lint warnings in packetaddr
2022-01-03 15:55:18 +00:00
Shelikhoo
dc5cffc8b0
socks5 UDP outbound packet addr support
2022-01-03 15:55:18 +00:00
Shelikhoo
5b20d960f1
socks5 UDP outbound reader writer
2022-01-03 15:55:18 +00:00
Shelikhoo
c3b51710de
disable fullcone capture packetaddr capture on connection with forward proxy
2022-01-03 15:55:18 +00:00
Shelikhoo
91ca22f44e
shadowsockets fullcone inbound support: fix apply simplified config
2022-01-03 15:55:18 +00:00
Shelikhoo
f48f61bb25
shadowsockets fullcone inbound support: auto generated
2022-01-03 15:55:18 +00:00
Shelikhoo
e28ef6a47d
shadowsockets fullcone inbound support
2022-01-03 15:55:18 +00:00
Shelikhoo
d068b60791
shadowsockets fullcone outbound support
2022-01-03 15:55:18 +00:00
Shelikhoo
cdfef7e66b
rewrite connection interface
2022-01-03 15:55:18 +00:00
Shelikhoo
899b8fefca
fix buffer reuse bug
2022-01-03 15:55:18 +00:00
Shelikhoo
c4f850f1a9
fullcone bug fixes
2022-01-03 15:55:18 +00:00
Shelikhoo
ddf25beec1
release used buffer in packet connection wrapper
2022-01-03 15:55:18 +00:00
Shelikhoo
35db419556
fix packetaddr inline init in proxy/socks
2022-01-03 15:55:18 +00:00
Shelikhoo
552a15085d
add packet addr support in outbound handler
2022-01-03 15:55:18 +00:00
Shelikhoo
5b536a7d02
change ToPacketAddrConnWrapper to fused connection
2022-01-03 15:55:18 +00:00
Shelikhoo
409c4e9c98
add address type classification function
2022-01-03 15:55:18 +00:00
Shelikhoo
7ee06c8239
add connection adaptor func
2022-01-03 15:55:18 +00:00
Shelikhoo
690b4924ae
add packetaddr support for socks
2022-01-03 15:55:18 +00:00
Shelikhoo
79726111e3
add packet encoding support in simplified socks5 server config: auto generated
2022-01-03 15:55:18 +00:00
Shelikhoo
e7ffcfd4f6
add packet encoding support in simplified socks5 server config
2022-01-03 15:55:18 +00:00
Shelikhoo
31d248aac7
packetaddr: auto generated
2022-01-03 15:55:18 +00:00
Shelikhoo
ec9b64e5ec
Add packet addr dispatcher
2022-01-03 15:55:18 +00:00
Shelikhoo
75a2448c48
change CreatePacketAddrConn signature
2022-01-03 15:55:18 +00:00
Shelikhoo
8bf3da7c7f
add socks packetaddr config
2022-01-03 15:55:18 +00:00
Shelikhoo
6ff1cfa253
add Closable to dispatcher interface
2022-01-03 15:55:18 +00:00
Shelikhoo
bf8a0b7290
apply dispatcher interface
2022-01-03 15:55:18 +00:00
Shelikhoo
ff704d15a7
add packet connection adaptor
2022-01-03 15:55:18 +00:00
Shelikhoo
6f4c7af5a3
add IPv6 packet addr encoding test
2022-01-03 15:55:18 +00:00
Shelikhoo
16bff33858
add IPv4 packet addr encoding test
2022-01-03 15:55:18 +00:00
Shelikhoo
fd763c9bab
release packet buffer after usage
2022-01-03 15:55:18 +00:00
Shelikhoo
1ec1bbffa4
packet header encoder decoder
2022-01-03 15:55:18 +00:00
Shelikhoo
ac65036808
refactor UDP dispatcher to support fullcone dispatcher
2022-01-03 15:55:18 +00:00
Shelikhoo
4b03da7400
revert incorrect change introduced in 3ef7feaeaf
2022-01-02 15:20:59 +00:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
Shelikhoo
9f0d7e7f40
update version
2022-01-02 15:08:42 +00:00
Shelikhoo
9f6c65eeef
remove time based check in VMess MD5 decommission enforcement
2022-01-02 15:06:47 +00:00
Shelikhoo
144a7929d8
Fix DoS attack vulnerability in CommandSwitchAccountFactory
2021-12-05 19:40:10 +00:00
Shelikhoo
b960d3f1fb
Add tcp transport registration
2021-11-28 22:49:16 +00:00
Shelikhoo
718922b047
use sys/unix instead of syscall
...
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
a47fcffe50
use sys/unix instead of syscall
...
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
4cf9992f89
add TCP Keep Alive support in config
2021-11-28 22:49:02 +00:00
Shelikhoo
44272fa82f
embed macOS const to avoid platform inconsistency(again)
2021-11-28 22:49:02 +00:00
Shelikhoo
fb4ad3f5fa
embed macOS const to avoid platform inconsistency
2021-11-28 22:49:02 +00:00
Shelikhoo
3e42fc417b
fix bug introduced in adding tcp keep alive adjustment
2021-11-28 22:49:02 +00:00
Shelikhoo
6e7e864f2f
Add TCP keep alive idle setting: auto generated
2021-11-28 22:49:02 +00:00
Shelikhoo
65174fa487
rename buf type adaptor into FromBytes
2021-11-13 14:24:43 +00:00
Shelikhoo
802780e9e1
rename buf pool membership status to unmanaged
2021-11-13 14:23:29 +00:00
Shelikhoo
37f1b98cb2
relax test for mixed type content
...
Whether to allow mixed type data is contested. Since V2Ray does not use this kind of mix content in array by design, relaxing this test to avoid test break.
https://github.com/toml-lang/toml/issues/553
2021-10-21 23:34:53 +01:00
Shelikhoo
f7ba3d0341
fix test break for TOML JSON convertion
...
Based on https://github.com/pelletier/go-toml/blob/352072d51afc24d769bd644d0ee25b5f77749fa7/cmd/tomljson/main.go#L56
Commit 0f7345ba76 updated toml library version, however, the library have changed its check logic for input. This issue is now fixed.
2021-10-21 23:30:35 +01:00
Shelikhoo
054e667983
update version: V5
...
This is a pre-release version of V2Ray intended for developer preview. Users are not advised to use this version right now. Contributors are encouraged to send pull requests to the V5 Version of the codebase.
2021-10-21 22:52:01 +01:00
Shelikhoo
25e2b74c95
kcp v5 config register: auto generated
2021-10-10 15:00:32 +01:00
Shelikhoo
e0cec7f3f6
kcp v5 config register
2021-10-10 15:00:17 +01:00
Shelikhoo
ee185a5824
rework protocol buffer log settings
2021-10-02 22:29:37 +01:00
Shelikhoo
52d414fa49
integrate ioutil migration in test
...
Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f ).
2021-09-29 09:25:23 +01:00
Shelikhoo
2fcddf1966
return error if the tag is not found
...
The previous routine cause panic if the tag is not found. Thanks for report from mzz
2021-09-29 09:14:23 +01:00
Shelikhoo
a9979057dc
fix torjan protobuf version
...
We could migrate to v2 version of protobuf interface now, but it would cause additional trouble. A quick fix is applied.
2021-09-28 18:34:56 +01:00
Shelikhoo
40140c2977
better error reason reporting for auto config format
...
Without this change, the user will not be able to know the detail of error if auto config format detection is used.
2021-09-28 18:32:38 +01:00
Shelikhoo
82e730bb70
fix: switch away from ioutil
2021-09-28 18:12:40 +01:00
Shelikhoo
0c3105691f
refactor: move from io/ioutil to io and os package ( #1298 )
...
Author: Eng Zer Jun <engzerjun@gmail.com >
Date: Mon Sep 27 00:56:31 2021 +0800
refactor: move from io/ioutil to io and os package (#1298 )
2021-09-27 23:02:19 +01:00
Shelikhoo
0f9db48acd
update version
2021-09-27 22:11:38 +01:00
Shelikhoo
0f7345ba76
adjustment: ♻️ refactor geoip match logic ( #1157 )
...
cherry-pick f1902165c7
2021-09-27 21:50:18 +01:00
Shelikhoo
2fcc0ba1bb
add ip preprocessor logic
2021-09-18 21:04:30 +01:00
Shelikhoo
cb5875fe62
fix incomplete revert for name change
2021-09-13 17:01:09 +01:00
Shelikhoo
a7eae67723
add back "door" to dokodemo-door's name
...
kslr said that without door it would lose its spirit
2021-09-13 16:55:43 +01:00
Shelikhoo
6dc2dfb6c7
use custom loading rules for dns
2021-09-10 20:35:02 +01:00
Shelikhoo
89d9eba1a9
use custom loading rules for router
2021-09-09 14:45:19 +01:00
Shelikhoo
33a42e05da
chore: tidy up go.mod
2021-09-08 19:37:06 +01:00
Shelikhoo
e0c76fd1e6
integrate chi restful api
2021-09-08 19:37:06 +01:00
Shelikhoo
d9f293e135
add transport original name support
2021-09-07 16:53:09 +01:00
Shelikhoo
e314b1ef2f
Revert "rename gun, ws to full name"
...
This reverts commit d4d6e16295 .
2021-09-07 16:36:26 +01:00
Shelikhoo
d4d6e16295
rename gun, ws to full name
2021-09-07 15:57:50 +01:00
Shelikhoo
c89d629943
support more than one type for a config
2021-09-07 14:48:44 +01:00
Shelikhoo
9b93bb614a
improve reflection logic in registry
2021-09-07 14:45:56 +01:00
Shelikhoo
434d9e8700
add grpc service register
2021-09-07 14:43:45 +01:00
Shelikhoo
8ed83b6d0a
register commander
2021-09-07 14:33:00 +01:00
Shelikhoo
eeaa1e96e4
add register for reverse, instman, fakedns
2021-09-07 14:19:56 +01:00
Shelikhoo
98ee44befd
update test for router refactor
2021-09-07 13:43:28 +01:00
Shelikhoo
3c56a7f947
register observatory: auto generated
2021-09-07 13:19:43 +01:00
Shelikhoo
62eaa9a8cc
register observatory
2021-09-07 13:19:31 +01:00
Shelikhoo
68c8759f4b
add custom jsonpb unmarshaler for multi-observatory
2021-09-07 13:16:47 +01:00
Shelikhoo
df03970c22
register multi observatory
2021-09-07 13:03:03 +01:00
Shelikhoo
b368ac3b7c
added general purpose tagged features config loader
2021-09-07 13:02:09 +01:00
Shelikhoo
c05e37de45
add default value for content
2021-09-07 12:29:40 +01:00
Shelikhoo
6c934f9db0
register strategy config
2021-09-07 11:48:24 +01:00
Shelikhoo
30648c3e07
added custom balancer settings processing logic
2021-09-07 11:42:45 +01:00
Shelikhoo
5182727054
fix CountryCode not set
2021-09-07 11:09:34 +01:00
Shelikhoo
68f28b1913
refactor common router structure into separate package
2021-09-07 09:13:58 +01:00
Shelikhoo
fd63ad7160
added simplified config register
2021-09-07 08:42:34 +01:00