Vestigium.Helpers.Network.RawSocket 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Vestigium.Helpers.Network.RawSocket --version 1.0.0
                    
NuGet\Install-Package Vestigium.Helpers.Network.RawSocket -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vestigium.Helpers.Network.RawSocket" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vestigium.Helpers.Network.RawSocket" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Vestigium.Helpers.Network.RawSocket" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vestigium.Helpers.Network.RawSocket --version 1.0.0
                    
#r "nuget: Vestigium.Helpers.Network.RawSocket, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vestigium.Helpers.Network.RawSocket@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vestigium.Helpers.Network.RawSocket&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Vestigium.Helpers.Network.RawSocket&version=1.0.0
                    
Install as a Cake Tool

Vestigium.Helpers.Network.RawSocket

Elevated raw-socket probes. SYN scan first.

This package needs admin on Windows and CAP_NET_RAW on Linux. A missing right is a typed denial. It does not spawn a process.

Vestigium.Helpers.Network stays connect-scan only. A host that does not need SYN does not reference this package.

Identity

Field Value
Package Vestigium.Helpers.Network.RawSocket 1.0.0
TFM net10.0
Privilege Admin / CAP_NET_RAW
License MIT

Consume

<PackageReference Include="Vestigium.Helpers.Network.RawSocket" Version="1.0.0" />
using Vestigium.Helpers.Network;
using Vestigium.Helpers.Network.RawSocket;

var access = RawSocketRights.Check();
var scan = await RawSocketHelper.SynScan("192.0.2.1", PortSet.FromList([22, 80, 443])).RunAsync();

Surface

Call Returns Notes
RawSocketRights.Check RawSocketAccess Administrator on Windows. CapEff bit 13 on Linux.
RawSocketHelper.SynScan RawSocketJob<SynScanResult> Hosts you supply. PortSet. Cap 64 hosts, 1024 ports. Half-open. IPv4.

SynScan sends a SYN. A SYN-ACK is open. A RST is closed. A timeout is filtered. An open port gets a RST so the handshake is not completed.

Missing rights, or a raw TCP socket the OS will not open, is Denied. On Windows a raw TCP send is often blocked even for an administrator. This package does not fall back to a connect scan.

Rules that do not move

  • No raw sockets in Vestigium.Helpers.Network. Connect scan stays there.
  • No CIDR expansion. Hosts are supplied.
  • No packet capture in this PR.
  • No TLS. No HTTP.
  • No process spawn.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1 112 10/31/2026
1.1.0 101 10/31/2026
1.0.0 106 10/31/2026