NetworkInspector.Protocols
0.7.0
See the version list below for details.
dotnet add package NetworkInspector.Protocols --version 0.7.0
NuGet\Install-Package NetworkInspector.Protocols -Version 0.7.0
<PackageReference Include="NetworkInspector.Protocols" Version="0.7.0" />
<PackageVersion Include="NetworkInspector.Protocols" Version="0.7.0" />
<PackageReference Include="NetworkInspector.Protocols" />
paket add NetworkInspector.Protocols --version 0.7.0
#r "nuget: NetworkInspector.Protocols, 0.7.0"
#:package NetworkInspector.Protocols@0.7.0
#addin nuget:?package=NetworkInspector.Protocols&version=0.7.0
#tool nuget:?package=NetworkInspector.Protocols&version=0.7.0
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 messages (JSON).
- 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 | Signal messages via SignalMessageRegistration |
Automotive (per-message protocols) |
| 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
Custom dissectors implement IProtocol with a public Parse method. First parse of each packet id is ordered and single-threaded; re-parse of an already-first-parsed id may run concurrently. Stateful protocols key EffectStore<T> with Packet.GetEffectLayerKey. RegisterStandardProtocols returns PDU Transport and Signal Message SettingsLoadWarning values for the caller. Follow 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. |
-
net10.0
- NetworkInspector.Core (>= 0.7.0)
- ZeroAlloc (>= 0.5.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.