Vigilans
39cbe4ab13
Implement `setReuseAddr` and `setReusePort` in sockopt_{os}.go
4 years ago
Vigilans
bb932d8a1e
Move setting of SO_REUSEPORT out of applyInboundSocketOptions
4 years ago
RPRX
9311cb18e4
Remove unused utls
4 years ago
Kslr
a8f3450b89
Merge pull request #38 from yuhan6665/master
...
Add stats counter for outbounds
4 years ago
Shelikhoo
e4acbcee8f
Allow the use of Browser Bridge
4 years ago
yuhan6665
f34c092a06
Rename fields in StatCouterConnection
...
The fields will be used by Outbounds as well in the next commit
4 years ago
Xiaokang Wang
327a6ee1f7
Merge pull request #18 from darhwa/enhance_http_outbound
...
使http outbound支持连接https与http/2代理服务器
5 years ago
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream
5 years ago
Darhwa
d29370a654
Enhance http outbound
...
1. Enables http outbound to set up a HTTP tunnel above HTTP/1.1,
HTTP/1.1 over TLS, or HTTP/2 over TLS. Previously it only works for
plain HTTP/1.1
2. In setting up CONNECT tunnel, replaces handcrafted request with
standard http.Request
5 years ago
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"]
5 years ago
Shelikhoo
8988dc32b9
Update Version
5 years ago
Shelikhoo
aece8a6a86
Added Seed to mKCP, encrypts the packets
5 years ago
Shelikhoo
09b81b78c3
regenerate pb data
5 years ago
Shelikhoo
b610fc0a70
make error less sensitive
5 years ago
Shelikhoo
221a13e658
Early detection of non http traffic to match web server behavior
5 years ago
Shelikhoo
087a62ef3d
Fixed HTTP response not adjusted based on request
5 years ago
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.
5 years ago
vcptr
524b2aca56
let crypto/tls choose the proper ciphers
5 years ago
vcptr
e62e6608e1
tls use crypto std cipher suites
5 years ago
lucifer9
2bd5f2fe96
add SO_REUSEPORT for freebsd 11
5 years ago
lucifer9
9608f77ba8
fix udp not work in ipv4 using common config
5 years ago
lucifer9
d055c0497d
fix tproxy udp "unable to get destination" in IPv6 environment
5 years ago
nullptr
450bc5b3f0
Add SO_REUSEPORT to inbound
5 years ago
lucifer9
e176746d03
make Codacy/PR Quality Review happy
5 years ago
lucifer9
8c6dac924c
code cleanup to make Codacy/PR Quality Review happy
5 years ago
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
5 years ago
Kslr
ae04c402da
Revert "Fix self-signed certificates on Windows"
5 years ago
Kslr
5bb4efd126
Merge pull request #1893 from lixin9311/patch-1
...
Fix self-signed certificates on Windows
5 years ago
Kslr
d0ac3e9d8e
Merge pull request #1940 from enihcam/master
...
Add SO_REUSEPORT (kernel level load balance) support
5 years ago
vcptr
fa0a21f0dd
external module refraction-networking/utls use mod version
5 years ago
vcptr
5d9e2e69a9
external module gorilla/websocket use mod version
5 years ago
nullptr
ed1ade4266
Add SO_REUSEPORT (kernel level load balance) support
5 years ago
vcptr
8759e28890
update for go1.13+
5 years ago
lucus lee
3b087bf8c4
Fix self-signed certificates on Windows
5 years ago
lucifer9
e6bf431f93
add server side h2c support
5 years ago
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.
6 years ago
Kslr
c5635f9507
sync fly, enable tls 1.3
6 years ago
Darien Raymond
cc513c1002
fix gerCertPool() on windows
6 years ago
Darien Raymond
974b488ab0
add support for not loading system roots. fixes #1513
6 years ago
Darien Raymond
d5de8e27cc
slow down when there is not enough file descriptors. fixes #1574
6 years ago
Darien Raymond
95ed5a5ff8
comments
6 years ago
Darien Raymond
b7c3e1da66
test case for interface
6 years ago
Darien Raymond
c5cce8be6f
fix server name parsing
6 years ago
Darien Raymond
c072d38e2c
refine tls connection
6 years ago
Darien Raymond
98950d5ada
remove dep of assert lib
6 years ago
Darien Raymond
932e09a388
remove dep of assert lib
6 years ago
Darien Raymond
66a60dbfa3
remove dep on assert lib
6 years ago
Darien Raymond
bdd71a44b4
remove dep on assert lib
6 years ago
Darien Raymond
1ab94fed79
optimize v2ctl size
6 years ago
Darien Raymond
3b02c02ab4
Revert "move init func to separate files"
...
This reverts commit 3de50a6412
.
6 years ago