1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-30 02:55:23 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
ayanamist
5230dfb71e
Support YAML config through JSON (#331) 2020-10-19 07:28:33 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
lucifer
425b4b497d
Add padding to abstract unix domain socket in fallbacks (#277)
* fix fall back to abstract unix domain socket in vless and trojan

* Update trojan.go

* Update vless.go

* Update trojan.go

* Update vless.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-10-08 00:35:21 +00:00
RPRX
bcc7b78ff7
Add XTLS support to mKCP (#267) 2020-10-06 16:25:02 +00:00
RPRX
b8a78038a2
VLESS PREVIEW 2.3 2020-10-04 10:51:29 +00:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
RPRX
271532fc84
Add full VLESS fallbacks support to Trojan (#254)
* Add full VLESS fallbacks support to Trojan

* Adjustments according to linter

* Use common.Must2() for pro.Write()
2020-10-03 13:12:35 +00:00
RPRX
60909dad31
VLESS PREVIEW 2.2 2020-10-03 03:23:24 +00:00
Kslr
9f344fa1c9
remove shadowsosks ota (#238)
* remove shadowsosks ota

* remove unused buf.Reader
2020-10-02 16:13:31 +08:00
RPRX
cde63bfac1
Add XTLS support to DomainSocket (#241) 2020-09-30 08:40:08 +00:00
Loyalsoldier
dfed0dc03a
Refine: geofile reading errors (#236) 2020-09-29 14:01:12 +08:00
maskedeken
e445d21f4b
Add trojan protocol support (#181)
* Add trojan protocol support

Co-authored-by: Eken Chan <ekenchan@msn.com>
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2020-09-26 23:31:24 +08:00
RPRX
648d4180aa
VLESS PREVIEW 2 2020-09-24 01:59:14 +00:00
RPRX
97eddc2374
Add XTLS support 2020-09-21 14:56:43 +00:00
RPRX
ee1e18df24
Schedulers -> Flow 2020-09-11 03:37:23 +00:00
Kslr
2a3fe11952
VMess AEAD will be used when alterId is 0 2020-09-09 00:02:53 +08:00
RPRX
16fe0b03f6
Do not convert @ to \x00 2020-09-07 16:39:53 +08:00
lucifer9
801b9490b8
fix abstract UDS & add PROXY protocol support to DS inbound 2020-09-04 15:35:54 +08:00
Felix Yan
11bf22b234
Fix dns tests by setting v2ray.location.asset 2020-09-03 16:47:40 +08:00
Felix Yan
7001483b62
Don't copy assets if they are already present
They can now reside in system path (like /usr/share/v2ray), so it's not
possible to copy into there.
2020-09-03 16:17:44 +08:00
RPRX
84aaf3a1e3
VLESS PREVIEW 1.5 2020-08-28 07:51:09 +00:00
RPRX
a3bc930075
Add PROXY protocol support to WS inbound
https://github.com/v2fly/v2ray-core/pull/103
2020-08-26 04:29:12 +00:00
lucifer
5df17338a1
Add PROXY protocol support to tcp inbound (#103)
* Add  PROXY protocol support to tcp inbound

* add settings for PROXY protocol

* Adjust hub.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-08-21 13:31:44 +00:00
Vigilans
22b4e68a2d Log matched rules and DNS to use during priority matching
2. Dotless domain support in static host & modify first letter's captial in log
2020-08-16 22:18:28 +08:00
Vigilans
dfeaef75e7 Refactor DNS Server to record original rule of domain matchers 2020-08-16 22:18:12 +08:00
Kslr
111d48130d
Merge pull request #89 from Vigilans/vigilans/dns-dotless-domain
Dotless and local domain support in built-in DNS
2020-08-09 19:27:53 +08:00
Vigilans
40c0bcc3ab Support source port matching in routing config 2020-08-09 16:53:45 +08:00
Vigilans
17f51f412c Dotless domain support in built-in DNS 2020-08-09 16:51:06 +08:00
RPRX
5e753007ad
Fix test 2020-08-03 15:17:06 +00:00
RPRX
1cfc02e720
VLESS PREVIEW 1.2 2020-08-03 06:13:26 +00:00
RPRX
bad7e2cfd8
VLESS PREVIEW 1.1 2020-07-28 15:00:23 +00:00
yuhan6665
2e20d34f84 Fix parser for shadowsocks cipher none 2020-07-11 15:27:15 -04:00
Shelikhoo
d2266bb52c
Alias for ext: to reduce ambiguous ext: used without context 2020-07-11 09:24:03 +08:00
Kslr
a8f3450b89
Merge pull request #38 from yuhan6665/master
Add stats counter for outbounds
2020-06-28 16:29:29 +08:00
yuhan6665
886598542c Add stats counter for outbounds 2020-06-27 00:31:46 -04:00
Agioi Theodoroi
bbd3988f3d
clean up code 2020-06-27 07:51:42 +08:00
Darhwa
8e791e92bc
Further strip unique signatures of tls handshake
1. allow users to disable session ticket
2. set default alpn to ["h2", "http/1.1"]
2020-06-18 11:32:37 +08:00
Shelikhoo
aece8a6a86
Added Seed to mKCP, encrypts the packets 2020-06-09 08:36:40 +08:00
Shelikhoo
d06a4d1f50
Added TestsEnabled Settings to enable VMessAEAD test 2020-06-08 16:50:50 +08:00
Shelikhoo
00103d1f73
Fix tests 2020-06-08 16:16:50 +08:00
vcptr
0fd0c374c1 fix config compatibility with old inbound/inboundDetors/out 2020-03-24 21:52:03 +08:00
vcptr
0d71d3dcf8 revert back to multiconfig 2020-03-19 19:11:16 +08:00
Kslr
fdbec9a141
Revert "multiple config" 2020-01-02 01:23:56 +08:00
Kslr
e6f226c64d
Revert "add arg -confdir" 2020-01-02 01:14:36 +08:00
vcptr
5ae47d45c2 multiconf with -confdir arg 2019-12-31 11:45:19 +08:00
vcptr
a36631357c add comments to new added code 2019-12-24 01:06:01 +08:00
vcptr
f54bbb903d fix testcase 2019-12-16 10:29:18 +08:00
vcptr
3b4a4607e5 fix test case; outbound with tail appends 2019-12-15 00:14:46 +08:00
vcptr
61e95e06c0 remove unused pkg 2019-12-14 23:48:56 +08:00
vcptr
904db6bd61 mconfig subcommand ready 2019-12-14 23:48:56 +08:00
vcptr
7b289d16cf conf obj override method 2019-12-14 23:48:56 +08:00
vcptr
b4b4b3d032 doh config use RFC8484 url format 2019-12-06 12:55:14 +08:00
vcptr
59e3a2a67c add comments to exported func 2019-11-26 13:24:46 +08:00
vcptr
ceb77ac8f5 only add to ipIndexMap if GeoIP is configured
clearer logging for expectIPs

refactor dns init code

optimal to default port logic

clear message exit if doh met error
2019-11-26 13:05:19 +08:00
vcptr
6ef77246ab add DOH dns client 2019-11-25 15:41:36 +08:00
Kslr
e52d3fa90b
Merge pull request #2037 from weaving118/master
add ip match feature for dns
2019-11-21 22:15:26 +08:00
weaving118
1345185b81
add errExpectedIPNonMatch and return nil if empty response 2019-11-21 01:09:23 +08:00
vcptr
47a5c970fc fix test failed on logger position 2019-11-20 15:08:20 +08:00
vcptr
901e4837ad logger module start firstly 2019-11-19 14:06:20 +08:00
weaving118
101f5d32fa
add ip match feature for dns 2019-11-18 23:48:42 +08:00
forever8938
6bfe044cfa
Support external domain file for dns hosts 2019-11-02 15:49:29 +08:00
wuxiaolong
97764114ea Support http outbound 2019-07-24 09:15:05 +08:00
Kirill Motkov
0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
boypt
79cf94be6c add: mute access/error logger seperately 2019-06-11 15:29:52 +08:00
Kslr
eb3df1a58e fix: json field tag syntax
sync ad4f41e1c0
2019-06-03 14:52:35 +08:00
heapops
0563d3a4bf Fix ip rule with custom geoip file
Signed-off-by: heapops <heapbin1@gmail.com>
2019-05-18 13:10:40 +08:00
eric
778767a125 fix port field parsing. fixes #1684 2019-05-11 23:14:38 +08:00
Darien Raymond
02d8845093
add scripting support for attributes matching 2019-02-28 14:04:43 +01:00
Darien Raymond
b40d7f9f6b
fix reference to protobuf 2019-02-28 11:45:17 +01:00
Darien Raymond
9c26d28c0b
fix json def 2019-02-26 21:59:22 +01:00
Darien Raymond
974b488ab0
add support for not loading system roots. fixes #1513 2019-02-26 21:58:54 +01:00
Darien Raymond
6db7935b8c
tolerate domain type names as much as possible. 2019-02-26 21:32:07 +01:00
Darien Raymond
a96babf4d4
add support for more types in static hosts. fixes #1556 2019-02-26 21:04:00 +01:00
Darien Raymond
95583b5031
support range list in routing rule 2019-02-24 23:43:00 +01:00
Darien Raymond
81ce61c243
remove geosite test case due to inconsistant data. fixes #1557 2019-02-17 16:18:35 +01:00
Darien Raymond
37ab7d27ef
fix broken test 2019-02-17 01:12:44 +01:00
Darien Raymond
204b895576
fix user level parsing in freedom. fixes #1555 2019-02-16 21:25:19 +01:00
Darien Raymond
114ec4c74b
support dest override in dns outbound 2019-02-12 22:34:43 +01:00
Darien Raymond
4eb2b5e607
merge ext into core 2019-02-10 19:04:11 +01:00