Shelikhoo
8980cf2fcc
Regenerate protobuf for transport layer chain proxy
2021-02-28 17:52:16 +00:00
Shelikhoo
aaa55fc9d2
Add definition for transport layer chained proxy
2021-02-28 17:50:45 +00:00
Loyalsoldier
f94dd11a8c
Chore: change module name ( #677 )
2021-02-17 04:31:50 +08:00
Loyalsoldier
f98944c9e0
Chore: update protobuf ( #670 )
2021-02-11 14:57:20 +08:00
Kslr
405a051c50
Test: fix http2 dial timeout ( #570 )
...
* fix http2 dial timeout
2021-01-11 17:03:03 +08:00
kslr
d04a786a85
Fix: http2: listen port failed use error level log
...
ref https://github.com/v2fly/v2ray-core/issues/576
2021-01-03 07:11:59 +08:00
RPRX
a58bfc4ba4
SessionTicketsDisabled: false -> true
2021-01-01 11:25:04 +00:00
RPRX
4d2e782fbe
Disable session resumption by default ( #569 )
2021-01-01 17:01:14 +08:00
dyhkwong
291eff1aa3
Refine Android build ( #525 )
...
Co-authored-by: ghost <noreply@example.com>
2020-12-17 08:50:13 +08:00
Loyalsoldier
eed3f5a13f
Fix: typo ( #524 )
2020-12-16 09:26:25 +08:00
Loyalsoldier
e6fb0e1e5d
Suppress lint error ( #486 )
2020-12-03 16:14:34 +08:00
Loyalsoldier
cf11bf0498
Suppress lint error ( #480 )
2020-12-02 21:07:58 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint ( #439 )
2020-11-22 05:05:01 +08:00
Kslr
623cb24644
Remove XTLS ( #431 )
...
* remove xtls
* generate pb
* Update protoc
* Clean up go.mod & go.sum
* format code
* restore vless flow
* fix codacy
* do NOT interfere with pb.go files
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-20 15:53:10 +08:00
Chinsyo
231f5bf024
Add missing deprecation notice to deprecated code ( #437 )
2020-11-20 15:18:44 +08:00
Chinsyo
2ac380788b
Some minor fixes ( #433 )
2020-11-20 01:02:52 +08:00
Chinsyo
c4c750d03f
change temporary variable to lower camel case ( #427 )
...
Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 15:14:48 +08:00
lucifer
770b994337
Refine unix domain socket ( #367 )
2020-10-29 07:30:38 +00:00
Kslr
a770d72ca4
Merge pull request #168 from p4gefau1t/fix-mkcp-control-window
...
fix mkcp sending window
2020-10-26 00:46:14 +08:00
Kslr
f7ed96f5d4
Merge pull request #292 from Loyalsoldier/refine-code
...
Refine code according to golangci-lint results
2020-10-13 13:50:04 +08:00
RPRX
d1ed330f9f
Remove XTLS WriteMultiBuffer method
2020-10-13 04:33:11 +00:00
loyalsoldier
784775f689
Refine code according to golangci-lint results
2020-10-11 19:22:46 +08:00
RPRX
ff6bb51732
Fix XTLS over mKCP ( #302 )
2020-10-11 02:52:38 +00:00
Kslr
a44e1ede5b
update to IETF QUIC draft-29 ( #287 )
...
* update to IETF QUIC draft-29
2020-10-09 10:04:35 +08:00
RPRX
bcc7b78ff7
Add XTLS support to mKCP ( #267 )
2020-10-06 16:25:02 +00:00
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
2020-10-05 08:36:40 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH
2020-10-04 13:06:12 +08:00
RPRX
cde63bfac1
Add XTLS support to DomainSocket ( #241 )
2020-09-30 08:40:08 +00:00
RPRX
97eddc2374
Add XTLS support
2020-09-21 14:56:43 +00:00
DuckSoft
9def692b21
kcp: removing annoying NewAEADAESGCMBasedOnSeed hint
2020-09-20 17:47:15 +08:00
Page Fault
1a652933d9
fix mkcp sending window
2020-09-08 07:01:16 +00:00
lucifer9
801b9490b8
fix abstract UDS & add PROXY protocol support to DS inbound
2020-09-04 15:35:54 +08:00
loyalsoldier
f12f76582f
Fix according to staticcheck result
...
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
2020-08-30 23:41:15 +08:00
loyalsoldier
1fa89b32d4
Format: run go fmt ./...
2020-08-30 21:17:22 +08:00
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>
2020-08-30 04:30:05 +00:00
loyalsoldier
f9175e3bc8
Fix according to go vet results
2020-08-26 19:35:33 +08:00
RPRX
f5642b4075
L -> l, A -> a
2020-08-26 05:01:35 +00:00
RPRX
9046bea466
Adjust TCP inbound logs
2020-08-26 04:50:00 +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
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
2020-08-24 12:10:26 +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
39cbe4ab13
Implement setReuseAddr
and setReusePort
in sockopt_{os}.go
2020-07-31 01:20:12 +08:00
Vigilans
bb932d8a1e
Move setting of SO_REUSEPORT out of applyInboundSocketOptions
2020-07-31 00:01:36 +08:00
RPRX
9311cb18e4
Remove unused utls
2020-07-20 05:59:46 +00:00
Kslr
a8f3450b89
Merge pull request #38 from yuhan6665/master
...
Add stats counter for outbounds
2020-06-28 16:29:29 +08:00
Shelikhoo
e4acbcee8f
Allow the use of Browser Bridge
2020-06-28 15:54:53 +08:00
yuhan6665
f34c092a06
Rename fields in StatCouterConnection
...
The fields will be used by Outbounds as well in the next commit
2020-06-27 00:31:46 -04:00
Xiaokang Wang
327a6ee1f7
Merge pull request #18 from darhwa/enhance_http_outbound
...
使http outbound支持连接https与http/2代理服务器
2020-06-25 16:25:44 +08:00
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream
2020-06-24 12:57:03 +08:00
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
2020-06-20 23:03:44 +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
8988dc32b9
Update Version
2020-06-10 11:15:28 +08:00
Shelikhoo
aece8a6a86
Added Seed to mKCP, encrypts the packets
2020-06-09 08:36:40 +08:00
Shelikhoo
09b81b78c3
regenerate pb data
2020-06-08 16:16:32 +08:00
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
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
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
Darien Raymond
6146366a4a
enforce timeout for http header processing
2019-01-10 10:40:51 +01:00
Darien Raymond
163776b182
remove dependency on assert lib
2019-01-08 23:27:02 +01:00
Darien Raymond
d26700a2fe
remove common/compare package
2019-01-07 00:12:04 +01:00
Darien Raymond
a1b33c3bd6
remove unused functions
2019-01-06 20:33:58 +01:00
Darien Raymond
a1b552f948
use ListenPacket in Dial UDP connection
2019-01-06 09:39:37 +01:00
Darien Raymond
b52725cf65
DialUDP function
2019-01-05 21:43:22 +01:00
Darien Raymond
21f8bfe476
move udp packet to protocol
2019-01-05 19:49:21 +01:00
Darien Raymond
d20f87da4b
comments
2019-01-01 20:16:04 +01:00
Darien Raymond
41b1ac192e
use compact in tls writer
2018-12-27 20:38:24 +01:00
Darien Raymond
88e757e33f
merge duplicated code
2018-12-27 17:00:34 +01:00
Darien Raymond
fc92b6295a
compact buffers
2018-12-27 16:36:48 +01:00
Darien Raymond
012a2d6f57
fix #1477
2018-12-17 20:31:54 +01:00
Darien Raymond
4055c467a1
tweak quic server parameters
2018-12-11 09:50:36 +01:00
Darien Raymond
f49f85b5bd
fix #1462
2018-12-06 21:09:41 +01:00
Darien Raymond
a6d81cc56d
api doc
2018-12-03 23:39:21 +01:00
Darien Raymond
28fa84ce69
API doc
2018-12-03 22:44:42 +01:00
Darien Raymond
05f8de1b8f
allow custom controller function
2018-12-03 17:41:24 +01:00
Darien Raymond
0f63be6340
open ReadBuffer for quic connections
2018-12-03 16:01:14 +01:00
Darien Raymond
c5a384195a
fix #1451
2018-12-02 19:40:43 +01:00
Darien Raymond
057e271588
update proto lib
2018-12-01 17:39:51 +01:00
Darien Raymond
9379b2f934
fix srtp header
2018-11-30 17:37:38 +01:00
Darien Raymond
7244dc928e
max buffers in one read
2018-11-30 14:48:44 +01:00
Darien Raymond
61ad81c326
implement ReadMultiBuffer in quic conn
2018-11-30 14:41:11 +01:00
Darien Raymond
fd060a0880
temp fix deadlock in quic lib
2018-11-29 17:17:07 +01:00
Darien Raymond
3b1aaa9a3d
update quic parameters
2018-11-28 23:14:41 +01:00
Darien Raymond
1d54fd7433
update timeout and window size in quic
2018-11-27 22:39:54 +01:00
Darien Raymond
90ab42b1cb
close connection without error
2018-11-27 10:56:07 +01:00
Darien Raymond
f70712a1a3
remove warning messages in quic
2018-11-26 18:00:41 +01:00
Darien Raymond
45fbf6f059
update quic connection handling
2018-11-25 21:56:24 +01:00
Darien Raymond
5ecec6afd8
reduce concurrency
2018-11-24 23:10:04 +01:00
Darien Raymond
4ff26a36ad
update quic connection handling
2018-11-24 22:18:17 +01:00
Darien Raymond
a1801b5d6f
update quic config
2018-11-23 23:51:07 +01:00
Darien Raymond
275ab2ae8c
fix inactive session removal
2018-11-23 20:47:36 +01:00
Darien Raymond
19926b8e4f
update quic
2018-11-23 17:04:53 +01:00
Darien Raymond
9d17221266
fix test last time
2018-11-22 17:30:06 +01:00
Darien Raymond
39c84c8dcd
fix broken test again
2018-11-22 17:19:24 +01:00
Darien Raymond
4b6e12815d
fix sockopt test
2018-11-22 16:33:32 +01:00
Darien Raymond
fa7ce36aa8
update WriteMultiBuffer
2018-11-22 13:36:36 +01:00
Darien Raymond
3a1cf06dc1
add WriteMultiBuffer for interConn
2018-11-22 12:31:11 +01:00
Darien Raymond
010964f272
tweak quic parameters
2018-11-22 11:57:17 +01:00
Darien Raymond
3335f77c70
implement header and auth for quic
2018-11-21 22:02:19 +01:00
Darien Raymond
92a6699706
fix broken test again
2018-11-21 17:15:41 +01:00
Darien Raymond
cfa7ee88ce
fix broken test
2018-11-21 16:58:37 +01:00
Darien Raymond
096bbd2c51
prototype of quic transport
2018-11-21 16:47:06 +01:00
Darien Raymond
5279296f03
remove use of context.WithValue in transport
2018-11-21 14:54:40 +01:00
Darien Raymond
d2d0c69f17
benchmark certificate issuing
2018-11-21 13:00:26 +01:00
Darien Raymond
8a82a3664c
pick IP family by local address in freedom
2018-11-19 21:36:46 +01:00
Darien Raymond
91227581e5
noescape on asm functions
2018-11-19 00:33:20 +01:00
Darien Raymond
cb7646f682
remove unnecessary err object from SplitBytes
2018-11-18 19:44:32 +01:00
Darien Raymond
842a089dad
refactor multibuffer
2018-11-18 19:36:36 +01:00
Darien Raymond
0f324a613e
remove MultiBuffer.Release
2018-11-17 22:45:07 +01:00
Darien Raymond
27772a75a7
refactor MultiBuffer append
2018-11-17 09:12:20 +01:00
Darien Raymond
248099eca5
switch to bytes.Equal
2018-11-16 17:00:16 +01:00
Darien Raymond
48cac1733f
remove NewMultiBufferCap
2018-11-16 11:29:16 +01:00
Darien Raymond
2364f5f280
remove AddressFamily.Either()
2018-11-16 11:13:36 +01:00
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue
2018-11-16 11:08:12 +01:00
Darien Raymond
a20262ef20
allocate buffer on stack
2018-11-15 21:32:27 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes
2018-11-14 22:55:20 +01:00
Darien Raymond
874fc87498
test long header
2018-11-07 17:16:57 +01:00
Darien Raymond
128a90b98b
move link to transport
2018-11-03 12:36:29 +01:00
Darien Raymond
f7b96507f9
simplify buffer extension
2018-11-02 21:34:04 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial.
2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib
2018-11-02 15:47:58 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom
2018-11-02 15:01:33 +01:00
Darien Raymond
17e51b277b
move proxy.Dialer to internet.Dialer
2018-10-22 22:12:50 +02:00
Darien Raymond
e35e3e6e53
comment
2018-10-14 20:18:09 +02:00
Darien Raymond
99d661882a
remove unused constants
2018-10-14 12:20:33 +02:00
Darien Raymond
cb8e7dc9a0
comments
2018-10-14 08:23:49 +02:00
Darien Raymond
98e330513d
remove unnecessary interface
2018-10-14 08:23:41 +02:00
Darien Raymond
351316490d
fix typos
2018-10-14 08:02:23 +02:00
Darien Raymond
d730637239
Require Type() for Feature
2018-10-12 23:57:56 +02:00
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory
2018-10-11 20:43:37 +02:00
Iskander Sharipov
0cf3599db2
s/len/length/ s/cap/capacity/ to avoid builtin shadowing
2018-10-01 12:03:23 +03:00
Darien Raymond
091fa6ad23
use new errorgen
2018-09-30 23:08:41 +02:00
Lonnie Liu
e43b4cc169
fix build breakage
2018-09-30 12:51:26 -07:00
Darien Raymond
07aa486d43
fix bind address in linux
2018-09-30 19:37:08 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation
2018-09-30 18:39:53 +02:00
Darien Raymond
00ea6e3cb2
update protobuf generated files
2018-09-30 18:39:28 +02:00
Darien Raymond
94b880d060
move session based info into session package
2018-09-18 23:09:54 +02:00
Darien Raymond
cc6590d362
Revert "enable sockopt tests"
...
This reverts commit 2f28d380b3
.
2018-09-17 16:27:41 +02:00
Darien Raymond
2f28d380b3
enable sockopt tests
2018-09-17 15:55:00 +02:00
Darien Raymond
383b84e7dd
unified tproxy option
2018-09-17 15:12:58 +02:00
Darien Raymond
20251bf499
system listener for both TCP and UDP
2018-09-15 21:35:32 +02:00
Darien Raymond
47337d6496
add udp config
2018-09-15 21:33:02 +02:00
Darien Raymond
eeca745e89
options for TProxy
2018-09-14 11:05:42 +02:00
Darien Raymond
d068f357bd
update proto lib
2018-09-14 11:00:59 +02:00
Darien Raymond
ed1d713ef4
fix a typo
2018-09-11 10:18:26 +02:00
Darien Raymond
1e4547e262
simplify tcp network detection
2018-09-11 10:03:26 +02:00
Darien Raymond
682b28cbda
fix tls.AllowInsecureCiphers
2018-09-10 23:55:54 +02:00
Darien Raymond
5d9dacc261
fix tfo for darwin
2018-09-10 21:47:24 +02:00
Darien Raymond
b9e4a4882c
test tfo on listener
2018-09-10 21:19:59 +02:00
Darien Raymond
c8a12bc35d
move sockopt test back to its own file
2018-09-10 21:08:59 +02:00
Darien Raymond
929a5d5d42
fix sockopt for windows
2018-09-10 20:06:58 +02:00
Darien Raymond
b1e900a506
fix sockopt tests
2018-09-10 19:36:37 +02:00
Darien Raymond
af65048868
test case for tfo
2018-09-10 14:51:44 +02:00
Darien Raymond
418746fdb0
enable tfo on other platforms
2018-09-10 14:39:57 +02:00
Darien Raymond
356377ddde
change back to IPv4 address
2018-09-10 13:58:14 +02:00
Darien Raymond
6d750e8149
options for enable TFO
2018-09-10 13:23:27 +02:00
Darien Raymond
2ff93c65f3
fix build error
2018-09-07 15:18:08 +02:00
Darien Raymond
6c4850634b
better handling of nil stream settings
2018-09-07 15:00:46 +02:00
Darien Raymond
3d3f0a96d6
fix nil pointer handling in MemoryStreamConfig conversion.
2018-09-07 14:56:42 +02:00
Darien Raymond
b3847fb7c0
MemoryStreamSettings
2018-09-07 14:50:25 +02:00
Darien Raymond
fbd7bcab07
skip test as it requires admin right
2018-09-06 10:44:53 +02:00
Darien Raymond
036158570c
fix sockopt argument type
2018-09-06 10:18:11 +02:00
Darien Raymond
af3a08a848
prototype for marking connection
2018-09-06 10:06:57 +02:00
Darien Raymond
cb378a9dbf
release buffer
2018-09-01 21:20:06 +02:00
Darien Raymond
02ae48095b
add wireguard fake header
2018-08-27 21:52:25 +02:00
Darien Raymond
20f10c78b3
add support for wasm
2018-08-27 20:56:49 +02:00
Darien Raymond
fdb3a7b57d
remove use of buf.NewSize()
2018-08-16 12:05:33 +02:00
Darien Raymond
053fc38d38
refine udp hub api
2018-08-11 22:35:01 +02:00
Darien Raymond
e7d45d8d63
temporarily skip TLS test in ws
2018-08-09 16:51:47 +02:00
Darien Raymond
c89531022f
fix kcp state wait
2018-08-09 13:38:47 +02:00
Darien Raymond
ab87c240f7
reduce memory usage in tls
2018-08-09 13:30:29 +02:00
Darien Raymond
b238188770
delayed timer creation
2018-08-09 12:23:08 +02:00
Darien Raymond
63c7f5e686
check payload length before decrypting it. fixes #1227
2018-08-08 00:26:01 +02:00
Darien Raymond
b79ec5f1ed
use protocol in string form
2018-08-06 13:48:35 +02:00
Darien Raymond
206f52affc
refine buffer interface
2018-07-30 22:45:06 +02:00
Darien Raymond
3b0bfe9422
check empty
2018-07-29 15:10:06 +02:00
Darien Raymond
47f1399995
check errors
2018-07-29 13:19:03 +02:00
Darien Raymond
18f3fb5196
comment
2018-07-29 10:47:50 +02:00
Darien Raymond
1ca3bb9750
remove segment pools
2018-07-29 03:54:24 +02:00
Darien Raymond
2d4a0f23d5
rewrite sending logic
2018-07-29 03:54:15 +02:00
Darien Raymond
a3fd81dfff
rework multibuf copy
2018-07-29 03:38:54 +02:00
Darien Raymond
9ee9af9e02
fix mb copy again
2018-07-29 03:23:59 +02:00
Darien Raymond
e0a2247a07
Revert "temporarily disable asm code"
...
This reverts commit 6e28b4f91d
.
2018-07-29 03:15:14 +02:00
Darien Raymond
354ef3c27d
fix multibuffer copy
2018-07-29 03:13:29 +02:00
Darien Raymond
6e28b4f91d
temporarily disable asm code
2018-07-28 18:09:34 +02:00
Darien Raymond
ebea255c74
eliminate partial writes
2018-07-28 15:03:40 +02:00
Darien Raymond
4b63638dca
update protobuf lib
2018-07-25 00:36:28 +02:00
Darien Raymond
896db7c50c
offer an option to disable session resumption
2018-07-24 15:12:09 +02:00
Darien Raymond
e3cc12995f
fix some lint errors
2018-07-19 13:31:57 +02:00
Darien Raymond
14dc6371d3
receive handshake address from tls conn
2018-07-14 13:58:24 +02:00
Darien Raymond
9a9b6f9077
fix concurrent access to tls config
2018-07-14 00:21:58 +02:00
Darien Raymond
ffe18d94e4
update websocket reference
2018-07-13 12:17:52 +02:00
Darien Raymond
29ad2cbbdb
function to compare byte array
2018-07-12 23:38:10 +02:00
Darien Raymond
f8e6927581
pool for data and ack segments
2018-07-08 23:03:00 +02:00
Darien Raymond
bd4752a6ab
fix total inflight size
2018-07-08 22:08:26 +02:00
Darien Raymond
a8b0660df0
redo kcp.SendingWindow
2018-07-08 21:08:17 +02:00
Darien Raymond
bbeae5be48
redo kcp.ReceivingWindow
2018-07-08 12:24:37 +02:00
Darien Raymond
255090c5c0
fix dispatcher test
2018-07-03 21:53:36 +02:00
Darien Raymond
e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182 .
2018-07-03 21:38:02 +02:00
Darien Raymond
6315217572
fix receiving window size
2018-07-02 15:30:23 +02:00
Darien Raymond
ff0ae91b9b
update protobuf generated files
2018-06-26 16:28:54 +02:00
Darien Raymond
9977eadf8c
remove dependency from errors to session
2018-06-25 01:09:02 +02:00
Darien Raymond
adade2bffd
fix lint warnings
2018-05-31 11:55:11 +02:00
Darien Raymond
9321210bcf
settings for allowing insecure cipher suites.
2018-05-27 18:52:08 +02:00
Darien Raymond
0e27fac290
fix race condition
2018-05-27 15:06:17 +02:00
Darien Raymond
ac6a0f7511
update activity timer
2018-05-27 14:42:53 +02:00