Node: port-name Module, Next: , Previous: scan Analyzer, Up: Analyzers and Events



The port-name Module

The port-name utility module provides one redefinable variable and one callable function:

port_names : table[port] of string
Maps TCP/UDP ports to names for the services associated with those ports. For example, 80/tcp maps to "http". These names are used by the conn analyzer when generating connection logs (See Generic Connection Analysis).
endpoint_id (h: addr, p: port): string
Returns a printable form of the given address/port connection endpoint. The format is either <address>/<service-name> or <address>/<port-number> depending on whether the port appears in port_names.