Compare commits

..

71 Commits

Author SHA1 Message Date
dependabot[bot]
0324d53585 Bump HMBSbige.SingleInstance from 6.0.0 to 6.0.1
---
updated-dependencies:
- dependency-name: HMBSbige.SingleInstance
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 16:05:17 +00:00
dependabot[bot]
9d99eb1c5a Bump microsoft/setup-msbuild from 1.1.3 to 1.3.1 (#1005)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1.3 to 1.3.1.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.1.3...v1.3.1)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  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-10 11:23:44 +08:00
dependabot[bot]
487798f6a1 Bump Microsoft.VisualStudio.Threading from 17.4.33 to 17.5.22 (#1004)
Bumps [Microsoft.VisualStudio.Threading](https://github.com/microsoft/vs-threading) from 17.4.33 to 17.5.22.
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](https://github.com/microsoft/vs-threading/commits)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading
  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-10 11:23:35 +08:00
dependabot[bot]
30084fbd1e Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.6 to 3.0.7 (#998)
Bumps [Microsoft.Diagnostics.Tracing.TraceEvent](https://github.com/Microsoft/perfview) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/Microsoft/perfview/releases)
- [Commits](https://github.com/Microsoft/perfview/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent
  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>
2023-01-27 22:28:08 +08:00
AmazingDM
abc7821fa5 Merge pull request #991 from netchx/dependabot/nuget/Microsoft.VisualStudio.Threading-17.4.33
Bump Microsoft.VisualStudio.Threading from 17.4.27 to 17.4.33
2023-01-05 00:21:37 +08:00
AmazingDM
45d3e2ac53 Merge pull request #990 from netchx/dependabot/nuget/ConfigureAwait.Fody-3.3.2
Bump ConfigureAwait.Fody from 3.3.1 to 3.3.2
2023-01-05 00:21:28 +08:00
dependabot[bot]
c5c95e2ab9 Bump Microsoft.VisualStudio.Threading from 17.4.27 to 17.4.33
Bumps [Microsoft.VisualStudio.Threading](https://github.com/microsoft/vs-threading) from 17.4.27 to 17.4.33.
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](https://github.com/microsoft/vs-threading/compare/v17.4.27...v17.4.33)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 16:14:05 +00:00
dependabot[bot]
03ea032e5b Bump ConfigureAwait.Fody from 3.3.1 to 3.3.2
Bumps [ConfigureAwait.Fody](https://github.com/Fody/ConfigureAwait) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/Fody/ConfigureAwait/releases)
- [Commits](https://github.com/Fody/ConfigureAwait/commits)

---
updated-dependencies:
- dependency-name: ConfigureAwait.Fody
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 16:13:58 +00:00
dependabot[bot]
d784586628 Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 (#987)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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>
2023-01-03 03:28:57 +08:00
Netch
7042fcbadb Update build.ps1 2023-01-02 09:34:20 +08:00
dependabot[bot]
43705b324e Bump MSTest.TestFramework from 2.2.10 to 3.0.2 (#982)
Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.2.10 to 3.0.2.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Changelog](https://github.com/microsoft/testfx/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/testfx/compare/v2.2.10...v3.0.2)

---
updated-dependencies:
- dependency-name: MSTest.TestFramework
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:29:44 +08:00
Netch
1ab65c9851 Update stale.yml 2023-01-02 09:24:23 +08:00
Netch
206cb18ef5 Update release.yml 2023-01-02 09:22:20 +08:00
Netch
ffa329dd39 Update build.yml 2023-01-02 09:22:07 +08:00
dependabot[bot]
ab1b522e66 Bump Fody from 6.6.3 to 6.6.4 (#984)
Bumps [Fody](https://github.com/Fody/Fody) from 6.6.3 to 6.6.4.
- [Release notes](https://github.com/Fody/Fody/releases)
- [Commits](https://github.com/Fody/Fody/compare/6.6.3...6.6.4)

---
updated-dependencies:
- dependency-name: Fody
  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>
2023-01-02 09:10:16 +08:00
dependabot[bot]
c328f75399 Bump System.Management from 6.0.0 to 7.0.0 (#983)
Bumps [System.Management](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: System.Management
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:10:07 +08:00
dependabot[bot]
ca34cfdbb2 Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.4 to 3.0.6 (#981)
Bumps [Microsoft.Diagnostics.Tracing.TraceEvent](https://github.com/Microsoft/perfview) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/Microsoft/perfview/releases)
- [Commits](https://github.com/Microsoft/perfview/compare/v3.0.4...v3.0.6)

---
updated-dependencies:
- dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent
  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>
2023-01-02 09:09:47 +08:00
dependabot[bot]
563565b3b4 Bump andstor/file-existence-action from 1 to 2 (#980)
Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2.
- [Release notes](https://github.com/andstor/file-existence-action/releases)
- [Commits](https://github.com/andstor/file-existence-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: andstor/file-existence-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:09:40 +08:00
dependabot[bot]
752ba1b967 Bump microsoft/setup-msbuild from 1.0.3 to 1.1.3 (#979)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.0.3 to 1.1.3.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.0.3...v1.1.3)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  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>
2023-01-02 09:09:33 +08:00
dependabot[bot]
996ac3a03f Bump MSTest.TestAdapter from 2.2.10 to 3.0.2 (#978)
Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.2.10 to 3.0.2.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Changelog](https://github.com/microsoft/testfx/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/testfx/compare/v2.2.10...v3.0.2)

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:09:24 +08:00
dependabot[bot]
36aa2c2b35 Bump actions/stale from 5 to 7 (#977)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:09:13 +08:00
Netch
f4e1334118 Update Netch.csproj 2023-01-02 09:09:02 +08:00
dependabot[bot]
24123174df Bump System.ServiceProcess.ServiceController from 6.0.0 to 7.0.0 (#966)
Bumps [System.ServiceProcess.ServiceController](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: System.ServiceProcess.ServiceController
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
Co-authored-by: Netch <85944622+netch-org@users.noreply.github.com>
2023-01-02 09:08:09 +08:00
Persian Prince
22cbcd48ea Create fa (#972)
Adding a Persian version.
2023-01-02 09:04:04 +08:00
dependabot[bot]
c8f0865808 Bump System.Text.Encoding.CodePages from 6.0.0 to 7.0.0 (#960)
Bumps [System.Text.Encoding.CodePages](https://github.com/dotnet/runtime) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: System.Text.Encoding.CodePages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2023-01-02 09:03:29 +08:00
dependabot[bot]
db822ea6a0 Bump Microsoft.VisualStudio.Threading from 17.3.44 to 17.4.27 (#958)
Bumps [Microsoft.VisualStudio.Threading](https://github.com/microsoft/vs-threading) from 17.3.44 to 17.4.27.
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](https://github.com/microsoft/vs-threading/commits)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading
  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>
2023-01-02 09:03:19 +08:00
dependabot[bot]
516c170a5d Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.4.0 (#957)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.1 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.4.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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>
2023-01-02 09:03:11 +08:00
dependabot[bot]
7c8290e665 Bump coverlet.collector from 3.1.2 to 3.2.0 (#952)
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.2.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  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>
2023-01-02 09:02:49 +08:00
Netch
1775221407 Update README.md 2022-09-24 13:16:05 +08:00
Netch
3edcd48d3c Update release.yml 2022-09-15 03:12:24 +08:00
Netch
7d9dec3b76 Update build.yml 2022-09-15 03:12:13 +08:00
dependabot[bot]
9d4e6dde50 Bump Serilog from 2.11.0 to 2.12.0 (#928)
Bumps [Serilog](https://github.com/serilog/serilog) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/serilog/serilog/releases)
- [Changelog](https://github.com/serilog/serilog/blob/dev/CHANGES.md)
- [Commits](https://github.com/serilog/serilog/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: Serilog
  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-09-15 03:11:38 +08:00
AmazingDM
e0ca23fd20 Merge pull request #922 from netchx/dependabot/nuget/Serilog.Sinks.Console-4.1.0
Bump Serilog.Sinks.Console from 4.0.1 to 4.1.0
2022-09-08 02:15:43 +08:00
dependabot[bot]
a6831aa8b1 Bump Serilog.Sinks.Console from 4.0.1 to 4.1.0
Bumps [Serilog.Sinks.Console](https://github.com/serilog/serilog-sinks-console) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/serilog/serilog-sinks-console/releases)
- [Commits](https://github.com/serilog/serilog-sinks-console/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: Serilog.Sinks.Console
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 16:42:12 +00:00
AmazingDM
44c6900b42 Merge pull request #920 from netchx/dependabot/nuget/Microsoft.NET.Test.Sdk-17.3.1
Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1
2022-09-04 11:31:00 +08:00
dependabot[bot]
6af239fcf9 Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.0...v17.3.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 16:52:22 +00:00
AmazingDM
a8154611aa Merge pull request #917 from netchx/dependabot/nuget/Microsoft.Diagnostics.Tracing.TraceEvent-3.0.4
Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.3 to 3.0.4
2022-08-29 12:30:08 +08:00
AmazingDM
a659ac3df1 Merge pull request #910 from chsbuffer/patch-1
Fix typos
2022-08-29 12:29:58 +08:00
dependabot[bot]
1ea3b3ccb5 Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.3 to 3.0.4
Bumps [Microsoft.Diagnostics.Tracing.TraceEvent](https://github.com/Microsoft/perfview) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/Microsoft/perfview/releases)
- [Commits](https://github.com/Microsoft/perfview/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-28 16:29:23 +00:00
ChsBuffer
6622914248 Fix typos 2022-08-20 17:17:01 +08:00
dependabot[bot]
04152d92ab Bump Microsoft.VisualStudio.Threading from 17.2.32 to 17.3.44 (#902)
Bumps [Microsoft.VisualStudio.Threading](https://github.com/microsoft/vs-threading) from 17.2.32 to 17.3.44.
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](https://github.com/microsoft/vs-threading/commits)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading
  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-08-17 02:13:07 +08:00
dependabot[bot]
4172bb0c7b Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#903)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.2.0 to 17.3.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  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-08-17 02:12:39 +08:00
dependabot[bot]
c7d9f87920 Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.2 to 3.0.3 (#899)
Bumps [Microsoft.Diagnostics.Tracing.TraceEvent](https://github.com/Microsoft/perfview) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/Microsoft/perfview/releases)
- [Commits](https://github.com/Microsoft/perfview/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent
  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-08-17 02:12:22 +08:00
dependabot[bot]
ced1590435 Bump Serilog.Extensions.Hosting from 5.0.0 to 5.0.1 (#886)
Bumps [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/serilog/serilog-extensions-hosting/releases)
- [Commits](https://github.com/serilog/serilog-extensions-hosting/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: Serilog.Extensions.Hosting
  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-08-17 02:12:12 +08:00
begench1968
3f25366982 Revert "Create PUBG(with Steam).txt (#874)" (#888)
This reverts commit 5580969d16.
2022-08-17 02:12:03 +08:00
dependabot[bot]
ae3aee7478 Bump Serilog.Extensions.Hosting from 4.2.0 to 5.0.0 (#876)
Bumps [Serilog.Extensions.Hosting](https://github.com/serilog/serilog-extensions-hosting) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/serilog/serilog-extensions-hosting/releases)
- [Commits](https://github.com/serilog/serilog-extensions-hosting/commits)

---
updated-dependencies:
- dependency-name: Serilog.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 01:47:32 +08:00
Hellojack
77e1d5a80c [Netch] Add SSH protocol support (#875)
* [Netch] Optimize code

* [Netch] Add SSH protocol support
2022-07-12 01:47:23 +08:00
ljxi
5580969d16 Create PUBG(with Steam).txt (#874)
Add process mode for PUBG
2022-07-12 01:47:10 +08:00
Disappear9
23a3549f87 Update VRChat.txt (#872) 2022-07-12 01:46:42 +08:00
AmazingDM
4b3d4d6d96 Merge pull request #869 from H1JK/patch-update
V2Ray : Update SN core to 5.0.16
2022-07-04 08:08:40 +08:00
AmazingDM
2f7bdc8e0b Merge pull request #870 from netchx/dependabot/nuget/Microsoft.Diagnostics.Tracing.TraceEvent-3.0.2
Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.1 to 3.0.2
2022-07-04 08:08:29 +08:00
dependabot[bot]
484527fdf6 Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.0.1 to 3.0.2
Bumps [Microsoft.Diagnostics.Tracing.TraceEvent](https://github.com/Microsoft/perfview) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/Microsoft/perfview/releases)
- [Commits](https://github.com/Microsoft/perfview/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: Microsoft.Diagnostics.Tracing.TraceEvent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-03 16:34:56 +00:00
Hellojack
01f60926ce V2Ray : Update SN core to 5.0.16 2022-07-03 16:52:48 +08:00
Netch
99480e99c3 Update UpdateChecker.cs 2022-06-24 15:03:58 +08:00
Netch
c696277b6b Update stale.yml 2022-06-23 13:29:25 +08:00
Netch
a7dd83448b Create stale.yml 2022-06-23 13:25:56 +08:00
离披
0aa4a981fc fix a bug that when using socks5 with authentication, username and password can't sent to server correctly (#856) 2022-06-23 13:09:51 +08:00
AmazingDM
2b7483b696 Merge pull request #850 from netchx/dependabot/nuget/Fody-6.6.3
Bump Fody from 6.6.2 to 6.6.3
2022-06-16 17:34:57 +08:00
AmazingDM
585a84321f Merge pull request #851 from H1JK/dev-tcpfastopen
Support TCP Fast Open (All Protocols)
2022-06-16 17:34:49 +08:00
Hellojack
dc7c48b1bb f 2022-06-16 17:05:54 +08:00
Hellojack
95aa3db415 [Netch] Support TCP Fast Open 2022-06-16 17:01:40 +08:00
dependabot[bot]
276e516396 Bump Fody from 6.6.2 to 6.6.3
Bumps [Fody](https://github.com/Fody/Fody) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/Fody/Fody/releases)
- [Commits](https://github.com/Fody/Fody/compare/6.6.2...6.6.3)

---
updated-dependencies:
- dependency-name: Fody
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 16:46:37 +00:00
Netch
3fa3c1cfcb Update build.ps1 2022-06-11 05:06:22 +08:00
AmazingDM
2d848f6708 Merge pull request #840 from H1JK/patch-flow-2
Netch : Remove Flow parameter from VLESS instance
2022-06-10 15:45:36 +08:00
Hellojack
504709b7da Netch : Remove Flow parameter from VLESS instance 2022-06-10 15:35:46 +08:00
AmazingDM
e37d1f21ba Merge pull request #838 from H1JK/uuid-generator
Support Xray UUIDv5 mapping standard
2022-06-10 15:21:33 +08:00
AmazingDM
e2a20d5bb0 Merge pull request #834 from H1JK/patch-update
SOCKS : Support version 4 & 4a
2022-06-10 15:21:25 +08:00
Hellojack
01cd51744f fix 2022-06-10 14:30:53 +08:00
Hellojack
d3582340b0 V2Ray : Support Xray UUIDv5 mapping standard 2022-06-10 14:21:53 +08:00
AmazingDM
98ece46832 Update Global.cs
Generate VLESS UUIDv5
https://github.com/XTLS/Xray-core/discussions/715
2022-06-10 13:48:35 +08:00
Hellojack
bedafc23d4 SOCKS : Support version 4 & 4a 2022-06-10 11:00:57 +08:00
33 changed files with 607 additions and 104 deletions

View File

@@ -47,7 +47,7 @@ jobs:
- name: Check Other
id: check_other
uses: andstor/file-existence-action@v1
uses: andstor/file-existence-action@v2
with:
files: .\other\release\aiodns.bin
@@ -55,7 +55,7 @@ jobs:
uses: actions/setup-go@v3
if: steps.check_other.outputs.files_exists == 'false'
with:
go-version: ^1.18.3
go-version: stable
- name: Setup C++
uses: msys2/setup-msys2@v2
@@ -73,7 +73,7 @@ jobs:
profile: minimal
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.3
uses: microsoft/setup-msbuild@v1.3.1
with:
vs-prerelease: true

View File

@@ -43,7 +43,7 @@ jobs:
- name: Check Other
id: check_other
uses: andstor/file-existence-action@v1
uses: andstor/file-existence-action@v2
with:
files: .\other\release\aiodns.bin
@@ -51,7 +51,7 @@ jobs:
uses: actions/setup-go@v3
if: steps.check_other.outputs.files_exists == 'false'
with:
go-version: ^1.18.3
go-version: stable
- name: Setup C++
uses: msys2/setup-msys2@v2

20
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Close stale issues and PRs
on:
schedule:
- cron: "0 0 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
with:
days-before-issue-stale: 30
days-before-issue-close: 14
days-before-pr-stale: 30
days-before-pr-close: 14
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."

View File

@@ -37,7 +37,7 @@ public class NFController : IModeController
Dial(NameList.AIO_FILTERLOOPBACK, _mode.FilterLoopback);
Dial(NameList.AIO_FILTERINTRANET, _mode.FilterIntranet);
Dial(NameList.AIO_FILTERPARENT, _mode.FilterParent ?? _rdrConfig.HandleOnlyDNS);
Dial(NameList.AIO_FILTERPARENT, _mode.FilterParent ?? _rdrConfig.FilterParent);
Dial(NameList.AIO_FILTERICMP, _mode.FilterICMP ?? _rdrConfig.FilterICMP);
if (_mode.FilterICMP ?? _rdrConfig.FilterICMP)
Dial(NameList.AIO_ICMPING, (_mode.FilterICMP != null ? _mode.ICMPDelay ?? 10 : _rdrConfig.ICMPDelay).ToString());

View File

@@ -26,7 +26,7 @@ public class PcapController : Guard, IModeController
public override string Name => "pcap2socks";
public ModeFeature Features => 0;
public ModeFeature Features => ModeFeature.SupportSocks5Auth;
public async Task StartAsync(Socks5Server server, Mode mode)
{

View File

@@ -15,7 +15,7 @@ public static class UpdateChecker
public const string Name = @"Netch";
public const string Copyright = @"Copyright © 2019 - 2022";
public const string AssemblyVersion = @"1.9.6";
public const string AssemblyVersion = @"1.9.7";
private const string Suffix = @"";
public static readonly string Version = $"{AssemblyVersion}{(string.IsNullOrEmpty(Suffix) ? "" : $"-{Suffix}")}";
@@ -103,4 +103,4 @@ public static class UpdateChecker
var ordered = releases.OrderByDescending(release => release.tag_name, new VersionUtil.VersionComparer());
return ordered.ElementAt(0);
}
}
}

View File

@@ -80,6 +80,7 @@ namespace Netch.Forms
this.XrayConeCheckBox = new System.Windows.Forms.CheckBox();
this.TLSAllowInsecureCheckBox = new System.Windows.Forms.CheckBox();
this.UseMuxCheckBox = new System.Windows.Forms.CheckBox();
this.TCPFastOpenBox = new System.Windows.Forms.CheckBox();
this.KCPGroupBox = new System.Windows.Forms.GroupBox();
this.mtuLabel = new System.Windows.Forms.Label();
this.mtuTextBox = new System.Windows.Forms.TextBox();
@@ -590,6 +591,7 @@ namespace Netch.Forms
this.v2rayTabPage.Controls.Add(this.XrayConeCheckBox);
this.v2rayTabPage.Controls.Add(this.TLSAllowInsecureCheckBox);
this.v2rayTabPage.Controls.Add(this.UseMuxCheckBox);
this.v2rayTabPage.Controls.Add(this.TCPFastOpenBox);
this.v2rayTabPage.Controls.Add(this.KCPGroupBox);
this.v2rayTabPage.Location = new System.Drawing.Point(4, 29);
this.v2rayTabPage.Name = "v2rayTabPage";
@@ -628,6 +630,16 @@ namespace Netch.Forms
this.UseMuxCheckBox.Text = "Use Mux";
this.UseMuxCheckBox.UseVisualStyleBackColor = true;
//
// TCPFastOpenBox
//
this.TCPFastOpenBox.AutoSize = true;
this.TCPFastOpenBox.Location = new System.Drawing.Point(300, 42);
this.TCPFastOpenBox.Name = "TCPFastOpenBox";
this.TCPFastOpenBox.Size = new System.Drawing.Size(131, 21);
this.TCPFastOpenBox.TabIndex = 3;
this.TCPFastOpenBox.Text = "TCP FastOpen";
this.TCPFastOpenBox.UseVisualStyleBackColor = true;
//
// KCPGroupBox
//
this.KCPGroupBox.Controls.Add(this.mtuLabel);
@@ -1063,6 +1075,7 @@ namespace Netch.Forms
private System.Windows.Forms.GroupBox KCPGroupBox;
private System.Windows.Forms.CheckBox congestionCheckBox;
private System.Windows.Forms.CheckBox TLSAllowInsecureCheckBox;
private System.Windows.Forms.CheckBox TCPFastOpenBox;
private System.Windows.Forms.Label mtuLabel;
private System.Windows.Forms.TextBox mtuTextBox;
private System.Windows.Forms.Label writeBufferSizeLabel;

View File

@@ -107,7 +107,7 @@ public partial class SettingForm : BindingForm
BindCheckBox(UseCustomDNSCheckBox, b => { Global.Settings.TUNTAP.UseCustomDNS = b; }, Global.Settings.TUNTAP.UseCustomDNS);
BindTextBox(TUNTAPDNSTextBox,
s => true,
s => UseCustomDNSCheckBox.Checked ? IPAddress.TryParse(s, out _) : true,
s =>
{
if (UseCustomDNSCheckBox.Checked)
@@ -120,11 +120,11 @@ public partial class SettingForm : BindingForm
#endregion
#region V2Ray
BindCheckBox(XrayConeCheckBox, b => Global.Settings.V2RayConfig.XrayCone = b, Global.Settings.V2RayConfig.XrayCone);
BindCheckBox(TLSAllowInsecureCheckBox, b => Global.Settings.V2RayConfig.AllowInsecure = b, Global.Settings.V2RayConfig.AllowInsecure);
BindCheckBox(UseMuxCheckBox, b => Global.Settings.V2RayConfig.UseMux = b, Global.Settings.V2RayConfig.UseMux);
BindCheckBox(TCPFastOpenBox, b => Global.Settings.V2RayConfig.TCPFastOpen = b, Global.Settings.V2RayConfig.TCPFastOpen);
BindTextBox<int>(mtuTextBox, i => true, i => Global.Settings.V2RayConfig.KcpConfig.mtu = i, Global.Settings.V2RayConfig.KcpConfig.mtu);
BindTextBox<int>(ttiTextBox, i => true, i => Global.Settings.V2RayConfig.KcpConfig.tti = i, Global.Settings.V2RayConfig.KcpConfig.tti);

View File

@@ -11,4 +11,6 @@ public class V2rayConfig
public bool V2rayNShareLink { get; set; } = true;
public bool XrayCone { get; set; } = true;
public bool TCPFastOpen { get; set; } = false;
}

View File

@@ -38,17 +38,17 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="ConfigureAwait.Fody" Version="3.3.1">
<PackageReference Include="ConfigureAwait.Fody" Version="3.3.2">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Fody" Version="6.6.2">
<PackageReference Include="Fody" Version="6.6.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="HMBSbige.SingleInstance" Version="6.0.0" />
<PackageReference Include="HMBSbige.SingleInstance" Version="6.0.1" />
<PackageReference Include="MaxMind.GeoIP2" Version="5.1.0" />
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.0.1" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.2.32" />
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.0.7" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.5.22" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.1.588-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -57,17 +57,17 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="4.2.0" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Stun.Net" Version="6.2.0" />
<PackageReference Include="System.Management" Version="6.0.0" />
<PackageReference Include="System.Management" Version="7.0.0" />
<PackageReference Include="TaskScheduler" Version="2.10.1" />
<PackageReference Include="WindowsFirewallHelper" Version="2.2.0.86" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
<PackageReference Include="System.ServiceProcess.ServiceController" Version="7.0.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
<PackageReference Include="WindowsJobAPI" Version="6.0.0" />
</ItemGroup>

View File

@@ -47,7 +47,9 @@
"Address": "地址",
"Username": "用户名",
"User": "用户",
"Password": "密码",
"Version": "版本",
"User ID": "用户 ID",
"Alter ID": "额外 ID",
"Transfer Protocol": "传输协议",
@@ -70,7 +72,7 @@
"Plugin Options": "插件参数",
"Remote Address": "远端地址",
"Local Addresses": "本地地址(可多个)",
"Public Key": "节点公钥",
"Public Key": "公钥",
"Private Key": "私钥",
"PSK": "节点预共享密钥",
@@ -182,6 +184,7 @@
"STUN Server": "STUN 服务器",
"Language": "语言",
"FullCone Support (Required Server Xray-core v1.3.0+)": "FullCone 支持(需服务端 Xray-core v1.3.0+",
"TCP FastOpen": "TCP 快速打开",
"Disable Support Warning": "停用支持警告",
"Profile": "配置名",

View File

@@ -0,0 +1,19 @@
using Netch.Forms;
namespace Netch.Servers;
[Fody.ConfigureAwait(true)]
public class SSHForm : ServerForm
{
public SSHForm(SSHServer? server = default)
{
server ??= new SSHServer();
Server = server;
CreateTextBox("User", "User", s => true, s => server.User = s, server.User);
CreateTextBox("Password", "Password", s => true, s => server.Password = s, server.Password);
CreateTextBox("PrivateKey", "Private Key", s => true, s => server.PrivateKey = s, server.PrivateKey);
CreateTextBox("PublicKey", "Public Key", s => true, s => server.PublicKey = s, server.PublicKey);
}
protected override string TypeName { get; } = "SSH";
}

View File

@@ -0,0 +1,33 @@
using Netch.Models;
namespace Netch.Servers;
public class SSHServer : Server
{
public override string Type { get; } = "SSH";
public override string MaskedData()
{
return $"{User}";
}
/// <summary>
/// 用户
/// </summary>
public string User { get; set; } = "root";
/// <summary>
/// 密码
/// </summary>
public string Password { get; set; } = string.Empty;
/// <summary>
/// 私钥
/// </summary>
public string PrivateKey { get; set; }
/// <summary>
/// 主机公钥
/// </summary>
public string? PublicKey { get; set; }
}

View File

@@ -0,0 +1,53 @@
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
using Netch.Interfaces;
using Netch.Models;
using Netch.Utils;
namespace Netch.Servers;
public class SSHUtil : IServerUtil
{
public ushort Priority { get; } = 4;
public string TypeName { get; } = "SSH";
public string FullName { get; } = "SSH";
public string ShortName { get; } = "SSH";
public string[] UriScheme { get; } = { "ssh" };
public Type ServerType { get; } = typeof(SSHServer);
public void Edit(Server s)
{
new SSHForm((SSHServer)s).ShowDialog();
}
public void Create()
{
new SSHForm().ShowDialog();
}
public string GetShareLink(Server s)
{
return V2rayUtils.GetVShareLink(s, "ssh");
}
public IServerController GetController()
{
return new V2rayController();
}
public IEnumerable<Server> ParseUri(string text)
{
return V2rayUtils.ParseVUri(text);
}
public bool CheckServer(Server s)
{
return true;
}
}

View File

@@ -12,6 +12,11 @@ public class Socks5Form : ServerForm
Server = server;
CreateTextBox("Username", "Username", s => true, s => server.Username = s, server.Username.ValueOrDefault());
CreateTextBox("Password", "Password", s => true, s => server.Password = s, server.Password.ValueOrDefault());
CreateComboBox("Version",
"Version",
SOCKSGlobal.Versions,
s => server.Version = s,
server.Version);
(_remoteHostnameLabel, _remoteHostnameTextBox) = CreateTextBox("RemoteHostname",
"Remote Address",
s => true,

View File

@@ -4,7 +4,7 @@ namespace Netch.Servers;
public class Socks5Server : Server
{
public override string Type { get; } = "Socks5";
public override string Type { get; } = "SOCKS";
/// <summary>
/// 密码
@@ -18,6 +18,11 @@ public class Socks5Server : Server
public string? RemoteHostname { get; set; }
/// <summary>
/// 版本
/// </summary>
public string Version { get; set; } = SOCKSGlobal.Versions[0];
public override string MaskedData()
{
return $"Auth: {Auth()}";
@@ -48,4 +53,14 @@ public class Socks5Server : Server
{
return !string.IsNullOrWhiteSpace(Username) && !string.IsNullOrWhiteSpace(Password);
}
}
public class SOCKSGlobal
{
public static readonly List<string> Versions = new()
{
"5",
"4a",
"4"
};
}

View File

@@ -7,11 +7,11 @@ public class Socks5Util : IServerUtil
{
public ushort Priority { get; } = 0;
public string TypeName { get; } = "Socks5";
public string TypeName { get; } = "SOCKS";
public string FullName { get; } = "Socks5";
public string FullName { get; } = "SOCKS";
public string ShortName { get; } = "S5";
public string ShortName { get; } = "SOCKS";
public string[] UriScheme { get; } = { };

View File

@@ -40,10 +40,16 @@ public class OutboundConfiguration
public object[] servers { get; set; }
public string version { get; set; }
public string address { get; set; }
public string user { get; set; }
public ushort port { get; set; }
public string password { get; set; }
public string packetEncoding { get; set; }
public string plugin { get; set; }
@@ -56,6 +62,8 @@ public class OutboundConfiguration
public string peerPublicKey { get; set; }
public string publicKey { get; set; }
public string privateKey { get; set; }
public string preSharedKey { get; set; }
@@ -81,6 +89,8 @@ public class ShadowsocksServerItem
public string method { get; set; }
public string password { get; set; }
public string flow { get; set; }
}
public class Mux
@@ -113,6 +123,8 @@ public class StreamSettings
public TlsSettings xtlsSettings { get; set; }
public GrpcSettings grpcSettings { get; set; }
public Sockopt sockopt { get; set; }
}
#region Transport
@@ -180,4 +192,9 @@ public class GrpcSettings
public bool multiMode { get; set; }
}
public class Sockopt
{
public bool tcpFastOpen { get; set; }
}
#endregion

View File

@@ -42,7 +42,7 @@ public static class V2rayConfigUtils
switch (server)
{
case Socks5Server socks5:
case Socks5Server socks:
{
outbound.protocol = "socks";
outbound.settings.servers = new object[]
@@ -51,19 +51,20 @@ public static class V2rayConfigUtils
{
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
users = socks5.Auth()
users = socks.Auth()
? new[]
{
new
{
user = socks5.Username,
pass = socks5.Password,
user = socks.Username,
pass = socks.Password,
level = 1
}
}
: null
}
};
outbound.settings.version = socks.Version;
outbound.mux.enabled = false;
outbound.mux.concurrency = -1;
@@ -82,8 +83,8 @@ public static class V2rayConfigUtils
{
new User
{
id = vless.UserID,
flow = vless.Flow.ValueOrDefault(),
id = getUUID(vless.UserID),
flow = vless.TLSSecureType == "xtls" ? "xtls-rprx-direct" : "",
encryption = vless.EncryptMethod
}
}
@@ -125,7 +126,7 @@ public static class V2rayConfigUtils
{
new User
{
id = vmess.UserID,
id = getUUID(vmess.UserID),
alterId = vmess.AlterID,
security = vmess.EncryptMethod
}
@@ -144,59 +145,73 @@ public static class V2rayConfigUtils
}
case ShadowsocksServer ss:
outbound.protocol = "shadowsocks";
outbound.settings = new OutboundConfiguration
outbound.settings.servers = new[]
{
servers = new[]
new ShadowsocksServerItem
{
new ShadowsocksServerItem
{
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = ss.EncryptMethod,
password = ss.Password,
}
},
plugin = ss.Plugin ?? "",
pluginOpts = ss.PluginOption ?? ""
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = ss.EncryptMethod,
password = ss.Password
}
};
outbound.settings.plugin = ss.Plugin ?? "";
outbound.settings.pluginOpts = ss.PluginOption ?? "";
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
outbound.streamSettings = new StreamSettings
{
sockopt = new Sockopt
{
tcpFastOpen = true
}
};
}
break;
case ShadowsocksRServer ssr:
outbound.protocol = "shadowsocks";
outbound.settings = new OutboundConfiguration
outbound.settings.servers = new[]
{
servers = new[]
new ShadowsocksServerItem
{
new ShadowsocksServerItem
{
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = ssr.EncryptMethod,
password = ssr.Password,
}
},
plugin = "shadowsocksr",
pluginArgs = new string[]
{
"--obfs=" + ssr.OBFS,
"--obfs-param=" + ssr.OBFSParam ?? "",
"--protocol=" + ssr.Protocol,
"--protocol-param=" + ssr.ProtocolParam ?? ""
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = ssr.EncryptMethod,
password = ssr.Password,
}
};
outbound.settings.plugin = "shadowsocksr";
outbound.settings.pluginArgs = new string[]
{
"--obfs=" + ssr.OBFS,
"--obfs-param=" + ssr.OBFSParam ?? "",
"--protocol=" + ssr.Protocol,
"--protocol-param=" + ssr.ProtocolParam ?? ""
};
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
outbound.streamSettings = new StreamSettings
{
sockopt = new Sockopt
{
tcpFastOpen = true
}
};
}
break;
case TrojanServer trojan:
outbound.protocol = "trojan";
outbound.settings = new OutboundConfiguration
outbound.settings.servers = new[]
{
servers = new[]
new ShadowsocksServerItem // I'm not serious
{
new ShadowsocksServerItem // I'm not serious
{
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = "",
password = trojan.Password
}
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
method = "",
password = trojan.Password,
flow = trojan.TLSSecureType == "xtls" ? "xtls-rprx-direct" : ""
}
};
@@ -223,21 +238,57 @@ public static class V2rayConfigUtils
break;
}
}
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
outbound.streamSettings.sockopt = new Sockopt
{
tcpFastOpen = true
};
}
break;
case WireGuardServer wg:
outbound.protocol = "wireguard";
outbound.settings = new OutboundConfiguration
outbound.settings.address = await server.AutoResolveHostnameAsync();
outbound.settings.port = server.Port;
outbound.settings.localAddresses = wg.LocalAddresses.SplitOrDefault();
outbound.settings.peerPublicKey = wg.PeerPublicKey;
outbound.settings.privateKey = wg.PrivateKey;
outbound.settings.preSharedKey = wg.PreSharedKey;
outbound.settings.mtu = wg.MTU;
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
address = await server.AutoResolveHostnameAsync(),
port = server.Port,
localAddresses = wg.LocalAddresses.SplitOrDefault(),
peerPublicKey = wg.PeerPublicKey,
privateKey = wg.PrivateKey,
preSharedKey = wg.PreSharedKey,
mtu = wg.MTU
};
outbound.streamSettings = new StreamSettings
{
sockopt = new Sockopt
{
tcpFastOpen = true
}
};
}
break;
case SSHServer ssh:
outbound.protocol = "ssh";
outbound.settings.address = await server.AutoResolveHostnameAsync();
outbound.settings.port = server.Port;
outbound.settings.user = ssh.User;
outbound.settings.password = ssh.Password;
outbound.settings.privateKey = ssh.PrivateKey;
outbound.settings.publicKey = ssh.PublicKey;
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
outbound.streamSettings = new StreamSettings
{
sockopt = new Sockopt
{
tcpFastOpen = true
}
};
}
break;
}
return outbound;
@@ -364,6 +415,23 @@ public static class V2rayConfigUtils
throw new MessageException($"transfer protocol \"{server.TransferProtocol}\" not implemented yet");
}
if (Global.Settings.V2RayConfig.TCPFastOpen)
{
streamSettings.sockopt = new Sockopt
{
tcpFastOpen = true
};
}
return streamSettings;
}
public static string getUUID(string uuid)
{
if (uuid.Length == 36 || uuid.Length == 32)
{
return uuid;
}
return uuid.GenerateUUIDv5();
}
}

View File

@@ -55,8 +55,6 @@ public static class V2rayUtils
if (server.TLSSecureType != "none")
{
server.ServerName = parameter.Get("sni") ?? "";
if (server.TLSSecureType == "xtls")
((VLESSServer)server).Flow = "xtls-rprx-direct"; // splice doesn't support Windows
}
}
@@ -137,9 +135,7 @@ public static class V2rayUtils
if (server.TLSSecureType == "xtls")
{
var flow = ((VLESSServer)server).Flow;
if (!flow.IsNullOrWhiteSpace())
parameter.Add("flow", flow!.Replace("-udp443", ""));
parameter.Add("flow", "xtls-rprx-direct");
}
}

View File

@@ -17,7 +17,6 @@ internal class VLESSForm : ServerForm
s => server.EncryptMethod = !string.IsNullOrWhiteSpace(s) ? s : "none",
server.EncryptMethod);
CreateTextBox("Flow", "Flow", s => true, s => server.Flow = s, server.Flow);
CreateComboBox("TransferProtocol",
"Transfer Protocol",
VLESSGlobal.TransferProtocols,

View File

@@ -18,10 +18,6 @@ public class VLESSServer : VMessServer
/// 伪装类型
/// </summary>
public override string FakeType { get; set; } = VLESSGlobal.FakeTypes[0];
/// <summary>
/// </summary>
public string? Flow { get; set; } = "xtls-rprx-direct";
}
public class VLESSGlobal

View File

@@ -1,11 +1,14 @@
using System.Collections;
using System.Net;
using System.Net.Sockets;
using Microsoft.VisualStudio.Threading;
namespace Netch.Utils;
public static class DnsUtils
{
private static readonly AsyncSemaphore Lock = new(1);
/// <summary>
/// 缓存
/// </summary>
@@ -14,6 +17,7 @@ public static class DnsUtils
public static async Task<IPAddress?> LookupAsync(string hostname, AddressFamily inet = AddressFamily.Unspecified, int timeout = 3000)
{
using var _ = await Lock.EnterAsync();
try
{
var cacheResult = inet switch

View File

@@ -1,4 +1,5 @@
using System.Text;
using System.Security.Cryptography;
using System.Text;
namespace Netch.Utils;
@@ -78,4 +79,30 @@ public static class StringExtension
{
return !string.IsNullOrWhiteSpace(value) ? value.Split(',') : default;
}
public static string GenerateUUIDv5(this string str)
{
// https://github.com/XTLS/Xray-core/discussions/715
// https://xray-uuid.ducksoft.site/
SHA1 sha1 = new SHA1CryptoServiceProvider();
// example string: "example"
List<byte> byteSource = new List<byte>();
byteSource.AddRange(new byte[16]);
byteSource.AddRange(Encoding.UTF8.GetBytes(str));
byte[] Sha1Bytes = sha1.ComputeHash(byteSource.ToArray()).Skip(0).Take(16).ToArray();
sha1.Dispose();
//UUIDv5: [254 181 68 49 48 27 82 187 166 221 225 233 62 129 187 158]
Sha1Bytes[6] = (byte)((Sha1Bytes[6] & 0x0f) | (5 << 4));
Sha1Bytes[8] = (byte)(Sha1Bytes[8] & (0xff >> 2) | (0x02 << 6));
return BitConverter.ToString(Sha1Bytes).Replace("-", "")
.Insert(8, "-").Insert(13, "-").Insert(18, "-").Insert(23, "-")
.ToLower();
//UUIDv5: feb54431-301b-52bb-a6dd-e1e93e81bb9e
}
}

View File

@@ -94,6 +94,9 @@ public static class Utils
public static async Task<string> Sha256CheckSumAsync(string filePath)
{
if (!File.Exists(filePath))
return "";
try
{
await using var fileStream = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.Read, 4096, true);

View File

@@ -1,6 +1,6 @@
Set-Location (Split-Path $MyInvocation.MyCommand.Path -Parent)
git clone https://github.com/SagerNet/v2ray-core.git -b 'v5.0.14' src
git clone https://github.com/SagerNet/v2ray-core.git -b 'v5.0.16' src
if ( -Not $? ) {
exit $lastExitCode
}
@@ -23,6 +23,7 @@ $Env:GOROOT_FINAL='/usr'
$Env:GOOS='windows'
$Env:GOARCH='amd64'
go mod tidy # necessary
go get -u ./...
go mod tidy
go build -a -trimpath -asmflags '-s -w' -ldflags '-s -w -buildid=' -o '..\..\release\v2ray-sn.exe' '.\main'
exit $lastExitCode
exit $lastExitCode

View File

@@ -1,3 +1,4 @@
# `In preparation for 2.0, this repository will be cleared of all 1.0 related releases and code`
<p align="center"><img src="https://github.com/NetchX/Netch/blob/main/Netch/Resources/Netch.png?raw=true" width="128" /></p>
<div align="center">

View File

@@ -89,10 +89,10 @@ bool SocksHelper::Handshake(SOCKET client)
}
/* Password */
buffer[1 + plength] = 0x00;
buffer[1 + 1 + ulength] = 0x00;
if (plength != 0)
{
buffer[1 + ulength] = plength;
buffer[1 + 1 + ulength] = plength;
memcpy(buffer + 1 + 1 + ulength + 1, tgtPassword.c_str(), plength);
}

197
Storage/i18n/fa-IR Normal file
View File

@@ -0,0 +1,197 @@
{
": ": "",
"Information": "اطلاعات",
"Error": "خطا",
"If this is your first time using this software,\n please check https://netch.org to install supports first,\n or the program may report errors.": "If this is your first time using this software,\n please check https://netch.org to install supports first,\n or the program may report errors.",
"Missing File or runtime components": "فایل یا اجزای زمان اجرا از دست رفته است",
"Please extract all files then run the program!": "لطفا تمام فایل ها را استخراج کنید سپس برنامه را اجرا کنید!",
"Start": "شروع کنید",
"Stop": "متوقف کردن",
"Waiting for command": "منتظر فرمان",
"Starting": "درحال اجرا شدن",
"Start failed": "شروع ناموفق بود",
"Started": "اجرا شد",
"Stopping": "در حال متوقف شدن",
"Stopped": "متوقف شد",
"Starting {0}": "{0}درحال شروع ",
"Starting NatTester": "NAT درحال اجرا تست کننده",
"SetupBypass": "راه اندازی Bypass",
"Test failed": "تست به خطا خورد",
"Starting update subscription": "در حال اجرای بروزرسانی اشتراک پذیری",
"Starting update ACL": "شروع بروزرسانی ACL",
"Subscription updated": "اشتراک به روز شد",
"Register driver": "نصب درایورها",
"Server": "سرور",
"Import Servers From Clipboard": "تنظیمات سرور را از کلیپ بورد وارد کنید",
"Add [{0}] Server": "سرور [{0}] را اضافه کنید",
"Netch is now minimized to the notification bar, double click this icon to restore.": "Netch در نوار اعلان به حداقل رسیده است. برای بازیابی روی این نماد دوبار کلیک کنید.",
"New version available": "نسخه جدید وجود دارد",
"Already latest version": "در حال حاضر آخرین نسخه است",
"New version found failed": "نسخه جدیدی پیدا نشد",
"Mode": "حالت",
"Help": "کمک",
"Check for updates": "به روز رسانی را بررسی کنید",
"Download and install now?": "آیا مطمئن هستید که می خواهید اکنون دانلود و نصب کنید؟",
"Start downloading new version": "در حال دانلود بروزرسانی ها",
"Download update failed": "به روز رسانی نا موفق بود",
"Create Process Mode": "پروفایل جدید",
"Edit Process Mode": "ویرایش نمایه",
"Create Route Table Rule": "قانون جدید جدول لوت",
"Edit Route Table Rule": "قوانین جدول لوت را ویرایش کنید",
"Address": "آدرس سرور",
"Username": "نام کاربری",
"Password": "کلمه عبور",
"User ID": "User ID",
"Alter ID": "Alter ID",
"Transfer Protocol": "پروتکل انتقال",
"Fake Type": "نوع انتقال",
"Host": "میزبان",
"Path": "مسیر",
"QUIC Security": "روش رمزگذاری QUIC",
"QUIC Secret": "کلید رمزگذاری QUIC",
"TLS Secure": "امنیت TLS",
"Use Mux": "استفاده از mux",
"Encrypt Method": "روش رمزگذاری",
"Protocol": "پروتکل",
"Protocol Param": "پارامترهای پروتکل",
"OBFS": "OBFS",
"OBFS Param": "OBFS パラメータ",
"Saved": "ذخیره تکمیل شد",
"Plugin": "پلاگین",
"Plugin Options": "پارامترهای افزونه",
"Subscribe": "اشتراک، ابونمان",
"Manage Subscribe Links": "لینک های اشتراک را مدیریت کنید",
"Update Servers From Subscribe Links": "تنظیمات سرور را از اشتراک به روز کنید",
"Update Servers From Subscribe Links With Proxy": "تنظیمات سرور را از اشتراک با پروکسی به روز کنید",
"No subscription link": "بدون لینک اشتراک",
"Updating {0}": "در حال به روز رسانی {0}",
"Update {1} server(s) from {0}": "سرورهای {1} به روز شده از {0}",
"Update servers error from {0}": "به‌روزرسانی سرور از {0} انجام نشد",
"Confirm deletion?": "آیا مطمئنید که میخواهید حذف کنید؟",
"DeleteServer": "سرور اشتراک را حذف کنید",
"CopyLink": "لینک را کپی کنید",
"Status": "وضعیت",
"Link": "ارتباط دادن",
"Unselect": "لغو انتخاب کنید",
"Options": "گزینه",
"NF Service": "سرویس NF",
"TUN/TAP driver": "TUN/TAP درایور",
"Uninstall {0}": "{0} حذف",
"Uninstalling {0}": "{0} در حال حذف",
"{0} has been uninstalled": "{0} حذف شد",
"Reload Modes": "لیست حالت بارگیری مجدد",
"Modes have been reload": "لیست حالت دوباره بارگیری شد",
"Clean DNS Cache": "کش DNS را پاک کنید",
"DNS cache cleanup succeeded": "کش DNS پاک شد",
"Remove Netch Firewall Rules": "قانون نچ فایروال را حذف کنید",
"Update PAC": "قوانین PAC به روز کردن",
"PAC updated successfully": "PAC به روز شد",
"PAC update failed": "خرابی به روز رسانی PAC",
"Update ACL": "قوانین ACL را به روز کنید",
"Update ACL with proxy": "قوانین ACL را از طریق پروکسی به روز کنید",
"ACL updated successfully": "به روز رسانی ACL کامل شد",
"ACL update failed": "خرابی به‌روزرسانی ACL",
"Open Directory": "پوشه را باز کنید",
"About": "اطلاعات نسخه",
"FAQ": "سوالات متداول",
"Telegram Channel": "کانال تلگرام",
"Sponsor": "حامی",
"Configuration": "تنظیم اطلاعات",
"Please press Stop button first": "لطفا ابتدا روی دکمه توقف کلیک کنید",
"Please select a server first": "لطفا ابتدا یک سرور انتخاب کنید",
"Please select a mode first": "لطفا ابتدا یک حالت را انتخاب کنید",
"Please enter a profile name first": "لطفا ابتدا نام پروفایل خود را وارد کنید",
"No saved profile here. Save a profile first by Ctrl+Click on the button": "هیچ پروفایلی در اینجا ذخیره نشده است. Ctrl + کلیک چپ را فشار دهید تا نمایه ذخیره شود",
"Used": "استفاده شده",
"Test done": "تست تکمیل شد",
"Remark": "Remark",
"Filename": "نام فایل",
"Use Custom Filename": "ذخیره با نام فایل دلخواه ",
"Add": "جدید",
"Scan": "اسکن کنید",
"Save": "نگاه داشتن",
"Modify": "تغییر دادن",
"Select a folder": "پوشه را انتخاب کنید",
"Please enter an process name (xxx.exe)": "نام فرآیند را وارد کنید (xxx.exe)",
"Rule does not conform to C++ regular expression syntax": "قانون با نحو عبارت منظم C++ مطابقت ندارد",
"Scan completed": "اسکن کامل شد",
"Mode added successfully": "حالت جدید تکمیل شد",
"Mode updated successfully": "ویرایش حالت تکمیل شد",
"Unable to add empty rule": "قانون خالی اضافه نمی شود",
"Please enter a mode remark": "لطفا نکات را وارد کنید",
"File already exists.\n Please Change the filename": "فایل ای با همین نام از قبل وجود دارد. لطفاً نام فایل دیگری را برگزینید",
"Please enter a mode filename": "نام حالت را وارد کنید",
"Proxy Rule IPs": "قوانین پروکسی برای آی پی ها",
"Bypass Rule IPs": "آدرس IP را نادیده بگیرید",
"Delete": "حذف",
"Delete or not ? Will clean up the corresponding group of items in the server list": "آیا مطمئن هستید که می خواهید آن را حذف کنید؟ در صورت حذف، سرور مربوطه از لیست حذف خواهد شد",
"Remark can not be empty": "یادداشت نمی تواند خالی باشد",
"Link can not be empty": "لینک نمی تواند خالی باشد",
"Link must start with http:// or https://": "پیوندها باید با http:// یا https:// شروع شوند",
"Settings": "تنظیمات",
"Start when opened": "با شروع برنامه به طور خودکار وصل شوید",
"Minimize when started": "به صورت خودکار هنگام شروع برنامه کمینه کنید",
"Run at startup": "ثبت نام برای راه اندازی",
"Local Port": "شماره پورت محلی",
"Allow other Devices to connect": "اتصال از دستگاه های دیگر را مجاز کنید",
"Netmask": "Netmask",
"Gateway": "Gateway",
"Use Custom DNS": "از DNS سفارشی استفاده کنید",
"Proxy DNS in Proxy Rule IPs Mode": "Proxy DNS in Proxy Rule IPs Mode",
"Use Fake DNS": "از DNS جعلی استفاده کنید",
"Exit when closed": "پس از قطع اتصال، برنامه به طور خودکار خاتمه یابد",
"Stop when exited": "هنگامی که برنامه خارج می شود، اتصال را به طور خودکار قطع کنید",
"Global Bypass IPs": "IP Bypass جهانی",
"Check update when opened": "هنگامی که برنامه شروع به کار می کند، به طور خودکار ارتقاء را بررسی کنید",
"Check Beta update": "به روز رسانی های بتا را بررسی کنید",
"Update Servers when opened": "به روز رسانی سرور در هنگام راه اندازی",
"SS DLL": "SS DLL",
"Modify System DNS": "تغییر DNS سیستم",
"Proxy Protocol": "پروتکل پروکسی",
"DNS Redirector": "DNS فوروارد",
"ICMP Redirector": "ICMP Forward",
"Child Process Handle": "دسته فرآیند کودک",
"ProfileCount": "مقدار پروفایل",
"Delay test after start": "بعد از شروع برنامه تست تاخیر انجام دهید",
"ServerPingType": "روش تست سرعت",
"Detection Tick(sec)": "فاصله تشخیص (ثانیه)",
"STUN Server": "سرور STUN",
"Custom ACL": "قوانین سفارشی ACL",
"Language": "زبان",
"Resolve Server Hostname": "حل نام میزبان سرور",
"FullCone Support (Required Server Xray-core v1.3.0+)": "پشتیبانی از FullCone (نیاز به Xray-core سمت سرور نسخه 1.3.0+)",
"Profile": "پروفایل",
"Profiles": "لیست پروفایل",
"None": "هیچ یک",
"Show": "نمایش دادن",
"Exit": "خروج",
"The {0} port is in use.": "پورت {0} در حال حاضر در حال استفاده است",
"The {0} port is reserved by system.": "{0} برای سیستم رزرو شده است",
"[Web Proxy] Bypass LAN": "[پراکسی وب] آدرس LAN را نادیده بگیرید",
"[Non Web Proxy] Bypass LAN": "[پراکسی غیر وب] آدرس LAN را نادیده بگیرید",
"[TUN/TAP] Bypass LAN": "[TUN/TAP] آدرس LAN را نادیده بگیرید",
"[Web Proxy] Bypass LAN and China": "[پراکسی وب] آدرس های LAN و آدرس های سرزمین اصلی چین را نادیده بگیرید",
"[Non Web Proxy] Bypass LAN and China": "[پراکسی غیر وب] آدرس های LAN و آدرس های سرزمین اصلی چین را نادیده بگیرید",
"[TUN/TAP] Bypass LAN and China": "[TUN/TAP] آدرس های LAN و آدرس های سرزمین اصلی چین را نادیده بگیرید"
}

View File

@@ -2,4 +2,4 @@
install.exe
VRChat.exe
UnityCrashHandler64.exe
youtube-dl.exe
yt-dlp.exe

View File

@@ -1,5 +1,9 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Tests
{
@@ -11,5 +15,32 @@ namespace Tests
{
Console.WriteLine(AppDomain.CurrentDomain.BaseDirectory);
}
[TestMethod]
public void VLESS_UUID5()
{
//https://github.com/XTLS/Xray-core/discussions/715
byte[] bytes = new byte[16];
var str = "example";
SHA1 sha1 = new SHA1CryptoServiceProvider();
byte[] StrBytes = Encoding.UTF8.GetBytes(str);
List<byte> byteSource = new List<byte>();
byteSource.AddRange(bytes);
byteSource.AddRange(StrBytes);
byte[] Sha1Bytes = sha1.ComputeHash(byteSource.ToArray()).Skip(0).Take(16).ToArray();
sha1.Dispose();
//UUIDv5: [254 181 68 49 48 27 82 187 166 221 225 233 62 129 187 158]
Sha1Bytes[6] = (byte)((Sha1Bytes[6] & 0x0f) | (5 << 4));
Sha1Bytes[8] = (byte)(Sha1Bytes[8] & (0xff >> 2) | (0x02 << 6));
var result = BitConverter.ToString(Sha1Bytes).Replace("-", "").Insert(8, "-").Insert(13, "-").Insert(18, "-").Insert(23, "-").ToLower();
Console.WriteLine(result);
//UUIDv5: feb54431-301b-52bb-a6dd-e1e93e81bb9e
}
}
}

View File

@@ -9,10 +9,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
<PackageReference Include="coverlet.collector" Version="3.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />
<PackageReference Include="coverlet.collector" Version="3.2.0" />
</ItemGroup>
</Project>

View File

@@ -60,7 +60,7 @@ if ( -Not ( Test-Path ".\Netch\bin\$Configuration" ) ) {
-c $Configuration `
-r 'win-x64' `
-p:Platform='x64' `
-p:SelfContained=$False `
-p:SelfContained=$SelfContained `
-p:PublishTrimmed=$PublishReadyToRun `
-p:PublishSingleFile=$PublishSingleFile `
-p:PublishReadyToRun=$PublishReadyToRun `
@@ -103,4 +103,4 @@ if ( $Configuration.Equals('Release') ) {
}
Pop-Location
exit 0
exit 0