NetworkInspector.Protocols
0.3.0
dotnet add package NetworkInspector.Protocols --version 0.3.0
NuGet\Install-Package NetworkInspector.Protocols -Version 0.3.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="NetworkInspector.Protocols" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetworkInspector.Protocols" Version="0.3.0" />
<PackageReference Include="NetworkInspector.Protocols" />
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 NetworkInspector.Protocols --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NetworkInspector.Protocols, 0.3.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 NetworkInspector.Protocols@0.3.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=NetworkInspector.Protocols&version=0.3.0
#tool nuget:?package=NetworkInspector.Protocols&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NetworkInspector.Protocols
Built-in dissector package for NetworkInspector parser stacks.
What This Is
NetworkInspector.Protocols provides the ready-to-use protocol dissectors that plug into NetworkInspector.Core.
Use this package when you want standard protocol parsing without writing custom dissectors first.
Why It Stands Out
- Broad built-in coverage across enterprise and automotive traffic.
- Works out of the box with one registration call.
- Keeps protocol parsing consistent across code and CLI workflows.
Install
dotnet add package NetworkInspector.Core
dotnet add package NetworkInspector.Protocols
Quick Start
using NetworkInspector.Core;
using NetworkInspector.Protocols;
StackBuilder builder = new(new SettingsManager(), new FrameInterfaceRegistry());
ProtocolRegistration.RegisterStandardProtocols(builder);
Stack stack = builder.Build();
Protocol Coverage
Current built-ins include:
- Link and framing: Ethernet, VLAN (802.1Q), Linux SLL/SLL2, LLC/SNAP, Frame.
- Network: IPv4, IPv6, ARP, ICMPv4, ICMPv6.
- Transport: TCP, UDP.
- Application: DNS, DHCPv4, DHCPv6, HTTP/1.x, HTTP/2, TLS, DTLS, WebSocket, JSON, Text.
- Automotive and bus: CAN (classic/FD/XL), FlexRay, LIN, SOME/IP, PDU Transport, Signal PDU.
- Fallback: Data.
Full Built-In Protocol List
| # | Protocol | Layer |
|---|---|---|
| 1 | ArpProtocol | Network |
| 2 | CanProtocol | Link (Automotive) |
| 3 | DataProtocol | Fallback |
| 4 | DhcpProtocol | Application |
| 5 | Dhcpv6Protocol | Application |
| 6 | DnsProtocol | Application |
| 7 | DtlsProtocol | Application |
| 8 | EthernetProtocol | Link |
| 9 | FlexRayProtocol | Link (Automotive) |
| 10 | FrameProtocol | Meta |
| 11 | Http2Protocol | Application |
| 12 | HttpProtocol | Application |
| 13 | IcmpProtocol | Network |
| 14 | Icmpv6Protocol | Network |
| 15 | IPv4Protocol | Network |
| 16 | IPv6Protocol | Network |
| 17 | JsonProtocol | Application |
| 18 | LinProtocol | Link (Automotive) |
| 19 | LlcProtocol | Link |
| 20 | PduTransportProtocol | Automotive |
| 21 | SignalPduProtocol | Automotive |
| 22 | Sll2Protocol | Link |
| 23 | SllProtocol | Link |
| 24 | SomeIpProtocol | Application |
| 25 | TcpProtocol | Transport |
| 26 | TextProtocol | Application |
| 27 | TlsProtocol | Application |
| 28 | UdpProtocol | Transport |
| 29 | VlanProtocol | Link |
| 30 | WebSocketProtocol | Application |
Adding Custom Protocols
For custom dissectors, use the implementation guide:
Limits And Thread-Safety Notes
- Keep protocol registration deterministic during stack construction.
- Validate assumptions at trust boundaries when parsing third-party captures.
- Use versioned release processes when introducing custom protocol behavior in shared systems.
Links
License
| Product | Versions 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.
-
net10.0
- NetworkInspector.Core (>= 0.3.0)
- ZeroAlloc (>= 0.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.