Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ obj/
#*.idea
.idea/.idea.Drift/.idea/watcherTasks.xml
.idea/.idea.Drift/.idea/encodings.xml
.idea/.idea.Drift.Build/.idea/encodings.xml
*.DotSettings
*.received.*
artifacts/
Expand All @@ -14,4 +15,5 @@ TestResults/
build.binlog
build.binlog-warnings-only.log
publish.binlog
publish.binlog-warnings-only.log
publish.binlog-warnings-only.log
containerlab/*/
3 changes: 1 addition & 2 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"TestE2E",
"TestLocal",
"TestSelf",
"TestUnit",
"Version"
"TestUnit"
]
},
"Verbosity": {
Expand Down
7 changes: 7 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Google.Protobuf" Version="3.33.0" />
<PackageVersion Include="Grpc.AspNetCore" Version="2.71.0" />
<PackageVersion Include="Grpc.Core" Version="2.46.6" />
<PackageVersion Include="Grpc.Net.Client" Version="2.71.0" />
<PackageVersion Include="Grpc.Tools" Version="2.76.0" />
<PackageVersion Include="Humanizer" Version="2.14.1" />
<PackageVersion Include="IPNetwork2" Version="3.4.832" />
<PackageVersion Include="JsonSchema.Net" Version="7.4.0" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="5.1.1" />
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="4.14.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.10" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.10" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.10" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.10" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="9.0.10" />
Expand All @@ -31,6 +37,7 @@
<PackageVersion Include="StyleCop.Analyzers" Version="1.1.118" />
<PackageVersion Include="System.CommandLine" Version="2.0.0-rc.2.25502.107" />
<PackageVersion Include="System.Text.Json" Version="9.0.6" />
<PackageVersion Include="System.Threading.Channels" Version="9.0.10" />
<PackageVersion Include="System.Threading.RateLimiting" Version="9.0.10" />
<PackageVersion Include="Testcontainers" Version="4.8.1" />
<PackageVersion Include="TngTech.ArchUnitNET.NUnit" Version="0.12.3" />
Expand Down
75 changes: 75 additions & 0 deletions Drift.sln
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,30 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cli.Settings.SchemaGenerato
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common.Schemas", "src\Common.Schemas\Common.Schemas.csproj", "{BAC0F9AF-CAE2-43FB-AF47-B9AC7B62544B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Grpc", "src\Networking.PeerStreaming.Grpc\Networking.PeerStreaming.Grpc.csproj", "{8ED3FF22-90D2-4F08-A079-55FE7127D1C7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.Clustering", "src\Networking.Clustering\Networking.Clustering.csproj", "{091D3DCE-F062-4D40-A8F6-5B6F123ED713}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Core", "src\Networking.PeerStreaming.Core\Networking.PeerStreaming.Core.csproj", "{80445644-7342-4C6D-88E5-BF27126FE9A2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Agent.Hosting", "src\Agent.Hosting\Agent.Hosting.csproj", "{655124DB-312F-4135-B104-20518CAFDA82}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Server", "src\Networking.PeerStreaming.Server\Networking.PeerStreaming.Server.csproj", "{A26B4527-6EBF-4A20-8E75-945CCD59016B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Client", "src\Networking.PeerStreaming.Client\Networking.PeerStreaming.Client.csproj", "{E69772D3-8A07-414F-8F9A-30370D81A972}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Networking", "Networking", "{75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Core.Abstractions", "src\Networking.PeerStreaming.Core.Abstractions\Networking.PeerStreaming.Core.Abstractions.csproj", "{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking.PeerStreaming.Tests", "src\Networking.PeerStreaming.Tests\Networking.PeerStreaming.Tests.csproj", "{9DFDD692-22F8-4F9A-8808-94E318863D23}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Agent.PeerProtocol", "src\Agent.PeerProtocol\Agent.PeerProtocol.csproj", "{7C72C2AE-2888-47A0-AAA4-61CC66B9F941}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeatureFlagsDELETE", "src\FeatureFlagsDELETE\FeatureFlagsDELETE.csproj", "{31593F51-0B46-4A2B-AA60-88A10D3195F3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeatureFlagsDELETE.Tests", "src\FeatureFlagsDELETE.Tests\FeatureFlagsDELETE.Tests.csproj", "{24EA16E4-A73B-42F5-B315-FB9AE1B3F9AF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -177,11 +201,62 @@ Global
{BAC0F9AF-CAE2-43FB-AF47-B9AC7B62544B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BAC0F9AF-CAE2-43FB-AF47-B9AC7B62544B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BAC0F9AF-CAE2-43FB-AF47-B9AC7B62544B}.Release|Any CPU.Build.0 = Release|Any CPU
{8ED3FF22-90D2-4F08-A079-55FE7127D1C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8ED3FF22-90D2-4F08-A079-55FE7127D1C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8ED3FF22-90D2-4F08-A079-55FE7127D1C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8ED3FF22-90D2-4F08-A079-55FE7127D1C7}.Release|Any CPU.Build.0 = Release|Any CPU
{091D3DCE-F062-4D40-A8F6-5B6F123ED713}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{091D3DCE-F062-4D40-A8F6-5B6F123ED713}.Debug|Any CPU.Build.0 = Debug|Any CPU
{091D3DCE-F062-4D40-A8F6-5B6F123ED713}.Release|Any CPU.ActiveCfg = Release|Any CPU
{091D3DCE-F062-4D40-A8F6-5B6F123ED713}.Release|Any CPU.Build.0 = Release|Any CPU
{80445644-7342-4C6D-88E5-BF27126FE9A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80445644-7342-4C6D-88E5-BF27126FE9A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80445644-7342-4C6D-88E5-BF27126FE9A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80445644-7342-4C6D-88E5-BF27126FE9A2}.Release|Any CPU.Build.0 = Release|Any CPU
{655124DB-312F-4135-B104-20518CAFDA82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{655124DB-312F-4135-B104-20518CAFDA82}.Debug|Any CPU.Build.0 = Debug|Any CPU
{655124DB-312F-4135-B104-20518CAFDA82}.Release|Any CPU.ActiveCfg = Release|Any CPU
{655124DB-312F-4135-B104-20518CAFDA82}.Release|Any CPU.Build.0 = Release|Any CPU
{A26B4527-6EBF-4A20-8E75-945CCD59016B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A26B4527-6EBF-4A20-8E75-945CCD59016B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A26B4527-6EBF-4A20-8E75-945CCD59016B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A26B4527-6EBF-4A20-8E75-945CCD59016B}.Release|Any CPU.Build.0 = Release|Any CPU
{E69772D3-8A07-414F-8F9A-30370D81A972}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E69772D3-8A07-414F-8F9A-30370D81A972}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E69772D3-8A07-414F-8F9A-30370D81A972}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E69772D3-8A07-414F-8F9A-30370D81A972}.Release|Any CPU.Build.0 = Release|Any CPU
{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403}.Release|Any CPU.Build.0 = Release|Any CPU
{9DFDD692-22F8-4F9A-8808-94E318863D23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DFDD692-22F8-4F9A-8808-94E318863D23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DFDD692-22F8-4F9A-8808-94E318863D23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DFDD692-22F8-4F9A-8808-94E318863D23}.Release|Any CPU.Build.0 = Release|Any CPU
{7C72C2AE-2888-47A0-AAA4-61CC66B9F941}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C72C2AE-2888-47A0-AAA4-61CC66B9F941}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C72C2AE-2888-47A0-AAA4-61CC66B9F941}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C72C2AE-2888-47A0-AAA4-61CC66B9F941}.Release|Any CPU.Build.0 = Release|Any CPU
{31593F51-0B46-4A2B-AA60-88A10D3195F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31593F51-0B46-4A2B-AA60-88A10D3195F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31593F51-0B46-4A2B-AA60-88A10D3195F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{31593F51-0B46-4A2B-AA60-88A10D3195F3}.Release|Any CPU.Build.0 = Release|Any CPU
{24EA16E4-A73B-42F5-B315-FB9AE1B3F9AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{24EA16E4-A73B-42F5-B315-FB9AE1B3F9AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{24EA16E4-A73B-42F5-B315-FB9AE1B3F9AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{24EA16E4-A73B-42F5-B315-FB9AE1B3F9AF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{8523E9E0-F412-41B7-B361-ADE639FFAF24} = {C0698EF0-61C8-403E-8E93-1F1D34C5B910}
{FEA2FBBE-785F-4187-8242-FD348F9E78AF} = {C0698EF0-61C8-403E-8E93-1F1D34C5B910}
{272166CF-E425-45F8-984F-FAFD3CE953C9} = {C0698EF0-61C8-403E-8E93-1F1D34C5B910}
{DD70FBC7-8367-45B3-8D3D-757F1CDF6531} = {C0698EF0-61C8-403E-8E93-1F1D34C5B910}
{091D3DCE-F062-4D40-A8F6-5B6F123ED713} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{8ED3FF22-90D2-4F08-A079-55FE7127D1C7} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{80445644-7342-4C6D-88E5-BF27126FE9A2} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{A26B4527-6EBF-4A20-8E75-945CCD59016B} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{E69772D3-8A07-414F-8F9A-30370D81A972} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{ED4522C5-C32B-4FDB-B1BA-82D40D1EC403} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
{9DFDD692-22F8-4F9A-8808-94E318863D23} = {75F8AA01-64B6-4EF6-A1B2-CC6E8745A2CC}
EndGlobalSection
EndGlobal
4 changes: 4 additions & 0 deletions README_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
One or more addresses (MAC, IPv4, IPv6, and/or hostname) that together serve as a unique identifier for a network
device.

- **Agent**
A running instance of Drift in agent mode that reports network state to other Drift peers.
Agents help ensure full network visibility by uncovering state that's only observable when scanning from specific subnets.

## Concepts

### Device ID
Expand Down
1 change: 0 additions & 1 deletion build/NukeBuild.Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ partial class NukeBuild {
}
);


private static int LatestLast( ImageReference r ) {
return r.Tag is LatestVersion ? 1 : 0;
}
Expand Down
3 changes: 3 additions & 0 deletions containerlab/blog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
install

create topology
23 changes: 23 additions & 0 deletions containerlab/topo1.clab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: drift-topo1
topology:
nodes:
switch|bp1:
kind: bridge
network-mode: container:bp1
bp1:
kind: linux
image: alpine:latest
pc1:
kind: linux
image: hojmark/drift
cmd: scan -i
pc2:
kind: linux
image: agent start --adoptable
pc3:
kind: linux
image: agent start --adoptable
links:
- endpoints: [ "pc1:eth1", "switch|bp1:eth1" ]
- endpoints: [ "pc2:eth1", "switch|bp1:eth2" ]
- endpoints: [ "pc3:eth1", "switch|bp1:eth3" ]
14 changes: 14 additions & 0 deletions src/Agent.Hosting/Agent.Hosting.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Agent.PeerProtocol\Agent.PeerProtocol.csproj" />
<ProjectReference Include="..\Networking.Clustering\Networking.Clustering.csproj" />
<ProjectReference Include="..\Networking.PeerStreaming.Server\Networking.PeerStreaming.Server.csproj" />
<ProjectReference Include="..\Networking.PeerStreaming.Client\Networking.PeerStreaming.Client.csproj" />
</ItemGroup>

</Project>
68 changes: 68 additions & 0 deletions src/Agent.Hosting/AgentHost.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
using Drift.Agent.PeerProtocol.Subnets;
using Drift.Networking.PeerStreaming.Client;
using Drift.Networking.PeerStreaming.Core;
using Drift.Networking.PeerStreaming.Server;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace Drift.Agent.Hosting;

public static class AgentHost {
public static Task Run(
ushort port,
ILogger logger,
Action<IServiceCollection>? configureServices,
CancellationToken cancellationToken
) {
var app = Build( port, logger, configureServices );
return app.RunAsync( cancellationToken );
}

private static WebApplication Build(
ushort port,
ILogger logger,
Action<IServiceCollection>? configureServices = null
) {
var builder = WebApplication.CreateSlimBuilder();

builder.Logging.ClearProviders();
builder.Services.AddSingleton( logger );
builder.Services.AddPeerStreamingServer( options => {
options.EnableDetailedErrors = true;
} );
builder.Services.AddPeerStreamingClient();
var peerStreamingOptions = new PeerStreamingOptions { MessageAssembly = typeof(SubnetsRequest).Assembly };
builder.Services.AddPeerStreamingCore( peerStreamingOptions );
configureServices?.Invoke( builder.Services );

builder.WebHost.ConfigureKestrel( options => {
options.ListenLocalhost( port, o => {
o.Protocols = HttpProtocols.Http2; // Allow HTTP/2 over plain HTTP i.e., non-HTTPS
} );
} );

var app = builder.Build();

peerStreamingOptions.StoppingToken = app.Lifetime.ApplicationStopping;

app.MapPeerStreamingServerEndpoints();
app.MapGet( "/", () => "Nothing to see here" );

app.Lifetime.ApplicationStarted.Register( () => {
logger.LogInformation( "Listening for incoming connections on port {Port}", port );
logger.LogInformation( "Agent started" );
} );
app.Lifetime.ApplicationStopping.Register( () => {
logger.LogInformation( "Agent stopping..." );
} );
app.Lifetime.ApplicationStopped.Register( () => {
logger.LogInformation( "Agent stopped" );
} );

return app;
}
}
16 changes: 16 additions & 0 deletions src/Agent.PeerProtocol/Adopt/AdoptRequestHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using Drift.Agent.PeerProtocol.Subnets;
using Drift.Networking.PeerStreaming.Core.Abstractions;
using Microsoft.Extensions.Logging;

namespace Drift.Agent.PeerProtocol.Adopt;

internal sealed class AdoptRequestHandler : IPeerMessageHandler<AdoptRequestPayload> {
private readonly ILogger _logger; // Example: inject what you need

public string MessageType => "adopt-request";

public async Task<IPeerMessage?> HandleAsync( AdoptRequestPayload message, CancellationToken cancellationToken = default ) {
_logger.LogInformation( $"[AdoptRequest] Controller: {message.ControllerId}" );
return null;
}
}
17 changes: 17 additions & 0 deletions src/Agent.PeerProtocol/Adopt/AdoptRequestPayload.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Drift.Networking.PeerStreaming.Core.Abstractions;

namespace Drift.Agent.PeerProtocol.Adopt;

internal sealed class AdoptRequestPayload : IPeerMessage {
public string MessageType => "adopt-request";

public string Jwt {
get;
set;
}

public string ControllerId {
get;
set;
}
}
18 changes: 18 additions & 0 deletions src/Agent.PeerProtocol/Adopt/AdoptResponsePayload.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace Drift.Agent.PeerProtocol.Adopt;

internal sealed class AdoptResponsePayload {
public string Status {
get;
set;
} // "accepted" or "rejected"

public string AgentId {
get;
set;
} // Only with "accepted"

public string Reason {
get;
set;
} // Only with "rejected"
}
7 changes: 7 additions & 0 deletions src/Agent.PeerProtocol/Adopt/IAdoptRequestHandler.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Drift.Agent.PeerProtocol.Adopt;

internal interface IAdoptRequestHandler {
public string MessageType => "adopt-request";

Task HandleAsync( AdoptRequestPayload message, CancellationToken cancellationToken = default );
}
14 changes: 14 additions & 0 deletions src/Agent.PeerProtocol/Agent.PeerProtocol.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Networking.PeerStreaming.Core.Abstractions\Networking.PeerStreaming.Core.Abstractions.csproj" />
<ProjectReference Include="..\Scanning\Scanning.csproj" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions src/Agent.PeerProtocol/PeerProtocolAssemblyMarker.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Drift.Agent.PeerProtocol;

// Justification: marker class
#pragma warning disable S2094
public class PeerProtocolAssemblyMarker {
}
#pragma warning restore S2094
13 changes: 13 additions & 0 deletions src/Agent.PeerProtocol/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using Drift.Agent.PeerProtocol.Subnets;
using Drift.Networking.PeerStreaming.Core.Abstractions;
using Microsoft.Extensions.DependencyInjection;

namespace Drift.Agent.PeerProtocol;

public static class ServiceCollectionExtensions {
public static void AddPeerProtocol( this IServiceCollection services ) {
//TODO need both?
services.AddScoped<IPeerMessageHandler<SubnetsRequest>, SubnetsRequestHandler>();
services.AddScoped<IPeerMessageHandler, SubnetsRequestHandler>();
}
}
7 changes: 7 additions & 0 deletions src/Agent.PeerProtocol/Subnets/SubnetsRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Drift.Networking.PeerStreaming.Core.Abstractions;

namespace Drift.Agent.PeerProtocol.Subnets;

public sealed class SubnetsRequest : IPeerMessage {
public string MessageType => "subnetsrequest";
}
Loading
Loading