Skip to content

Commit 9353b2b

Browse files
committed
DNSveil (SDC Plus) - In Progress...
1 parent b612480 commit 9353b2b

341 files changed

Lines changed: 118453 additions & 1196992 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
<Platforms>AnyCPU;x86;x64</Platforms>
9-
</PropertyGroup>
10-
11-
<ItemGroup>
12-
<ProjectReference Include="..\MsmhToolsClass\MsmhToolsClass.csproj" />
13-
</ItemGroup>
14-
15-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net6.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<Platforms>AnyCPU;x86;x64</Platforms>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<ProjectReference Include="..\MsmhToolsClass\MsmhToolsClass.csproj" />
13+
</ItemGroup>
14+
15+
</Project>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<_LastSelectedProfileId>D:\PPWin\SecureDNSClient\ConsoleAppTest\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
5-
</PropertyGroup>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<_LastSelectedProfileId>D:\PPWin\SecureDNSClient\ConsoleAppTest\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
5+
</PropertyGroup>
66
</Project>

ConsoleAppTest/Program.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ static async Task Main(string[] args)
130130
//"udp://8.8.8.8:53",
131131
//"udp://1.1.1.1:53",
132132
//"udp://9.9.9.9:53",
133-
//"https://every1dns.com/dns-query",
134-
"https://dns.cloudflare.com/dns-query",
133+
"https://every1dns.com/dns-query",
134+
//"https://dns.cloudflare.com/dns-query",
135135
//"https://dns.google/dns-query",
136136
//"https://45.90.29.204:443/dns-query",
137137
//"udp://208.67.222.222:5353",
@@ -141,13 +141,13 @@ static async Task Main(string[] args)
141141
AgnosticSettings settings1 = new()
142142
{
143143
Working_Mode = AgnosticSettings.WorkingMode.DnsAndProxy,
144-
ListenerPort = 443,
144+
ListenerPort = 8080,
145145
DnsTimeoutSec = 10,
146146
ProxyTimeoutSec = 0,
147147
MaxRequests = 1000000,
148148
KillOnCpuUsage = 40,
149149
DNSs = dnsServers1,
150-
BootstrapIpAddress = IPAddress.Any, // IPAddress.Parse("8.8.8.8")
150+
BootstrapIpAddress = IPAddress.Parse("8.8.8.8"), // IPAddress.Parse("8.8.8.8")
151151
BootstrapPort = 53,
152152
AllowInsecure = false,
153153
BlockPort80 = false,
@@ -194,14 +194,14 @@ static async Task Main(string[] args)
194194
},
195195
}
196196
};
197-
server1.EnableRules(rules);
197+
//server1.EnableRules(rules);
198198

199199
AgnosticSettingsSSL settingsSSL = new(true)
200200
{
201201
ChangeSni = true,
202202
DefaultSni = "speedtest.net"
203203
};
204-
//await server1.EnableSSLAsync(settingsSSL);
204+
await server1.EnableSSLAsync(settingsSSL);
205205

206206
await server1.StartAsync(settings1);
207207

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
https://go.microsoft.com/fwlink/?LinkID=208121.
4-
-->
5-
<Project>
6-
<PropertyGroup>
7-
<Configuration>Release</Configuration>
8-
<Platform>Any CPU</Platform>
9-
<PublishDir>bin\Release\net6.0\publish\win-x86\</PublishDir>
10-
<PublishProtocol>FileSystem</PublishProtocol>
11-
<_TargetId>Folder</_TargetId>
12-
<TargetFramework>net6.0</TargetFramework>
13-
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
14-
<SelfContained>false</SelfContained>
15-
<PublishSingleFile>true</PublishSingleFile>
16-
<PublishReadyToRun>true</PublishReadyToRun>
17-
</PropertyGroup>
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Release\net6.0\publish\win-x86\</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net6.0</TargetFramework>
13+
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
14+
<SelfContained>false</SelfContained>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<PublishReadyToRun>true</PublishReadyToRun>
17+
</PropertyGroup>
1818
</Project>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
https://go.microsoft.com/fwlink/?LinkID=208121.
4-
-->
5-
<Project>
6-
<PropertyGroup>
7-
<History>True|2024-03-22T20:30:05.2407815Z;</History>
8-
<LastFailureDetails />
9-
</PropertyGroup>
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<History>True|2024-03-22T20:30:05.2407815Z;</History>
8+
<LastFailureDetails />
9+
</PropertyGroup>
1010
</Project>

0 commit comments

Comments
 (0)