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
Tim Xylon
75addbf195
Fix deprecated 'set-output' in workflow ( #2220 )
...
* Fix deprecated 'set-output' in workflow
* Update actions/stale to v7
2023-01-29 14:22:25 +08:00
Shelikhoo
42b166760b
Update version to v5.2.1
2023-01-14 15:30:05 +00:00
Shelikhoo
001aace748
Fix Server Name not Supplied to Security Engine for TCP Transport
2023-01-14 15:27:16 +00:00
dependabot[bot]
51bbbc06d1
Chore: bump golang.org/x/net from 0.1.0 to 0.4.0 ( #2240 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.1.0 to 0.4.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.4.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 17:15:07 +08:00
dependabot[bot]
f05917b52c
Chore: bump golang.org/x/crypto from 0.1.0 to 0.4.0 ( #2241 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.1.0 to 0.4.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.4.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 16:22:59 +08:00
Shelikhoo
b18f592fba
Update version to 5.2.0
2022-12-25 16:55:02 +00:00
Shelikhoo
3631053c2b
Crash process when encountered when unknown security settings type was supplied
2022-12-24 21:52:23 +00:00
Shelikhoo
e4188c8604
Add uTLS support for Security Engine
2022-12-24 21:52:23 +00:00
Shelikhoo
4a887e3b77
Use security engine for (tls like) security client in websocket transport
2022-12-24 21:52:23 +00:00
Shelikhoo
de55f3a675
Use security engine for (tls like) security client without transport
2022-12-24 21:52:23 +00:00
Vigilans
f8ac919d66
[app/dns] Support per-client configuration for fakedns ( #2212 )
...
* Move `filterIP` from `hosts.go` to `dnscommon.go`
* Implement adding pools for fakedns.HolderMulti
* Implement per-client fakedns for DNS app
* Remove `dns.ClientWithIPOption` and replace with new programming model
* Implement JSON config support for new fakedns config
* Fix lint and tests
* Fix some codacy analysis
2022-12-15 10:38:28 +08:00
Vigilans
32475d9239
[app/dns] Add tests for idn support ( #2213 )
...
Co-authored-by: kallydev <kallydev@gmail.com>
Co-authored-by: kallydev <kallydev@gmail.com>
2022-12-15 10:26:53 +08:00
dependabot[bot]
a1ee432d29
Chore: bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #2100 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 18:01:45 +08:00
kvii
7c12b706c7
fix: unexpected typo ( #2146 )
2022-12-10 17:28:10 +08:00
dependabot[bot]
8c8bbfa6f9
Chore: bump google.golang.org/grpc from 1.50.0 to 1.51.0 ( #2159 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.50.0 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.0...v1.51.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 17:12:09 +08:00
Vigilans
ac0d9480bd
[app/dispatcher] [proxy/dns] Support domain string validation ( #2188 )
2022-12-10 17:07:59 +08:00
dependabot[bot]
305ec638f4
Chore: bump github.com/lucas-clemente/quic-go from 0.31.0 to 0.31.1 ( #2205 )
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.31.0 to 0.31.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.31.0...v0.31.1 )
---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 16:58:57 +08:00
dependabot[bot]
810d78120f
Chore: bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 ( #2202 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.7...v5.0.8 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 09:41:58 +08:00
Vigilans
5604863859
DNS: Support specifying domain matcher ( #1979 )
2022-11-30 14:34:24 +08:00
Vigilans
d3b50bb989
Feat: [app/dns] Support per-client configuration ( #1977 )
...
* DNS: Support per-client configuration
* Add deprecated feature warnings for `skipFallback`, `disableCache`, `disableFallback`, `disableFallbackIfMatch`
2022-11-30 08:43:39 +08:00