Shelikhoo
f965d25af2
add jsonConf support for bindToDevice, bufSize
2022-01-23 20:33:01 +00:00
Shelikhoo
3ef7feaeaf
update version: auto replacement to v5 path
2022-01-02 15:16:23 +00:00
Bo He
b057a37fd6
fix some typo ( #1482 )
2021-12-27 12:33:08 +08:00
Shelikhoo
4cf9992f89
add TCP Keep Alive support in config
2021-11-28 22:49:02 +00:00
秋のかえで
801d4a1d60
Chore: fix lint
2021-11-28 16:55:37 +08:00
Loyalsoldier
dce8764fd7
Lint: fix lint ( #1427 )
...
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
Loyalsoldier
43447aa2e4
Chore: format code to fix lint ( #1426 )
2021-11-27 14:32:07 +08:00
世界
dbc26775c9
Add quic sniffer
2021-11-13 14:21:57 +00:00
世界
a66bb28aee
Reformat code
2021-10-28 18:34:19 +08: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 352072d51a/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
世界
cdb14de63e
Apply timeout to dns outbound ( #1330 )
...
Cherry-pick from 7b0699e8a5
2021-10-20 23:22:42 +01:00
Shelikhoo
ee185a5824
rework protocol buffer log settings
2021-10-02 22:29:37 +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
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
秋のかえで
be4dd56ac7
Feat: custom TCP Fast Open queue length ( #1293 )
...
* Feat: custom TCP Fast Open queue length
* Feat: change default TFO queue length to 4096
2021-09-27 22:49:08 +01:00
世界
f383f896ed
Add disableFallbackIfMatch dns option
2021-09-27 22:10:54 +01:00
世界
9ee66f7efe
Add socks4/4a support
2021-09-27 21:54:29 +01:00
Ye Zhihao
1919d47649
cherry-pick adjustment for uint socket mask
2021-09-27 21:39:29 +01:00
Shelikhoo
89d9eba1a9
use custom loading rules for router
2021-09-09 14:45:19 +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
秋のかえで
383bd4ce62
feat: add network to Shadowsocks simplified config
2021-09-07 13:50:47 +01:00
秋のかえで
679d713b89
feat: add Shadowsocks simplified config
2021-09-07 13:50:06 +01:00
Shelikhoo
98ee44befd
update test for router refactor
2021-09-07 13:43:28 +01:00
Shelikhoo
c05e37de45
add default value for content
2021-09-07 12:29:40 +01:00
Shelikhoo
30648c3e07
added custom balancer settings processing logic
2021-09-07 11:42:45 +01:00
Shelikhoo
68f28b1913
refactor common router structure into separate package
2021-09-07 09:13:58 +01:00
Shelikhoo
eb423bee54
update router to adapt to protobuf change
2021-09-07 08:02:38 +01:00
Shelikhoo
9bb67daa69
update dns to reflect change in proto
2021-09-07 07:59:57 +01:00
Shelikhoo
4835b8261d
switch to protojson based config for log dns router
2021-09-06 18:18:22 +01:00
Shelikhoo
6246b97494
rename reverse match to inverse match
2021-09-06 15:37:47 +01:00
Shelikhoo
e7232a5064
fix security settings
2021-09-05 16:37:28 +01:00
Shelikhoo
8982a38eb4
provide environment context on loading
2021-09-05 16:37:27 +01:00
Shelikhoo
e645e68c83
move protofilter to common
2021-09-05 16:37:26 +01:00
Shelikhoo
78cefbaa91
add proto reflection based configure file parsing rule: auto generated
2021-09-05 16:37:26 +01:00
Shelikhoo
690d92718b
add proto reflection based configure file parsing rule
2021-09-05 16:37:26 +01:00
Shelikhoo
22b9fc380b
fix typo in interface type for service
2021-09-05 12:03:36 +01:00
Shelikhoo
2c0dec18b5
added special handling for none security: remove duplicate
2021-09-05 11:09:20 +01:00
Shelikhoo
8609a59322
added special handling for none security
2021-09-05 11:08:29 +01:00
Shelikhoo
3c94ff6a35
add default settings for transport and security
2021-09-05 10:02:05 +01:00
Shelikhoo
1e306a55e8
add default settings
2021-09-05 00:42:40 +01:00
Shelikhoo
9d771f2f9f
avoid name conflict with .v5.json
2021-09-04 22:56:23 +01:00
Shelikhoo
45dae48d21
added build context to dns
2021-09-04 21:54:21 +01:00
Shelikhoo
ae46fb7b28
added build context to V5 conf
2021-09-04 21:46:10 +01:00
Shelikhoo
62f71c80ca
added buildV5 interface to dns and router
2021-09-04 21:44:10 +01:00
Shelikhoo
7bf1d7a1ce
add jsonv5 conf loader
2021-09-04 19:54:07 +01:00
Shelikhoo
51f05b1bff
fix test break for refactor data into seperate package
2021-09-04 19:43:10 +01:00
Shelikhoo
cef6a46548
add support for custom loader in json parser
2021-09-04 19:22:41 +01:00