first commit
This commit is contained in:
commit
8019fef16d
|
@ -0,0 +1,108 @@
|
|||
using log4net;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using log4net.Config;
|
||||
using Exception = System.Exception;
|
||||
using Ultron.Proxy.Interfaces;
|
||||
using Ultron.Proxy.Models;
|
||||
|
||||
namespace Ultron.Proxy
|
||||
{
|
||||
class Client
|
||||
{
|
||||
public class Log4netLogger : ILogger
|
||||
{
|
||||
public void Debug(object message)
|
||||
{
|
||||
Logger.Debug(message);
|
||||
}
|
||||
|
||||
public void Error(object message, Exception ex)
|
||||
{
|
||||
Logger.Error(message,ex);
|
||||
}
|
||||
|
||||
public void Info(object message)
|
||||
{
|
||||
Logger.Info(message);
|
||||
}
|
||||
}
|
||||
|
||||
public static ILog Logger;
|
||||
public static IConfigurationRoot Configuration { get; set; }
|
||||
static void Main(string[] args)
|
||||
{
|
||||
//log
|
||||
var loggerRepository = LogManager.CreateRepository("NSmartClientRouterRepository");
|
||||
XmlConfigurator.Configure(loggerRepository, new FileInfo("log4net.config"));
|
||||
//BasicConfigurator.Configure(loggerRepository);
|
||||
Logger = LogManager.GetLogger(loggerRepository.Name, "NSmartServerClient");
|
||||
if (!loggerRepository.Configured) throw new Exception("log config failed.");
|
||||
//Thread.Sleep(3000);
|
||||
Console.ForegroundColor = ConsoleColor.Yellow;
|
||||
Logger.Info("*** NSmart ClientRouter v0.2 ***");
|
||||
|
||||
var builder = new ConfigurationBuilder()
|
||||
.SetBasePath(Directory.GetCurrentDirectory())
|
||||
.AddJsonFile("appsettings.json");
|
||||
|
||||
Configuration = builder.Build();
|
||||
|
||||
//start clientrouter.
|
||||
try
|
||||
{
|
||||
StartClient().Wait();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Error(e.Message);
|
||||
}
|
||||
|
||||
Logger.Info("Client terminated,press any key to continue.");
|
||||
Console.Read();
|
||||
}
|
||||
|
||||
private static async Task StartClient()
|
||||
{
|
||||
|
||||
Router clientRouter = new Router(new Log4netLogger());
|
||||
//read config from config file.
|
||||
SetConfig(clientRouter);// clientRouter.SetConifiguration();
|
||||
Task tsk = clientRouter.ConnectToProvider();
|
||||
try
|
||||
{
|
||||
await tsk;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Error(e);
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void SetConfig(Router clientRouter)
|
||||
{
|
||||
Config config = new Config();
|
||||
config.ProviderAddress = Configuration.GetSection("ProviderAddress").Value;
|
||||
config.ProviderPort = int.Parse(Configuration.GetSection("ProviderPort").Value);
|
||||
config.ProviderConfigPort = int.Parse(Configuration.GetSection("ProviderConfigPort").Value);
|
||||
var configClients = Configuration.GetSection("Clients").GetChildren();
|
||||
foreach (var cli in configClients)
|
||||
{
|
||||
int confConsumerPort = 0;
|
||||
if (cli["ConsumerPort"] != null) confConsumerPort = int.Parse(cli["ConsumerPort"]);
|
||||
config.Clients.Add(new ClientApp
|
||||
{
|
||||
IP = cli["IP"],
|
||||
Port = int.Parse(cli["TargetServicePort"]),
|
||||
RemotePort = confConsumerPort
|
||||
});
|
||||
}
|
||||
// Configuration.GetSection("1").
|
||||
clientRouter.SetConifiguration(config);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
|
||||
namespace Ultron.Proxy
|
||||
{
|
||||
public class ClientAppWorker
|
||||
{
|
||||
public List<TcpClient> TcpClientGroup = new List<TcpClient>();
|
||||
public int AppId; //1~255
|
||||
public int Port; //0~65535
|
||||
private bool isWorking = false;
|
||||
|
||||
public bool IsWorking { get => isWorking;}
|
||||
|
||||
public void StartWork()
|
||||
{
|
||||
isWorking = true;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
using Ultron.Proxy.Models;
|
||||
|
||||
namespace Ultron.Proxy
|
||||
{
|
||||
public class Config
|
||||
{
|
||||
public int ProviderPort; //代理转发服务端口
|
||||
public int ProviderConfigPort; //配置服务端口
|
||||
public string ProviderAddress; //代理服务器地址
|
||||
public List<ClientApp> Clients = new List<ClientApp>();//客户端app
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
<PublishDir>bin\Debug\netcoreapp2.2\publish\</PublishDir>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>true</SelfContained>
|
||||
<_IsPortable>false</_IsPortable>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
</Project>
|
|
@ -0,0 +1,174 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Ultron.Proxy.Interfaces;
|
||||
using Ultron.Proxy.Models;
|
||||
|
||||
namespace Ultron.Proxy
|
||||
{
|
||||
public class Router
|
||||
{
|
||||
CancellationTokenSource CANCEL_TOKEN = new CancellationTokenSource();
|
||||
CancellationTokenSource TRANSFERING_TOKEN = new CancellationTokenSource();
|
||||
ServerConnnectionManager ConnnectionManager;
|
||||
|
||||
internal static Config ClientConfig;
|
||||
|
||||
//inject
|
||||
internal static ILogger Logger;
|
||||
|
||||
public Router(ILogger logger)
|
||||
{
|
||||
Logger = logger;
|
||||
}
|
||||
|
||||
public void SetConifiguration(Config config)
|
||||
{
|
||||
ClientConfig = config;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重要:连接服务端
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task ConnectToProvider()
|
||||
{
|
||||
var appIdIpPortConfig = ClientConfig.Clients;
|
||||
|
||||
ConnnectionManager = ServerConnnectionManager.Create();
|
||||
ConnnectionManager.ClientGroupConnected += ServerConnnectionManager_ClientGroupConnected;
|
||||
var clientModel = await ConnnectionManager.InitConfig();
|
||||
int counter = 0;
|
||||
//appid为0时说明没有分配appid,所以需要分配一个
|
||||
foreach (var app in appIdIpPortConfig)
|
||||
{
|
||||
if (app.AppID == 0)
|
||||
{
|
||||
app.AppID = clientModel.AppList[counter].AppId;
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
Logger.Debug("****************port list*************");
|
||||
|
||||
foreach (var ap in clientModel.AppList)
|
||||
{
|
||||
var cApp = appIdIpPortConfig.First(obj => obj.AppID == ap.AppId);
|
||||
Logger.Debug(ap.AppId.ToString() + ": " + ClientConfig.ProviderAddress + ":" + ap.Port.ToString() + "=>" +
|
||||
cApp.IP + ":" + cApp.Port);
|
||||
}
|
||||
Logger.Debug("**************************************");
|
||||
Task pollingTask = ConnnectionManager.PollingToProvider();
|
||||
try
|
||||
{
|
||||
await pollingTask;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Error("Thread:" + Thread.CurrentThread.ManagedThreadId + " crashed.\n", ex);
|
||||
throw;
|
||||
}
|
||||
|
||||
await Task.Delay(TimeSpan.FromHours(24), CANCEL_TOKEN.Token);
|
||||
}
|
||||
|
||||
private void ServerConnnectionManager_ClientGroupConnected(object sender, EventArgs e)
|
||||
{
|
||||
var args = (ClientGroupEventArgs)e;
|
||||
foreach (TcpClient providerClient in args.NewClients)
|
||||
{
|
||||
|
||||
Router.Logger.Debug("Open server connection.");
|
||||
OpenTrasferation(args.App.AppId, providerClient);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private async Task OpenTrasferation(int appId, TcpClient providerClient)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] buffer = new byte[1];
|
||||
NetworkStream providerClientStream = providerClient.GetStream();
|
||||
//接收首条消息,首条消息中返回的是appid和客户端
|
||||
int readByteCount = await providerClientStream.ReadAsync(buffer, 0, buffer.Length);
|
||||
//从空闲连接列表中移除
|
||||
ConnnectionManager.RemoveClient(appId, providerClient);
|
||||
//每移除一个链接则发起一个新的链接
|
||||
Logger.Debug(appId + "接收到连接请求");
|
||||
TcpClient toTargetServer = new TcpClient();
|
||||
//根据clientid_appid发送到固定的端口
|
||||
ClientApp item = ClientConfig.Clients.First((obj) => obj.AppID == appId);
|
||||
|
||||
//只发送一次,需要在链接成功移除时加入
|
||||
await ConnnectionManager.ConnectAppToServer(appId);
|
||||
Logger.Debug("已建立反向连接:" + appId);
|
||||
// item1:app编号,item2:ip地址,item3:目标服务端口
|
||||
toTargetServer.Connect(item.IP, item.Port);
|
||||
Logger.Debug("已连接目标服务:" + item.IP.ToString() + ":" + item.Port.ToString());
|
||||
|
||||
NetworkStream targetServerStream = toTargetServer.GetStream();
|
||||
//targetServerStream.Write(buffer, 0, readByteCount);
|
||||
TcpTransferAsync(providerClientStream, targetServerStream, providerClient, toTargetServer);
|
||||
//already close connection
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Debug(e);
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private async Task TcpTransferAsync(NetworkStream providerStream, NetworkStream targetServceStream, TcpClient providerClient, TcpClient toTargetServer)
|
||||
{
|
||||
try
|
||||
{
|
||||
Logger.Debug("Looping start.");
|
||||
//创建相互转发流
|
||||
var taskT2PLooping = ToStaticTransfer(TRANSFERING_TOKEN.Token, targetServceStream, providerStream, "T2P");
|
||||
var taskP2TLooping = StreamTransfer(TRANSFERING_TOKEN.Token, providerStream, targetServceStream, "P2T");
|
||||
|
||||
//close connnection,whether client or server stopped transferring.
|
||||
var comletedTask = await Task.WhenAny(taskT2PLooping, taskP2TLooping);
|
||||
//Router.Logger.Debug(comletedTask.Result + "传输关闭,重新读取字节");
|
||||
providerClient.Close();
|
||||
Logger.Debug("已关闭toProvider连接。");
|
||||
toTargetServer.Close();
|
||||
Logger.Debug("已关闭toTargetServer连接。");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Debug(ex.ToString());
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private async Task<string> StreamTransfer(CancellationToken ct, NetworkStream fromStream, NetworkStream toStream, string signal, Func<byte[], Task<bool>> beforeTransfer = null)
|
||||
{
|
||||
await fromStream.CopyToAsync(toStream, 4096, ct);
|
||||
return signal;
|
||||
}
|
||||
|
||||
|
||||
private async Task<string> ToStaticTransfer(CancellationToken ct, NetworkStream fromStream, NetworkStream toStream, string signal, Func<byte[], Task<bool>> beforeTransfer = null)
|
||||
{
|
||||
|
||||
await fromStream.CopyToAsync(toStream, 4096, ct);
|
||||
return signal;
|
||||
}
|
||||
|
||||
private void SendZero(int port)
|
||||
{
|
||||
TcpClient tc = new TcpClient();
|
||||
tc.Connect("127.0.0.1", port);
|
||||
tc.Client.Send(new byte[] { 0 });
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,178 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading.Tasks;
|
||||
using System.Linq;
|
||||
using Ultron.Proxy.Models;
|
||||
using Ultron.Proxy.Utils;
|
||||
|
||||
namespace Ultron.Proxy
|
||||
{
|
||||
public class ClientGroupEventArgs : EventArgs
|
||||
{
|
||||
public IEnumerable<TcpClient> NewClients;
|
||||
public ClientIdAppId App;
|
||||
}
|
||||
|
||||
public class ServerConnnectionManager
|
||||
{
|
||||
private int MAX_CONNECT_SIZE = 6;//magic value,单个应用最大连接数,有些应用端支持多连接,需要调高此值,当该值较大时,此值会增加
|
||||
private int ClientID = 0;
|
||||
private ServerConnnectionManager()
|
||||
{
|
||||
Router.Logger.Debug("ServerConnnectionManager initialized.");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 初始化配置,返回服务端返回的配置
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task<ClientModel> InitConfig()
|
||||
{
|
||||
ClientModel clientModel = await ReadConfigFromProvider();
|
||||
//要求服务端分配资源并获取服务端配置,待完善
|
||||
|
||||
this.ClientID = clientModel.ClientId;
|
||||
//分配appid给不同的Client
|
||||
ServiceClientListCollection = new Dictionary<int, ClientAppWorker>();
|
||||
for (int i = 0; i < clientModel.AppList.Count; i++)
|
||||
{
|
||||
var app = clientModel.AppList[i];
|
||||
ServiceClientListCollection.Add(clientModel.AppList[i].AppId, new ClientAppWorker()
|
||||
{
|
||||
AppId = app.AppId,
|
||||
Port = app.Port,
|
||||
TcpClientGroup = new List<TcpClient>(MAX_CONNECT_SIZE)
|
||||
});
|
||||
}
|
||||
return clientModel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从服务端读取配置
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private async Task<ClientModel> ReadConfigFromProvider()
|
||||
{
|
||||
//《c#并发编程经典实例》 9.3 超时后取消
|
||||
var config = Router.ClientConfig;
|
||||
Router.Logger.Debug("Reading Config From Provider..");
|
||||
TcpClient configClient = new TcpClient();
|
||||
var delayDispose = Task.Delay(TimeSpan.FromSeconds(600)).ContinueWith(_ => configClient.Dispose());
|
||||
var connectAsync = configClient.ConnectAsync(config.ProviderAddress, config.ProviderConfigPort);
|
||||
//超时则dispose掉
|
||||
var comletedTask = await Task.WhenAny(delayDispose, connectAsync);
|
||||
if (!connectAsync.IsCompleted)
|
||||
{
|
||||
throw new Exception("连接超时");
|
||||
}
|
||||
|
||||
var configStream = configClient.GetStream();
|
||||
|
||||
|
||||
//请求1 端口数
|
||||
var requestBytes = new ClientNewAppRequest
|
||||
{
|
||||
ClientId = 0,
|
||||
ClientCount = config.Clients.Count(obj => obj.AppID == 0) //appid为0的则是未分配的
|
||||
}.ToBytes();
|
||||
await configStream.WriteAsync(requestBytes, 0, requestBytes.Length);
|
||||
|
||||
//请求2 分配端口
|
||||
//var requestBytes
|
||||
byte[] requestBytes2 = new byte[config.Clients.Count * 2];
|
||||
int i = 0;
|
||||
foreach (var client in config.Clients)
|
||||
{
|
||||
byte[] portBytes = StringUtil.IntTo2Bytes(client.RemotePort);
|
||||
requestBytes2[2 * i] = portBytes[0];
|
||||
requestBytes2[2 * i + 1] = portBytes[1];
|
||||
i++;
|
||||
}
|
||||
await configStream.WriteAsync(requestBytes2, 0, requestBytes2.Length);
|
||||
|
||||
//读端口配置
|
||||
byte[] serverConfig = new byte[256];
|
||||
int readBytesCount = await configStream.ReadAsync(serverConfig, 0, serverConfig.Length);
|
||||
if (readBytesCount == 0) Router.Logger.Debug("服务器状态异常,已断开连接");
|
||||
return ClientModel.GetFromBytes(serverConfig, readBytesCount);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// clients Connected event.
|
||||
/// </summary>
|
||||
public event EventHandler ClientGroupConnected;
|
||||
|
||||
/// <summary>
|
||||
/// 将所有的app循环连接服务端
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task PollingToProvider()
|
||||
{
|
||||
var config = Router.ClientConfig;
|
||||
if (ClientID == 0) { Router.Logger.Debug("error:未连接客户端"); return; };
|
||||
//int hungryNumber = MAX_CONNECT_SIZE / 2;
|
||||
byte[] clientBytes = StringUtil.IntTo2Bytes(ClientID);
|
||||
|
||||
List<Task> taskList = new List<Task>();
|
||||
foreach (var kv in ServiceClientListCollection)
|
||||
{
|
||||
|
||||
int appid = kv.Key;
|
||||
await ConnectAppToServer(appid);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public async Task ConnectAppToServer(int appid)
|
||||
{
|
||||
var app = this.ServiceClientListCollection[appid];
|
||||
var config = Router.ClientConfig;
|
||||
// ClientAppWorker app = kv.Value;
|
||||
byte[] requestBytes = StringUtil.ClientIDAppIdToBytes(ClientID, appid);
|
||||
var clientList = new List<TcpClient>();
|
||||
//补齐
|
||||
TcpClient client = new TcpClient();
|
||||
await client.ConnectAsync(config.ProviderAddress, config.ProviderPort);
|
||||
//连完了马上发送端口信息过去,方便服务端分配
|
||||
await client.GetStream().WriteAsync(requestBytes, 0, requestBytes.Length);
|
||||
Router.Logger.Debug("ClientID:" + ClientID.ToString()
|
||||
+ " AppId:" + appid.ToString() + " 已连接");
|
||||
app.TcpClientGroup.Add(client);
|
||||
clientList.Add(client);
|
||||
//var clientList = new List<TcpClient>() { client };
|
||||
ClientGroupConnected(this, new ClientGroupEventArgs()
|
||||
{
|
||||
NewClients = clientList,
|
||||
App = new ClientIdAppId
|
||||
{
|
||||
ClientId = ClientID,
|
||||
AppId = appid
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//key:appid value;ClientApp
|
||||
public Dictionary<int, ClientAppWorker> ServiceClientListCollection;// = new Dictionary<int, List<TcpClient>>();
|
||||
//private static ServerConnnectionManager Instance = new Lazy<ServerConnnectionManager>(() => new ServerConnnectionManager()).Value;
|
||||
|
||||
|
||||
|
||||
public static ServerConnnectionManager Create()
|
||||
{
|
||||
return new ServerConnnectionManager();
|
||||
}
|
||||
|
||||
public TcpClient RemoveClient(int appId, TcpClient client)
|
||||
{
|
||||
if (ServiceClientListCollection[appId].TcpClientGroup.Remove(client))
|
||||
|
||||
return client;
|
||||
else
|
||||
{
|
||||
throw new Exception("无此client");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
|
||||
<AssemblyName>uProxy</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ILLink.Tasks" Version="0.1.5-preview-1841731" />
|
||||
<PackageReference Include="log4net" Version="2.0.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="appsettings.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="log4net.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Ultron.Proxy\Ultron.Proxy.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
||||
<ActiveDebugProfile>Ultron.Proxy.Client</ActiveDebugProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"ProviderPort": "8001", //反向连接的端口
|
||||
"ProviderConfigPort": "8000", //配置服务的端口
|
||||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||||
"ProviderAddress": "114.115.139.193",
|
||||
|
||||
//反向代理客户端,可以配置多个
|
||||
"Clients": [
|
||||
{
|
||||
"IP": "127.0.0.1", //反向代理机器的ip
|
||||
"TargetServicePort": "1433", //反向代理服务的端口
|
||||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "80",
|
||||
"ConsumerPort": "80"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "3389"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "5900"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"ProviderPort": "8001", //反向连接的端口
|
||||
"ProviderConfigPort": "8000", //配置服务的端口
|
||||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||||
"ProviderAddress": "114.115.139.193",
|
||||
|
||||
//反向代理客户端,可以配置多个
|
||||
"Clients": [
|
||||
{
|
||||
"IP": "127.0.0.1", //反向代理机器的ip
|
||||
"TargetServicePort": "1433", //反向代理服务的端口
|
||||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "80",
|
||||
"ConsumerPort": "80"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "3389"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "5900"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,318 @@
|
|||
2019-04-02 13:27:06,711 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:27:07,642 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:27:07,665 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:28:06,440 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:28:06,931 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:28:06,945 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:28:28,283 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at NSmartProxy.Client.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 72
|
||||
at NSmartProxy.Client.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 34
|
||||
at NSmartProxy.Client.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\Router.cs:line 45
|
||||
at NSmartProxy.NSmartProxyClient.StartClient() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\NSmartProxyClient.cs:line 85
|
||||
2019-04-02 13:28:28,483 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 13:28:28,484 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 13:31:28,904 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:33:02,991 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:33:11,837 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:37:08,575 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:37:11,404 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:37:11,416 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:37:32,661 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at NSmartProxy.Client.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 72
|
||||
at NSmartProxy.Client.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 34
|
||||
at NSmartProxy.Client.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\Router.cs:line 45
|
||||
at NSmartProxy.NSmartProxyClient.StartClient() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\NSmartProxyClient.cs:line 85
|
||||
2019-04-02 13:37:32,790 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 13:37:32,791 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 13:38:27,515 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:38:47,982 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:39:06,563 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:39:27,824 [5] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at NSmartProxy.Client.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 72
|
||||
at NSmartProxy.Client.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 34
|
||||
at NSmartProxy.Client.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\Router.cs:line 45
|
||||
at NSmartProxy.NSmartProxyClient.StartClient() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\NSmartProxyClient.cs:line 85
|
||||
2019-04-02 13:39:28,013 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 13:39:28,014 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 13:40:46,451 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:41:14,755 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:41:32,702 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:43:25,153 [1] DEBUG NSmartServerClient [(null)] - ****************port list*************
|
||||
2019-04-02 13:43:29,591 [1] DEBUG NSmartServerClient [(null)] - 1: 114.115.139.193:8003=>192.168.0.106:5902
|
||||
2019-04-02 13:43:30,537 [1] DEBUG NSmartServerClient [(null)] - 2: 114.115.139.193:81=>127.0.0.1:80
|
||||
2019-04-02 13:43:31,457 [1] DEBUG NSmartServerClient [(null)] - 3: 114.115.139.193:20000=>127.0.0.1:3389
|
||||
2019-04-02 13:43:32,565 [1] DEBUG NSmartServerClient [(null)] - 4: 114.115.139.193:20001=>127.0.0.1:5900
|
||||
2019-04-02 13:43:33,493 [1] DEBUG NSmartServerClient [(null)] - **************************************
|
||||
2019-04-02 13:43:35,733 [7] DEBUG NSmartServerClient [(null)] - ClientID:63410 AppId:1 已连接
|
||||
2019-04-02 13:43:41,757 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:43:46,108 [9] DEBUG NSmartServerClient [(null)] - ClientID:63410 AppId:2 已连接
|
||||
2019-04-02 13:43:52,479 [9] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:43:56,641 [9] DEBUG NSmartServerClient [(null)] - ClientID:63410 AppId:3 已连接
|
||||
2019-04-02 13:43:58,410 [9] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:43:58,450 [9] DEBUG NSmartServerClient [(null)] - ClientID:63410 AppId:4 已连接
|
||||
2019-04-02 13:44:01,723 [9] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:45:28,521 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:45:31,494 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:45:33,036 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:46:04,163 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:46:11,275 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:46:11,296 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:47:25,907 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:47:26,462 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:47:26,478 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:47:26,696 [4] DEBUG NSmartServerClient [(null)] - ****************port list*************
|
||||
2019-04-02 13:47:26,697 [4] DEBUG NSmartServerClient [(null)] - 1: 114.115.139.193:8004=>127.0.0.1:1433
|
||||
2019-04-02 13:47:26,697 [4] DEBUG NSmartServerClient [(null)] - 2: 114.115.139.193:81=>127.0.0.1:80
|
||||
2019-04-02 13:47:26,697 [4] DEBUG NSmartServerClient [(null)] - 3: 114.115.139.193:20000=>127.0.0.1:3389
|
||||
2019-04-02 13:47:26,697 [4] DEBUG NSmartServerClient [(null)] - 4: 114.115.139.193:20001=>127.0.0.1:5900
|
||||
2019-04-02 13:47:26,697 [4] DEBUG NSmartServerClient [(null)] - **************************************
|
||||
2019-04-02 13:47:26,746 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:47:26,747 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:26,785 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:2 已连接
|
||||
2019-04-02 13:47:26,785 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:26,825 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:3 已连接
|
||||
2019-04-02 13:47:26,825 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:26,863 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:4 已连接
|
||||
2019-04-02 13:47:26,864 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:59,020 [5] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:47:59,058 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:47:59,058 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:59,059 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:47:59,060 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:47:59,062 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:47:59,944 [5] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:47:59,981 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:47:59,981 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:47:59,981 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:47:59,981 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:47:59,982 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:01,107 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:01,143 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:01,144 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:01,145 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:01,147 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:01,148 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:01,672 [7] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:01,672 [7] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:01,808 [8] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:01,837 [8] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:01,838 [8] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:01,871 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:01,872 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:01,873 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:01,876 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:01,876 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:01,895 [5] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:01,931 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:01,932 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:01,933 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:01,936 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:01,937 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:02,360 [5] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:02,362 [5] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:02,954 [7] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:02,955 [7] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:03,581 [5] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:03,613 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:03,613 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:03,616 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:03,617 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:03,617 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:04,657 [5] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:04,658 [5] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:04,810 [5] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:04,843 [5] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:04,844 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:04,845 [5] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:04,847 [5] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:04,848 [5] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:06,929 [8] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:06,929 [8] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:44,081 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:44,116 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:44,116 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:44,116 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:44,117 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:44,117 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:44,154 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:44,185 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:44,185 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:44,186 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:44,186 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:44,187 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:44,593 [7] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:44,593 [7] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:44,639 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:44,694 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:44,694 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:44,695 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:44,698 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:44,698 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:45,376 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:45,408 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:45,408 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:45,410 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:45,412 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:45,413 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:46,496 [7] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:46,496 [7] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:46,559 [9] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:46,560 [9] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:48:46,596 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:46,630 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:46,630 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:46,631 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:46,634 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:46,634 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:48,110 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:48,152 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:48,152 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:48,153 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:48,156 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:48,156 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:48,380 [7] DEBUG NSmartServerClient [(null)] - 1接收到连接请求
|
||||
2019-04-02 13:48:48,430 [7] DEBUG NSmartServerClient [(null)] - ClientID:49500 AppId:1 已连接
|
||||
2019-04-02 13:48:48,431 [7] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 13:48:48,432 [7] DEBUG NSmartServerClient [(null)] - 已建立反向连接:1
|
||||
2019-04-02 13:48:48,433 [7] DEBUG NSmartServerClient [(null)] - 已连接目标服务:127.0.0.1:1433
|
||||
2019-04-02 13:48:48,435 [7] DEBUG NSmartServerClient [(null)] - Looping start.
|
||||
2019-04-02 13:48:49,918 [10] DEBUG NSmartServerClient [(null)] - 已关闭toProvider连接。
|
||||
2019-04-02 13:48:49,918 [10] DEBUG NSmartServerClient [(null)] - 已关闭toTargetServer连接。
|
||||
2019-04-02 13:56:19,657 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 13:56:19,797 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 13:56:19,802 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 13:56:20,945 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at NSmartProxy.Client.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 72
|
||||
at NSmartProxy.Client.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\ServerConnnectionManager.cs:line 34
|
||||
at NSmartProxy.Client.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxy.ClientRouter\Router.cs:line 45
|
||||
at NSmartProxy.NSmartProxyClient.StartClient() in D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\NSmartProxyClient.cs:line 85
|
||||
2019-04-02 13:56:20,975 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 13:56:20,976 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 15:50:08,870 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 15:50:09,415 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 15:50:09,476 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 15:50:10,841 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at Ultron.Proxy.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 70
|
||||
at Ultron.Proxy.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 32
|
||||
at Ultron.Proxy.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\Router.cs:line 42
|
||||
at Ultron.Proxy.Client.StartClient() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\Client.cs:line 78
|
||||
2019-04-02 15:50:10,978 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 15:50:10,978 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 16:00:42,383 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 16:00:42,524 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 16:00:42,530 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 16:00:43,709 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at Ultron.Proxy.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 70
|
||||
at Ultron.Proxy.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 32
|
||||
at Ultron.Proxy.Router.ConnectToProvider() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\Router.cs:line 42
|
||||
at Ultron.Proxy.Client.StartClient() in D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\Client.cs:line 78
|
||||
2019-04-02 16:00:43,758 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 16:00:43,759 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 16:23:09,055 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 16:24:24,351 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 16:24:52,927 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 16:27:33,964 [6] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at Ultron.Proxy.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 70
|
||||
at Ultron.Proxy.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 32
|
||||
at Ultron.Proxy.Router.ConnectToProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Router.cs:line 42
|
||||
at Ultron.Proxy.Client.StartClient() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Client.cs:line 78
|
||||
2019-04-02 16:27:34,044 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 16:27:34,044 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 16:27:49,420 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 16:28:20,247 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 16:28:25,531 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 16:32:50,275 [5] DEBUG NSmartServerClient [(null)] - ****************port list*************
|
||||
2019-04-02 16:33:06,791 [5] DEBUG NSmartServerClient [(null)] - 1: 114.115.139.193:8004=>127.0.0.1:1433
|
||||
2019-04-02 16:33:11,080 [5] DEBUG NSmartServerClient [(null)] - 2: 114.115.139.193:81=>127.0.0.1:80
|
||||
2019-04-02 16:33:12,337 [5] DEBUG NSmartServerClient [(null)] - 3: 114.115.139.193:20000=>127.0.0.1:3389
|
||||
2019-04-02 16:33:13,500 [5] DEBUG NSmartServerClient [(null)] - 4: 114.115.139.193:20001=>127.0.0.1:5900
|
||||
2019-04-02 16:33:14,046 [5] DEBUG NSmartServerClient [(null)] - **************************************
|
||||
2019-04-02 16:34:58,677 [5] DEBUG NSmartServerClient [(null)] - ClientID:14832 AppId:1 已连接
|
||||
2019-04-02 16:41:48,360 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 16:44:28,873 [5] DEBUG NSmartServerClient [(null)] - ClientID:14832 AppId:2 已连接
|
||||
2019-04-02 16:44:32,599 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 16:44:38,939 [5] DEBUG NSmartServerClient [(null)] - ClientID:14832 AppId:3 已连接
|
||||
2019-04-02 16:44:40,358 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 16:44:42,752 [5] DEBUG NSmartServerClient [(null)] - ClientID:14832 AppId:4 已连接
|
||||
2019-04-02 16:44:46,429 [5] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:01:17,972 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:01:18,105 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:01:18,110 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:02:04,037 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:02:04,176 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:02:04,181 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:02:42,770 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:02:51,070 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:02:55,087 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:03:55,756 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:03:57,370 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:03:58,410 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:07:29,081 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:08:10,257 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:08:12,923 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:09:10,721 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:09:15,093 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:09:18,521 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:09:19,810 [4] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at Ultron.Proxy.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 70
|
||||
at Ultron.Proxy.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 32
|
||||
at Ultron.Proxy.Router.ConnectToProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Router.cs:line 42
|
||||
at Ultron.Proxy.Client.StartClient() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Client.cs:line 76
|
||||
2019-04-02 17:09:19,934 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 17:09:19,934 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 17:10:30,490 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:10:30,999 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:10:40,307 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:10:55,274 [6] ERROR NSmartServerClient [(null)] - System.InvalidOperationException: The operation is not allowed on non-connected sockets.
|
||||
at System.Net.Sockets.TcpClient.GetStream()
|
||||
at Ultron.Proxy.ServerConnnectionManager.ReadConfigFromProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 70
|
||||
at Ultron.Proxy.ServerConnnectionManager.InitConfig() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\ServerConnnectionManager.cs:line 32
|
||||
at Ultron.Proxy.Router.ConnectToProvider() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Router.cs:line 42
|
||||
at Ultron.Proxy.Client.StartClient() in D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\Client.cs:line 76
|
||||
2019-04-02 17:10:55,456 [1] ERROR NSmartServerClient [(null)] - One or more errors occurred. (The operation is not allowed on non-connected sockets.)
|
||||
2019-04-02 17:10:55,456 [1] INFO NSmartServerClient [(null)] - Client terminated,press any key to continue.
|
||||
2019-04-02 17:11:18,708 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:11:19,127 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:11:22,541 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:12:38,852 [1] DEBUG NSmartServerClient [(null)] - ****************port list*************
|
||||
2019-04-02 17:12:38,854 [1] DEBUG NSmartServerClient [(null)] - 1: 127.0.0.1:8004=>127.0.0.1:1433
|
||||
2019-04-02 17:12:38,854 [1] DEBUG NSmartServerClient [(null)] - 2: 127.0.0.1:81=>127.0.0.1:80
|
||||
2019-04-02 17:12:38,855 [1] DEBUG NSmartServerClient [(null)] - 3: 127.0.0.1:20000=>127.0.0.1:3389
|
||||
2019-04-02 17:12:38,855 [1] DEBUG NSmartServerClient [(null)] - 4: 127.0.0.1:20002=>127.0.0.1:5900
|
||||
2019-04-02 17:12:38,855 [1] DEBUG NSmartServerClient [(null)] - **************************************
|
||||
2019-04-02 17:12:38,865 [1] DEBUG NSmartServerClient [(null)] - ClientID:8356 AppId:1 已连接
|
||||
2019-04-02 17:12:43,744 [1] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:12:43,750 [1] DEBUG NSmartServerClient [(null)] - ClientID:8356 AppId:2 已连接
|
||||
2019-04-02 17:12:43,750 [1] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:12:43,761 [6] DEBUG NSmartServerClient [(null)] - ClientID:8356 AppId:3 已连接
|
||||
2019-04-02 17:12:43,771 [6] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:12:43,772 [4] DEBUG NSmartServerClient [(null)] - ClientID:8356 AppId:4 已连接
|
||||
2019-04-02 17:12:43,772 [4] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:14:05,223 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:14:05,851 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:14:08,405 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
||||
2019-04-02 17:14:09,164 [4] DEBUG NSmartServerClient [(null)] - ****************port list*************
|
||||
2019-04-02 17:14:09,165 [4] DEBUG NSmartServerClient [(null)] - 1: 114.115.139.193:8004=>127.0.0.1:1433
|
||||
2019-04-02 17:14:09,165 [4] DEBUG NSmartServerClient [(null)] - 2: 114.115.139.193:81=>127.0.0.1:80
|
||||
2019-04-02 17:14:09,165 [4] DEBUG NSmartServerClient [(null)] - 3: 114.115.139.193:20000=>127.0.0.1:3389
|
||||
2019-04-02 17:14:09,165 [4] DEBUG NSmartServerClient [(null)] - 4: 114.115.139.193:20001=>127.0.0.1:5900
|
||||
2019-04-02 17:14:09,165 [4] DEBUG NSmartServerClient [(null)] - **************************************
|
||||
2019-04-02 17:14:09,208 [4] DEBUG NSmartServerClient [(null)] - ClientID:21158 AppId:1 已连接
|
||||
2019-04-02 17:14:09,209 [4] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:14:09,247 [4] DEBUG NSmartServerClient [(null)] - ClientID:21158 AppId:2 已连接
|
||||
2019-04-02 17:14:09,247 [4] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:14:09,280 [4] DEBUG NSmartServerClient [(null)] - ClientID:21158 AppId:3 已连接
|
||||
2019-04-02 17:14:09,280 [4] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:14:09,315 [4] DEBUG NSmartServerClient [(null)] - ClientID:21158 AppId:4 已连接
|
||||
2019-04-02 17:14:09,316 [4] DEBUG NSmartServerClient [(null)] - Open server connection.
|
||||
2019-04-02 17:14:41,274 [1] INFO NSmartServerClient [(null)] - *** NSmart ClientRouter v0.2 ***
|
||||
2019-04-02 17:14:41,732 [1] DEBUG NSmartServerClient [(null)] - ServerConnnectionManager initialized.
|
||||
2019-04-02 17:14:43,133 [1] DEBUG NSmartServerClient [(null)] - Reading Config From Provider..
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<!-- This section contains the log4net configuration settings -->
|
||||
<log4net>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
|
||||
</appender>
|
||||
|
||||
<appender name="FileAppender" type="log4net.Appender.FileAppender">
|
||||
<file value="log-file.log" />
|
||||
<appendToFile value="true" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="log/" />
|
||||
<appendToFile value="true" />
|
||||
<rollingStyle value="Composite" />
|
||||
<staticLogFileName value="false" />
|
||||
<datePattern value="yyyyMMdd'.log'" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="1MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Setup the root category, add the appenders and set the default level -->
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="FileAppender" />
|
||||
<!--<appender-ref ref="RollingLogFileAppender" />-->
|
||||
</root>
|
||||
|
||||
</log4net>
|
||||
</configuration>
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Administrator\\.nuget\\packages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "netcoreapp2.2",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "2.2.0"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Administrator\\.nuget\\packages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "netcoreapp2.2",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "2.2.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"ProviderPort": "8001", //反向连接的端口
|
||||
"ProviderConfigPort": "8000", //配置服务的端口
|
||||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||||
"ProviderAddress": "114.115.139.193",
|
||||
|
||||
//反向代理客户端,可以配置多个
|
||||
"Clients": [
|
||||
{
|
||||
"IP": "127.0.0.1", //反向代理机器的ip
|
||||
"TargetServicePort": "1433", //反向代理服务的端口
|
||||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "80",
|
||||
"ConsumerPort": "80"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "3389"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "5900"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<!-- This section contains the log4net configuration settings -->
|
||||
<log4net>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
|
||||
</appender>
|
||||
|
||||
<appender name="FileAppender" type="log4net.Appender.FileAppender">
|
||||
<file value="log-file.log" />
|
||||
<appendToFile value="true" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="log/" />
|
||||
<appendToFile value="true" />
|
||||
<rollingStyle value="Composite" />
|
||||
<staticLogFileName value="false" />
|
||||
<datePattern value="yyyyMMdd'.log'" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="1MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Setup the root category, add the appenders and set the default level -->
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="FileAppender" />
|
||||
<!--<appender-ref ref="RollingLogFileAppender" />-->
|
||||
</root>
|
||||
|
||||
</log4net>
|
||||
</configuration>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Administrator\\.nuget\\packages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"runtimeOptions": {}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"ProviderPort": "8001", //反向连接的端口
|
||||
"ProviderConfigPort": "8000", //配置服务的端口
|
||||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||||
"ProviderAddress": "114.115.139.193",
|
||||
|
||||
//反向代理客户端,可以配置多个
|
||||
"Clients": [
|
||||
{
|
||||
"IP": "127.0.0.1", //反向代理机器的ip
|
||||
"TargetServicePort": "1433", //反向代理服务的端口
|
||||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "80",
|
||||
"ConsumerPort": "80"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "3389"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "5900"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<!-- This section contains the log4net configuration settings -->
|
||||
<log4net>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
|
||||
</appender>
|
||||
|
||||
<appender name="FileAppender" type="log4net.Appender.FileAppender">
|
||||
<file value="log-file.log" />
|
||||
<appendToFile value="true" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="log/" />
|
||||
<appendToFile value="true" />
|
||||
<rollingStyle value="Composite" />
|
||||
<staticLogFileName value="false" />
|
||||
<datePattern value="yyyyMMdd'.log'" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="1MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Setup the root category, add the appenders and set the default level -->
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="FileAppender" />
|
||||
<!--<appender-ref ref="RollingLogFileAppender" />-->
|
||||
</root>
|
||||
|
||||
</log4net>
|
||||
</configuration>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Administrator\\.nuget\\packages",
|
||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"runtimeOptions": {}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"ProviderPort": "8001", //反向连接的端口
|
||||
"ProviderConfigPort": "8000", //配置服务的端口
|
||||
//"ProviderAddress": "47.90.204.25", //配置服务的地址,可以是域名(eg.:www.tmoonlight.com)也可以是ip(eg.:211.54.5.4)
|
||||
"ProviderAddress": "114.115.139.193",
|
||||
|
||||
//反向代理客户端,可以配置多个
|
||||
"Clients": [
|
||||
{
|
||||
"IP": "127.0.0.1", //反向代理机器的ip
|
||||
"TargetServicePort": "1433", //反向代理服务的端口
|
||||
"ConsumerPort": "8004" //可选,消费端口,如果已被占用会顺延分配,如未指定,则从20000开始分配
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "80",
|
||||
"ConsumerPort": "80"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "3389"
|
||||
},
|
||||
{
|
||||
"IP": "127.0.0.1",
|
||||
"TargetServicePort": "5900"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<!-- This section contains the log4net configuration settings -->
|
||||
<log4net>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
|
||||
</appender>
|
||||
|
||||
<appender name="FileAppender" type="log4net.Appender.FileAppender">
|
||||
<file value="log-file.log" />
|
||||
<appendToFile value="true" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="log/" />
|
||||
<appendToFile value="true" />
|
||||
<rollingStyle value="Composite" />
|
||||
<staticLogFileName value="false" />
|
||||
<datePattern value="yyyyMMdd'.log'" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="1MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Setup the root category, add the appenders and set the default level -->
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="FileAppender" />
|
||||
<!--<appender-ref ref="RollingLogFileAppender" />-->
|
||||
</root>
|
||||
|
||||
</log4net>
|
||||
</configuration>
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<!-- This section contains the log4net configuration settings -->
|
||||
<log4net>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
|
||||
</appender>
|
||||
|
||||
<appender name="FileAppender" type="log4net.Appender.FileAppender">
|
||||
<file value="log-file.log" />
|
||||
<appendToFile value="true" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||
<file value="log/" />
|
||||
<appendToFile value="true" />
|
||||
<rollingStyle value="Composite" />
|
||||
<staticLogFileName value="false" />
|
||||
<datePattern value="yyyyMMdd'.log'" />
|
||||
<maxSizeRollBackups value="10" />
|
||||
<maximumFileSize value="1MB" />
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<!-- Setup the root category, add the appenders and set the default level -->
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="FileAppender" />
|
||||
<!--<appender-ref ref="RollingLogFileAppender" />-->
|
||||
</root>
|
||||
|
||||
</log4net>
|
||||
</configuration>
|
|
@ -0,0 +1,23 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
|
@ -0,0 +1 @@
|
|||
16e5b7b009e71cf486f729436fcfec7202cefba5
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
904042699c52c24378786c28ad4af6cc1177a519
|
|
@ -0,0 +1,26 @@
|
|||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\appsettings.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\log4net.config
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxyClient.deps.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxyClient.runtimeconfig.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxyClient.runtimeconfig.dev.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxyClient.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxyClient.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.ClientRouter.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.Data.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.Infrastructure.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.ClientRouter.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.Data.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Debug\netcoreapp2.2\NSmartProxy.Infrastructure.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.csprojAssemblyReference.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.csproj.CoreCompileInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.AssemblyInfoInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.AssemblyInfo.cs
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.csproj.CopyComplete
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Debug\netcoreapp2.2\NSmartProxyClient.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.csprojAssemblyReference.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.csproj.CoreCompileInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.AssemblyInfoInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.AssemblyInfo.cs
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\NSmartProxyClient.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("uProxy")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("uProxy")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("uProxy")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
|
@ -0,0 +1 @@
|
|||
6e36a8c2b1e22b85e95b34e619b72d11fb4a774c
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
444ab5bde0c086af2ebc92ddadd5f719c0dcc385
|
|
@ -0,0 +1,32 @@
|
|||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\appsettings.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\log4net.config
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csprojAssemblyReference.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csproj.CoreCompileInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.AssemblyInfoInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.AssemblyInfo.cs
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csproj.CopyComplete
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.deps.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.runtimeconfig.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.runtimeconfig.dev.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\uProxy.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\uProxy.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\Ultron.Proxy.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\Ultron.Proxy.pdb
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\appsettings.json
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\log4net.config
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.deps.json
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.runtimeconfig.json
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.runtimeconfig.dev.json
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.dll
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\uProxy.pdb
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\Ultron.Proxy.dll
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\bin\Debug\netcoreapp2.2\Ultron.Proxy.pdb
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csprojAssemblyReference.cache
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csproj.CoreCompileInputs.cache
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.AssemblyInfoInputs.cache
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.AssemblyInfo.cs
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\Ultron.Proxy.Client.csproj.CopyComplete
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\uProxy.dll
|
||||
D:\MyFiles\Desktop\Ultron.Proxy\Ultron.Proxy.Client\obj\Debug\netcoreapp2.2\uProxy.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"version": 1,
|
||||
"dgSpecHash": "mrO+wGnXMjEXWmeyrxhoQObysmBZ8/6/w55icc3FbwvKOZCwDYhaYGRin05SYkbdhc7Yix+an6D8g3Y6pI3zOw==",
|
||||
"success": true
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">D:\MyFiles\Desktop\NSmartProxy\Ultron.Proxy.Client\obj\project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.9.3</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props')" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgILLink_Tasks Condition=" '$(PkgILLink_Tasks)' == '' ">C:\Users\Administrator\.nuget\packages\illink.tasks\0.1.5-preview-1841731</PkgILLink_Tasks>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
|
||||
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
|
@ -0,0 +1,23 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("NSmartProxyClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
|
@ -0,0 +1 @@
|
|||
2e00fed3990c137a854d662fcd1352cf674ce3af
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
f48a7328d89d7d3a55c07293d0ddaf8a9b91a9a0
|
|
@ -0,0 +1,20 @@
|
|||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\appsettings.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\log4net.config
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxyClient.deps.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxyClient.runtimeconfig.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxyClient.runtimeconfig.dev.json
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxyClient.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxyClient.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.ClientRouter.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.Data.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.Infrastructure.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.ClientRouter.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.Data.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\bin\Release\netcoreapp2.2\NSmartProxy.Infrastructure.pdb
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.csprojAssemblyReference.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.csproj.CoreCompileInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.AssemblyInfoInputs.cache
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.AssemblyInfo.cs
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.csproj.CopyComplete
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.dll
|
||||
D:\MyFiles\Desktop\NSmartProxy\NSmartProxyClient\obj\Release\netcoreapp2.2\NSmartProxyClient.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue