1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
Commit Graph

994 Commits

Author SHA1 Message Date
Shelikhoo
b610fc0a70
make error less sensitive 2020-06-03 16:32:58 +08:00
Shelikhoo
221a13e658
Early detection of non http traffic to match web server behavior 2020-06-03 15:44:25 +08:00
Shelikhoo
087a62ef3d
Fixed HTTP response not adjusted based on request 2020-06-03 15:16:03 +08:00
Araragi Hokuto
2a96605138
Fix build failure on illumos
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-05-31 12:37:24 +08:00
vcptr
524b2aca56 let crypto/tls choose the proper ciphers 2020-05-31 11:25:56 +08:00
vcptr
e62e6608e1 tls use crypto std cipher suites 2020-05-31 11:25:50 +08:00
lucifer9
2bd5f2fe96 add SO_REUSEPORT for freebsd 11 2020-03-24 21:52:03 +08:00
lucifer9
9608f77ba8 fix udp not work in ipv4 using common config 2020-03-12 00:42:29 +08:00
lucifer9
d055c0497d fix tproxy udp "unable to get destination" in IPv6 environment 2020-03-12 00:42:29 +08:00
nullptr
450bc5b3f0 Add SO_REUSEPORT to inbound 2020-03-12 00:42:29 +08:00
lucifer9
e176746d03 make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer9
8c6dac924c code cleanup to make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer
2ad7060375 add freebsd/pf support:
- transparent proxy (pf rdr) in IPv4 environment
- support both tcp and udp
- enable TCP_FASTOPEN, SO_REUSEPORT_LB, SO_REUSEADDR
- sockopt:mark is mapped to SO_USER_COOKIE
2020-03-12 00:42:29 +08:00
Kslr
ae04c402da
Revert "Fix self-signed certificates on Windows" 2019-10-28 23:00:09 +08:00
Kslr
5bb4efd126
Merge pull request #1893 from lixin9311/patch-1
Fix self-signed certificates on Windows
2019-10-27 15:23:39 +08:00
Kslr
d0ac3e9d8e
Merge pull request #1940 from enihcam/master
Add SO_REUSEPORT (kernel level load balance) support
2019-10-19 12:19:09 +08:00
vcptr
fa0a21f0dd external module refraction-networking/utls use mod version 2019-10-19 10:22:49 +08:00
vcptr
5d9e2e69a9 external module gorilla/websocket use mod version 2019-10-19 10:05:40 +08:00
nullptr
ed1ade4266 Add SO_REUSEPORT (kernel level load balance) support 2019-10-13 12:12:49 +08:00
vcptr
8759e28890 update for go1.13+ 2019-10-10 14:56:01 +08:00
lucus lee
3b087bf8c4
Fix self-signed certificates on Windows 2019-09-22 22:15:27 +09:00
lucifer9
e6bf431f93 add server side h2c support 2019-07-05 11:18:00 +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
Kslr
c5635f9507 sync fly, enable tls 1.3 2019-05-17 17:54:04 +08:00
Darien Raymond
cc513c1002
fix gerCertPool() on windows 2019-02-27 14:51:51 +01:00
Darien Raymond
974b488ab0
add support for not loading system roots. fixes #1513 2019-02-26 21:58:54 +01:00
Darien Raymond
d5de8e27cc
slow down when there is not enough file descriptors. fixes #1574 2019-02-25 10:22:04 +01:00
Darien Raymond
95ed5a5ff8
comments 2019-02-23 00:01:23 +01:00
Darien Raymond
b7c3e1da66
test case for interface 2019-02-20 22:57:13 +01:00
Darien Raymond
c5cce8be6f
fix server name parsing 2019-02-19 13:05:36 +01:00
Darien Raymond
c072d38e2c
refine tls connection 2019-02-17 00:58:02 +01:00
Darien Raymond
98950d5ada
remove dep of assert lib 2019-02-10 15:02:28 +01:00
Darien Raymond
932e09a388
remove dep of assert lib 2019-02-09 15:46:48 +01:00
Darien Raymond
66a60dbfa3
remove dep on assert lib 2019-02-03 19:46:53 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00
Darien Raymond
1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond
3b02c02ab4
Revert "move init func to separate files"
This reverts commit 3de50a6412.
2019-02-01 16:56:43 +01:00
Darien Raymond
3de50a6412
move init func to separate files 2019-02-01 16:21:42 +01:00
Darien Raymond
28189197b3
remove dependency of assert lib 2019-02-01 14:38:14 +01:00
Darien Raymond
c9958681f7
remove dependency on assert lib 2019-01-31 20:57:01 +01:00
SAPikachu
033d2264ff Fix SO_MARK setting for UDP outbound connections 2019-01-25 15:53:24 +08:00
Darien Raymond
6a0b3af4c6
remove multi buffer reading in quic 2019-01-20 22:47:54 +01:00
Darien Raymond
aa4ab7fa03
return error on listening domain address 2019-01-19 10:59:47 +01:00
Darien Raymond
f66b127c0a
fix pipe test 2019-01-18 21:05:50 +01:00
Darien Raymond
8e131bcd1f
remove dependency on assert lib 2019-01-18 15:59:39 +01:00
Darien Raymond
0b1496bb7a
update dependencies in websocket 2019-01-17 15:47:07 +01:00
Darien Raymond
f1934a4ff2
move vendor to external 2019-01-17 15:33:18 +01:00
Darien Raymond
86f8fe4eb4
warning message for global trasnport config 2019-01-13 20:15:38 +01:00
Darien Raymond
ee13f7a562
fix bind addr check 2019-01-12 09:44:51 +01:00
Darien Raymond
ef739c2127
listen system only when bind addr not specified 2019-01-12 09:12:48 +01:00