dyhkwong
8433420654
make use of buf.NewWithSize() in Trojan's PacketReader and PacketWriter
...
also fix a domain length check bug
2023-05-24 00:18:19 +01:00
dyhkwong
923d49464d
proxy/trojan: fix writing UDP packet
...
close v2fly#2440, close v2fly#1795
2023-05-24 00:18:19 +01:00
Shelikhoo
680d5bb2ac
refactor trojan WriteHeader function.
2023-05-24 00:10:44 +01:00
AkinoKaede
72475c2924
fix: always send Trojan header
2023-05-23 14:05:10 +08:00
dependabot[bot]
62bef88a19
Chore: bump github.com/quic-go/qtls-go1-20 from 0.1.1 to 0.2.2 ( #2452 )
...
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20 ) from 0.1.1 to 0.2.2.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases )
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.1.1...v0.2.2 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 17:00:13 +08:00
dependabot[bot]
0c5abc7e53
Chore: bump github.com/quic-go/qtls-go1-19 from 0.2.1 to 0.3.2 ( #2445 )
...
Bumps [github.com/quic-go/qtls-go1-19](https://github.com/quic-go/qtls-go1-19 ) from 0.2.1 to 0.3.2.
- [Release notes](https://github.com/quic-go/qtls-go1-19/releases )
- [Commits](https://github.com/quic-go/qtls-go1-19/compare/v0.2.1...v0.3.2 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-19
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 20:33:07 +08:00
AkinoKaede
746c45036e
Chore: remove Go 1.18 support
2023-04-06 20:10:14 +08:00
Shelikhoo
9b5262855f
Update version to v5.4.1
2023-03-19 23:47:16 +00:00
Shelikhoo
9308de4e74
Fix incorrect UDP length in Torjan packet addr
2023-03-19 23:23:02 +00:00
YiGuo
f0a68ddcf6
fix: dns missing DomainMatcher in init function ( #2375 )
...
Co-authored-by: zl.kou <zl.kou@zuche.com>
2023-03-15 07:12:51 +08:00
dependabot[bot]
ea4bdcd849
Chore: bump github.com/refraction-networking/utls from 1.3.0 to 1.3.1 ( #2402 )
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 07:12:15 +08:00
dependabot[bot]
c8b6237c04
Chore: bump github.com/refraction-networking/utls from 1.2.2 to 1.3.0 ( #2396 )
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.2.2...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 16:04:17 +08:00
dependabot[bot]
aa32199bf3
Chore: bump github.com/jhump/protoreflect from 1.14.0 to 1.15.0 ( #2359 )
...
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/jhump/protoreflect/releases )
- [Commits](https://github.com/jhump/protoreflect/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/jhump/protoreflect
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 10:39:16 +08:00
dependabot[bot]
25cab608fc
Chore: bump github.com/miekg/dns from 1.1.50 to 1.1.51 ( #2360 )
...
Bumps [github.com/miekg/dns](https://github.com/miekg/dns ) from 1.1.50 to 1.1.51.
- [Release notes](https://github.com/miekg/dns/releases )
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release )
- [Commits](https://github.com/miekg/dns/compare/v1.1.50...v1.1.51 )
---
updated-dependencies:
- dependency-name: github.com/miekg/dns
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 09:33:09 +08:00
dependabot[bot]
c353544fab
Chore: bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #2361 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 09:32:06 +08:00
dependabot[bot]
f1b9b57188
Chore: bump github.com/quic-go/quic-go from 0.32.0 to 0.33.0 ( #2348 )
...
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/quic-go/quic-go/releases )
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/quic-go/quic-go/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 22:30:57 +08:00
Shelikhoo
e9943b5a72
update version to v5.4.0
2023-02-19 15:12:01 +00:00
Shelikhoo
c055a08b2c
Refine header based websocket earlydata fix
2023-02-19 14:41:28 +00:00
dyhkwong
dca2f2bd83
fix header-based websocket earlydata compat
2023-02-19 14:34:22 +00:00
Vigilans
882a363b85
DomainStrategy support for all outbounds
2023-02-19 13:34:15 +00:00
Vigilans
b1d38db30a
Support using custom resolver when dialing domain address
2023-02-19 13:34:15 +00:00
Vigilans
44be94a0e7
Add bytespools ownership for buf.Buffer
2023-02-19 13:30:45 +00:00
Vigilans
8b3215c72a
Correctly implement quic sniffer's frame parsing
2023-02-19 12:28:41 +00:00
mydogshitgold
5893d2f3a6
feat: add option to override destination of access log
...
When SystemPolicy.OverrideAccessLogDest is enabled, destination host
in access log will be replaced with sniffed host. (#866 )
2023-02-19 12:26:33 +00:00
Cubarco
c5386b88ad
Fix sockopt.TcpKeepAliveInterval
...
The Keep-Alive configs may be overridden with golang default settings when `tcpKeepAliveInterval` is set without `tcpKeepAliveIdle`.
Adopt: https://github.com/XTLS/Xray-core/pull/1328
2023-02-19 12:24:24 +00:00
秋のかえで
67c19f7054
feat: refine PacketConnectionReader
2023-02-18 21:44:30 +00:00
秋のかえで
ca185b3310
chore: format code
2023-02-18 21:44:30 +00:00
秋のかえで
1bd1de5f52
fix: read logic of PacketConnectionReader
2023-02-18 21:44:29 +00:00
秋のかえで
c10e16cb5e
Style: format imports
2023-02-18 21:44:29 +00:00
秋のかえで
147641e981
Style: refine code style
2023-02-18 21:44:29 +00:00
秋のかえで
01a2686568
Feat: add PacketAddr support to Trojan client
2023-02-18 21:44:29 +00:00
秋のかえで
f2ae2777fe
Feat: add PacketAddr support to Trojan server
2023-02-18 21:44:25 +00:00
heimoshuiyu
b8ab91b0d3
Skip validating on empty http host config
2023-02-18 14:39:33 +00:00
MoetaYuko
0dcf8cad0d
Compatibility change for go 1.18
2023-02-18 14:36:47 +00:00
Shelikhoo
179cd1d62f
Add container build file
2023-02-18 14:32:43 +00:00
dependabot[bot]
83ea1ba3ba
Chore: bump github.com/quic-go/qtls-go1-19 from 0.2.0 to 0.2.1 ( #2331 )
...
Bumps [github.com/quic-go/qtls-go1-19](https://github.com/quic-go/qtls-go1-19 ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/quic-go/qtls-go1-19/releases )
- [Commits](https://github.com/quic-go/qtls-go1-19/compare/v0.2.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-19
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 09:51:12 +08:00
dependabot[bot]
a8221446dd
Chore: bump github.com/quic-go/qtls-go1-20 from 0.1.0 to 0.1.1 ( #2332 )
...
Bumps [github.com/quic-go/qtls-go1-20](https://github.com/quic-go/qtls-go1-20 ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/quic-go/qtls-go1-20/releases )
- [Commits](https://github.com/quic-go/qtls-go1-20/compare/v0.1.0...v0.1.1 )
---
updated-dependencies:
- dependency-name: github.com/quic-go/qtls-go1-20
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 09:40:58 +08:00
dependabot[bot]
e93c516609
Chore: bump github.com/pion/dtls/v2 from 2.0.0-rc.7 to 2.2.4 ( #2323 )
...
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls ) from 2.0.0-rc.7 to 2.2.4.
- [Release notes](https://github.com/pion/dtls/releases )
- [Commits](https://github.com/pion/dtls/compare/v2.0.0-rc.7...v2.2.4 )
---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 22:00:35 +08:00
dependabot[bot]
91520a0ab5
Chore: bump google.golang.org/grpc from 1.51.0 to 1.53.0 ( #2312 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.51.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.53.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:46:31 +08:00
dependabot[bot]
a2be133339
Chore: bump github.com/go-playground/validator/v10 ( #2288 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:44:19 +08:00
dependabot[bot]
9e97ec9fc7
Chore: bump golang.org/x/net from 0.6.0 to 0.7.0 ( #2326 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:13:52 +08:00
dependabot[bot]
37cfe716ef
Chore: bump github.com/refraction-networking/utls from 1.2.0 to 1.2.2 ( #2318 )
...
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/refraction-networking/utls/releases )
- [Commits](https://github.com/refraction-networking/utls/compare/v1.2.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 12:12:21 +08:00
dependabot[bot]
bfe04515d4
Chore: bump golang.org/x/crypto from 0.4.0 to 0.6.0 ( #2316 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 11:25:26 +08:00
Shelikhoo
1aac75c8bc
Update version to v5.3.0
2023-02-07 20:27:29 +00:00
Shelikhoo
a090b7849d
Add uTLS ALPN Control: auto generated
2023-02-06 20:33:25 +00:00
Shelikhoo
7b434ced58
Add uTLS ALPN Control
2023-02-06 20:33:25 +00:00
A1lo
beec73e12d
fix: always call cancel func
2023-02-06 20:15:54 +00:00
Allo
4f2fc729ce
fix(app/log): prevent close of closed channel
...
The close of `done` channel may be called many times.
And the handler will be blocked when the log client exists and the
closure func is still not be called.
So use context to resolve those two problems.
2023-02-06 20:15:49 +00:00
mydogshitgold
75ece5b6f6
fix: dns.Hostmapping in JSONv5 config treats ip as Base64 ( #2107 )
2023-02-05 20:42:16 +00:00
秋のかえで
07ed4e0d29
Chore: use Go 1.20 ( #2297 )
2023-02-03 17:08:53 +08:00