ICMP Type
Synopsis
A network analysis processor that converts ICMP type codes to their corresponding human-readable type names using the IANA ICMP type registry, enhancing network packet analysis and security monitoring for ICMP traffic.
Schema
- icmp_type:
field: <ident>
target_field: <ident>
description: <text>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
Field | Required | Default | Description |
---|---|---|---|
field | Y | - | Field containing the ICMP type code to convert |
target_field | N | field | Field to store the ICMP type name |
description | N | - | Explanatory note |
if | N | - | Condition to run |
ignore_failure | N | false | Continue if conversion fails |
ignore_missing | N | false | Continue if source field doesn't exist |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
The processor maintains a comprehensive mapping of IANA ICMP type codes to their standard names, supporting all registered ICMP message types including Echo Request, Echo Reply, Destination Unreachable, and many specialized ICMP messages used in network diagnostics.
The processor supports multiple input formats including integers, floats, and string representations of ICMP type codes.
ICMP type code resolution follows the official IANA registry for Internet Control Message Protocol (ICMP) Parameters. Unknown or unassigned ICMP type codes are handled gracefully by returning "Unassigned" for debugging and analysis purposes.
The processor automatically handles type conversion from various numeric types and string representations. Floating-point values are truncated to integers during conversion, following ASIM normalization standards.
Ensure ICMP type code fields contain valid numeric values to avoid conversion errors.
Examples
Basic ICMP Type Conversion
Converting common ICMP type codes... |
|
produces readable ICMP type names: |
|
In-Place Conversion
Converting ICMP type code in place... |
|
replaces the original field: |
|
Multiple ICMP Fields
Processing multiple ICMP type fields... |
|
identifies all ICMP message types: |
|
Router Advertisement Messages
Converting router-related ICMP types... |
|
identifies router message types: |
|
Timestamp Messages
Converting timestamp-related ICMP types... |
|
identifies timestamp message types: |
|
Unknown Type Handling
Handling unknown ICMP type codes... |
|
provides fallback identification: |
|
Conditional ICMP Analysis
Converting ICMP types based on conditions... |
|
applies conversion when conditions match: |
|