IPv6
Nzyme records IPv6 traffic like IPv4 traffic. TCP and UDP sessions, DNS, TLS, SSH and every other protocol that Nzyme analyzes are recorded over both IP versions, and the Ethernet pages, the topology, search, monitors and detection work with IPv6 addresses the same way they do with IPv4 addresses.
IPv6 also brings protocols and behavior of its own. This page lists what is specific to IPv6 and where it is documented.
IPv6 in Nzyme
| Area | What is specific to IPv6 |
|---|---|
| NDP | Neighbor discovery takes the place of ARP. Solicitations, neighbor advertisements and router advertisements are recorded and listed under NDP on the Assets page. |
| ICMP | ICMPv6 is recorded with ICMP and shown on the same pages. Redirects, traceroutes, tunnels and unreachable messages are detected over both versions. |
| DHCP | DHCPv6 transactions are recorded with DHCP transactions and shown on the same page. |
| Spoofing | NDP spoofing is detected like ARP poisoning. Rogue IPv6 routers and rogue DHCPv6 servers are detected like rogue DHCP servers. |
| Recon | NDP sweeps and reverse DNS sweeps of IPv6 addresses are detected. OS fingerprinting is recognized over IPv6. |
| Internal Addresses | Unique local and link-local addresses are internal. Global prefixes of your network are configured or learned from trusted routers. |
| Assets | An asset has an IPv6 address if it claimed it by NDP. Hosts have many IPv6 addresses and change them often. |
| Asset Identity | TCP stacks are compared per IP version. The DHCPv6 fingerprint and the DHCPv6 client DUID are identity attributes. |
| IPv6 Transition Tunnels | Teredo, 6in4, 6to4 and ISATAP tunnels, which carry IPv6 inside IPv4, are listed on the Tunnels page. |
| Portal Integrity | A probe can run its checks over IPv6 as well. |
| Segmentation | Segments, external networks and excluded destinations take IPv6 networks. |
Addresses in the Web Interface
- Long addresses are shortened in tables. An address like
2001:db8:1200:34:1c2d:3eff:fe4f:5a6bis shown as2001:db8…fe4f:5a6b: the start, which is the network, and the end, which tells the hosts of a network apart. Hover over the address to see all of it. Details pages show the full address, and filters and links always use the full address. Addresses that were assigned by hand, like2001:db8:1200:34::1, are not shortened. - An asset has several IPv6 addresses. A host usually has a link-local address, one or more global addresses and temporary addresses that it replaces every day. Tables show the most recently seen address of an asset first and link-local addresses last. Lists show up to 100 addresses of an asset. The asset details page lists all of them. To follow a device over time, use its asset rather than one of its addresses.
- IPv4-mapped addresses are recorded as IPv4. Traffic that a tap sees with an address like
::ffff:192.168.0.10is recorded with192.168.0.10. - NAT64 addresses show the IPv4 address they stand for. A host on an IPv6-only network reaches IPv4
destinations through a NAT64 gateway, at an address of the prefix
64:ff9b::/96that carries the IPv4 address in its last 32 bits. Nzyme shows that IPv4 address next to the IPv6 address and takes network, country and city from it. Only the well-known prefix is recognized, not a prefix that a network picked for itself. - Link-local addresses are not unique.
fe80::1on one link andfe80::1on another are different devices. Where it matters, like in NDP spoofing detection, Nzyme keeps taps apart for link-local addresses.
Filtering by IP Version
| Filter | Where | Matches |
|---|---|---|
The IP Version field with 4 or 6 |
TCP/UDP sessions, DHCP transactions, ICMP pages | Records of that IP version. |
| The IS IPV4 and IS IPV6 operators | Every address field | Addresses of that IP version. |
| The IS LINK-LOCAL operator | Every address field | fe80::/10 and 169.254.0.0/16. |
The IP Versions card on the Sessions tab of the TCP/UDP page shows how many sessions and how much traffic the selected taps recorded over each IP version, and its rows add the filter.
Tap Configuration
Taps record IPv6 on every interface that has Ethernet monitoring enabled. Three protocol sections are required in
the nzyme-tap configuration file:
[protocols.ndp]
pipeline_size = 1024
[protocols.dhcpv6]
pipeline_size = 1024
[protocols.ipv6_transition]
pipeline_size = 1024
The networks of an interface can be IPv6 networks. The DNS servers of a network can be reached over IPv4 or IPv6, whatever the version of the network is:
networks = [
{ cidr = "2001:db8:1200:34::/64", dns_servers = [ "[2001:db8:1200:34::53]:53" ], injection_interface = "eth1" }
]
The [misc] section takes the internal networks of your site. See
Internal Addresses.
What Nzyme Does Not Do
- Traffic inside IPv6 transition tunnels is not unpacked.
- Multicast listener discovery is not recorded.
- The portal integrity probe configures itself from router advertisements and does not speak DHCPv6.
Working With IPv6 Data
- Check whether your network speaks IPv6. Open the IP Versions card. Most networks carry some IPv6 even when nobody planned for it, because operating systems have it turned on. Link-local traffic is normal. Sessions with global IPv6 addresses mean that something on the network hands out IPv6 configuration.
- Find out who hands it out. The Router Advertisements page under NDP lists every router that announces itself. On a network that is supposed to be IPv4-only this list should be empty, and a device on it deserves a look. See IPv6 Routers.
- Tell Nzyme which IPv6 addresses are yours. Without that, the hosts of your network count as external. See Internal Addresses.
- Look for IPv6 that leaves through IPv4. The IPv6 Transition tab of the Tunnels page lists hosts that tunnel IPv6 out of the network, which firewalls that only filter IPv4 do not see.
- Apply your IPv4 rules to IPv6. A host that is reachable over both versions is only as protected as the weaker of the two. Filter the sessions page for IS IPV6 and a sensitive destination port to see what is reachable.