RPRX
48f0b2d5ed
Call underlying.CloseWrite()
once io.Copy()
returned ( #7 )
...
Co-authored-by: Fangliding <Fangliding.fshxy@outlook.com>
2024-07-12 05:55:06 +00:00
mmmray
de7a8e5061
do not crash if clientHello is nil
2024-04-29 18:46:12 -04:00
mmmray
eed01aa642
add log for forwarded requests when auth failed
2024-04-29 18:46:12 -04:00
yuhan6665
933c289fd1
crypto: add available godoc link
...
Change-Id: Ifc669399dde7d6229c6ccdbe29611ed1f8698fb1
Reviewed-on: https://go-review.googlesource.com/c/go/+/534778
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-11-12 12:08:30 -05:00
yuhan6665
d3f9ac0cd1
Fix compile errors
2023-11-12 12:08:30 -05:00
RPRX
870716f6af
Sync upstream Go 1.20
...
Excluding `boring` or test files
2023-11-12 12:08:30 -05:00
RPRX
e426190d57
Allow fragmented REALITY Client Hello & Simplify logic
...
It's mainly for defending against certain attacks.
2023-08-28 17:12:59 +00:00
Hellojack
e07c3b04b9
REALITY protocol: Add ChaCha20-Poly1305 auth mode ( #4 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2023-06-13 07:58:28 +00:00
RPRX
176a94313e
REALITY protocol: Set the fourth byte as reserved
2023-03-31 22:31:27 +00:00
RPRX
d3d37610da
Allow Client Hello with other data attached & Simplify logic
2023-03-31 19:11:18 +00:00
RPRX
442d33ede9
Do not show ciphertext SessionID or full AuthKey
2023-03-20 15:37:27 +00:00
RPRX
a7ae8b57f1
Apply target's time-out to hs.readClientFinished()
2023-03-09 20:51:17 +08:00
RPRX
6288e760a9
Reuse buf
(though io.CopyBuffer()
is not likely to actually use it)
2023-03-08 15:19:09 +00:00
RPRX
524506d975
Add defer recover()
to avoid potential panics
2023-02-27 19:29:02 +00:00
RPRX
9e83b0bee1
Make Accept()
available
2023-02-27 15:02:28 +00:00
RPRX
f34b4d1743
Use underlying
for io.Copy()
only
2023-02-26 07:26:56 +00:00
世界
14f5d5380b
Add DialContext
( #1 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2023-02-26 06:43:27 +00:00
RPRX
085bdf2104
Refine the logic after Read(buf)
2023-02-17 10:27:04 +00:00
RPRX
e814936a3d
Use for i, t := range types
instead
...
Much easier for other people to understand the code.
2023-02-10 13:50:08 +08:00
RPRX
5a9e6c0cc2
Show hs.c.conn == underlying
instead
...
Most log points were added last month and are stable.
2023-02-09 21:39:09 +08:00
RPRX
02fa0dd5f6
Combine check
and its for
...
They were seven different parts at the beginning. Finally, they become one.
2023-02-09 19:57:16 +08:00
RPRX
5e6719eaf3
REALITY is REALITY now
...
Thank @yuhan6665 for testing
2023-02-09 11:59:09 +08:00
RPRX
fb7fc93023
Prepare for REALITY protocol
2023-01-29 14:32:27 +00:00
RPRX
c3c05667a5
Package tls in Go 1.19.5
...
Excluding `boring` or test files
2023-01-29 14:31:01 +00:00