HomeFreeBSD

ipfilter: Print protocol when listing NAT table mappings

Description

ipfilter: Print protocol when listing NAT table mappings

NAT table mappings list only the source and destination IP, the source
and destinaion port numbers, and their mappings. But the protocol is not
listed. Now that Facebook and Google use QUIC, seeing port 443 in in a
list of active NAT sessions could mean 443/tcp or 443/udp. This patch
adds the protocol to the listing to aid in determining whether HTTPS is
TCP or QUIC in a NAT mapping listing. This also helps differentiatinete
between other protocols such as ICMP, ESP, and AH in ipnat list of active
sessions.

(cherry picked from commit 9291d079d54b828b43d3714a5f19f0ffe92837b8)

Details

Provenance
cyAuthored on Feb 28 2022, 7:43 PM
Parents
rG6b3a14c24c48: unbound: Vendor import 1.15.0
Branches
Unknown
Tags
Unknown