Kslr
a44e1ede5b
update to IETF QUIC draft-29 ( #287 )
...
* update to IETF QUIC draft-29
4 years ago
RPRX
bcc7b78ff7
Add XTLS support to mKCP ( #267 )
4 years ago
Loyalsoldier
bb44d01096
Format proto files using clang-format according to google style ( #264 )
...
* Format proto files using clang-format according to google style
* Regenerate pb.go files
4 years ago
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH
4 years ago
RPRX
cde63bfac1
Add XTLS support to DomainSocket ( #241 )
4 years ago
RPRX
97eddc2374
Add XTLS support
4 years ago
DuckSoft
9def692b21
kcp: removing annoying NewAEADAESGCMBasedOnSeed hint
4 years ago
lucifer9
801b9490b8
fix abstract UDS & add PROXY protocol support to DS inbound
4 years ago
loyalsoldier
f12f76582f
Fix according to staticcheck result
...
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
4 years ago
loyalsoldier
1fa89b32d4
Format: run go fmt ./...
4 years ago
lucifer
4c9210cf11
Parse X-Forwarded-For in http transport ( #142 )
...
* Parse X-Forwarded-For
* Update hub.go
Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
4 years ago
loyalsoldier
f9175e3bc8
Fix according to go vet results
4 years ago
RPRX
f5642b4075
L -> l, A -> a
4 years ago
RPRX
9046bea466
Adjust TCP inbound logs
4 years ago
RPRX
a3bc930075
Add PROXY protocol support to WS inbound
...
https://github.com/v2fly/v2ray-core/pull/103
4 years ago
Loyalsoldier
ef460f68f8
Adjust Protocol Buffers ( #109 )
...
* Update protoc binary executable files to v3.13.0
* Write proto files in more standard way
* Make go generate & vprotogen compatible with protoc-gen-gofast
* Regenerate pb.go files according to new proto files
* Clean go.sum by running go mod tidy
* Implement mustEmbedUnimplementedServiceServer for gPRC services
4 years ago
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>
4 years ago
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
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
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream
4 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
4 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"]
4 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
Kslr
aa4dc77978
add tls1.3 ciphers
5 years ago
Shelikhoo
765d66296b
Enable tls1.3 if not explicitly disabled
5 years ago
liberal-boy
dc8af28d56
enable TLS 1.3 by default
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
vcptr
bcfd778d57
let crypto/tls choose the proper ciphers
5 years ago
vcptr
bd4e470e33
tls use crypto std cipher suites
5 years ago
lucifer9
2bd5f2fe96
add SO_REUSEPORT for freebsd 11
5 years ago
lucifer9
2574704710
add SO_REUSEPORT for freebsd 11
5 years ago
Araragi Hokuto
6673733da7
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
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
lucifer9
2c50e56904
fix udp not work in ipv4 using common config
5 years ago
lucifer9
7979478367
fix tproxy udp "unable to get destination" in IPv6 environment
5 years ago