VKProxy.Cli 0.0.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global VKProxy.Cli --version 0.0.0.6
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local VKProxy.Cli --version 0.0.0.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=VKProxy.Cli&version=0.0.0.6
                    
nuke :add-package VKProxy.Cli --version 0.0.0.6
                    

VKProxy

l4/l7 proxy base on Kestrel (c#)

VKProxy ��ʹ��c#�����Ļ��� Kestrel ʵ�� L4/L7�Ĵ���

��� Kestrel

��Ҫ��http Э��Ĵ���ʵ��̫���ˣ��������޴�����Ϊ��ʡ�¾ͻ��� Kestrel ��

����������֪ Kestrel �� Aspnetcore Ϊ�˿�ƽ̨��ʵ�ֵ�web server��ֻ�ṩ http 1/2/3 �� L7�������

������Դ���ͬѧ��֪������ʵ�䱾���L4��(socket)ʵ�ֵ�HttpЭ�鴦���ֻ��OnBindֻ��http���ʵ���Լ�û���ṩ��ع�����չ��api������������������

���Ǽ�Ȼ�����ǿ�Դ�ģ���������Ҳ֪��dotnet����Ȼ�鷳�����ܿ�Խ�������Ƶ�������Reflection�����������Dz����赲���ǵ�ħצ

��ps 1. ���������ƹ����ƿ��ܻ���Native AOT��س����������⣬Ŀǰ��ʱû����������ز��� 2. �ڲ�ͬ�汾Kestrel ���ܻ����api�䶯��ĿǰΪ��ʡ�£���������汾���죬��ʱ��net9.0Ϊ׼��net10��ʽ������Ǩ��������net10���˺�������net9.0֮ǰ�汾 ��

����

���ò�����һ�����ޣ�dotnet ��socket û���ṩͳһ�Ŀ����socketת��api����Ϊdotnet�ǿ�ƽ̨�ģ���ͬϵͳ���ڲ��죬��issue Migrate Socket between processes �Ѿ�����û��������

���Բ����������������ʱ����֧��

�����ڲ���֧�ּ������ñ䶯��������ؼ����˿ڱ䶯����ȣ����Դ󲿷ֳ���Ӧ��û��̫�����⣬ֻ���޷�����tcp����Ǩ��

����չ�׽���Ӧ�ó�����

���˴�������⣬����ͨ�������ͷ���Kestrel����������Ҳ���԰� VKProxy ���ɿ���չ�׽���Ӧ�ó�����ʹ��

ʹ�������ɹ���ʼ�����ӵ��׽���Ӧ�ó��򣬶����迼�����ʹ���׽��֣����ά���׽��������Լ��׽�����ι�����

(��Kestrel�����Ͽ��������ۿ��԰��ҽ�ʡһЩ����ֱ��ʹ��socketҪ�Լ����� socket֮�������)

������Բο�����չ�׽���Ӧ�ó�����

Doc

Please see Doc

Features

  • TCP proxy
  • UDP proxy
  • HTTP1/2/3 proxy
  • SNI proxy (no tls handle, tls base on upstream)
  • SNI proxy (tls handle, upstream no tls handle)
  • dns (use system dns, no query from dns server )
  • LoadBalancingPolicy
  • Passive HealthCheck
  • TCP Connected Active HealthCheck
  • Configuration
  • reload config and rebind
  • socks5 TCP
    • NO AUTH
    • simple user/password auth
  • socks5 UDP
  • Http Active HealthCheck
  • socks5(tcp) to websocket to socks5
  • etcd storage
  • simple config web ui
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.0.8 103 7/3/2025
0.0.0.7 130 6/19/2025
0.0.0.7-beta 130 6/19/2025
0.0.0.6 251 6/13/2025
0.0.0.6-beta 248 6/13/2025