Commit Graph
6317 Commits
Author SHA1 Message Date
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 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 v5.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
Vigilansandkallydev 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
Vigilans 291b5466de Fix: Charset of ACAutomationMatcherGroup should accept all ASCII characters (#1988) 2022-11-29 10:35:49 +08:00
dependabot[bot] 1a01f2ca4d Chore: bump github.com/jhump/protoreflect from 1.13.0 to 1.14.0 (#2104)
Bumps [github.com/jhump/protoreflect](https://github.com/jhump/protoreflect) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/jhump/protoreflect/releases)
- [Commits](https://github.com/jhump/protoreflect/compare/v1.13.0...v1.14.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 10:01:40 +08:00
秋のかえで 3c0aff73e8 Fix: logic of domain override 2022-11-29 09:55:55 +08:00
dependabot[bot] 82495d092b Chore: bump github.com/lucas-clemente/quic-go from 0.29.2 to 0.31.0 (#2157)
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go) from 0.29.2 to 0.31.0.
- [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.29.2...v0.31.0)

---
updated-dependencies:
- dependency-name: github.com/lucas-clemente/quic-go
  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-11-29 09:28:14 +08:00
秋のかえで 82c42fc32c Fix: HTTP sniff 2022-11-29 09:27:28 +08:00
Jebbs 9bbc3af6cd Fix: config merger fixes (#2084) 2022-11-05 19:12:11 +08:00
秋のかえで 294efeefd7 Test: fix leastload strategy unit test 2022-11-03 20:30:28 +08:00
Jebbs f9422d60aa fix selectLeastLoad() returns wrong number of nodes (#2083) 2022-10-20 12:00:21 +08:00
dependabot[bot] 0cd219fdc5 Chore: bump quic-go from 0.29.1 to 0.29.2 (#2064)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 14:17:59 +08:00
d5b5d60956 Fix(freebsd): ReadUDPMsg nil pointer
Co-authored-by: ksco.he <ksco.he@ponyft.com>
Co-authored-by: 秋のかえで <autmaple@protonmail.com>
2022-10-09 10:15:16 +08:00
dependabot[bot] 052271b63a Chore: bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#2046)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 11:01:25 +08:00
dyhkwong d467eb7511 fix: socks4/4a client handshake (#1971) 2022-10-08 10:59:28 +08:00
秋のかえで b9a8a7e237 Feat: add transport original name to listen unix (#2048) 2022-10-08 09:04:05 +08:00
秋のかえで 5593fdee09 Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00
NaLan ZeYu a4a3f4deec fix: Replace "math/rand" with "crypto/rand" in padding generation(#2032) 2022-10-06 18:21:09 +08:00
dependabot[bot] 5e8f5b38b6 Chore: github.com/lucas-clemente/quic-go from 0.29.0 to 0.29.1 (#2010)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 11:47:25 +08:00
Bernd Eichelberger 5bc04f3269 feat: Replace default Health Ping URL to HTTPS (#1991) 2022-09-19 16:03:43 +08:00
Loyalsoldier 0cf7ac64da Chore: update dependencies (#1995) 2022-09-18 12:14:56 +08:00
Loyalsoldier 1643b486cb Refactor: replace netaddr package with netipx (#1994) 2022-09-18 10:26:33 +08:00
Felix YanandLoyalsoldier de90ec40fc Fix: remove v2ctl from debian/rules (#1954)
* Remove v2ctl from debian/rules

It seems to be left over from https://github.com/v2fly/v2ray-core/pull/488

* Chore: use Go v1.19 to build debian package

Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2022-09-18 08:46:32 +08:00
dependabot[bot] 98a0399a21 Chore: bump google.golang.org/grpc from 1.48.0 to 1.49.0 (#1935)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 16:18:26 +08:00
dependabot[bot] 7e5b22b36b Chore: bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#1959)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 15:57:31 +08:00
dependabot[bot] 305661c32b Chore: bump github.com/jhump/protoreflect from 1.12.0 to 1.13.0 (#1982)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 15:00:23 +08:00
Vigilans f494df2567 feat: Implement Match and MatchAny for all MatcherGroup, IndexMatcher
[common/strmatcher] Implement Match and MatchAny for all MatcherGroup and IndexMatcher
2022-09-16 14:40:03 +08:00