4

Under IPv4, I often use nmap to scan my entire IP range to identify newly-connected devices and update my documentation, track down and shut off things that don't belong on the network, etc. I even have tools that do this automatically, for instance my AV software scans a defined IP range and then installs AV software on anything it can see in that range.

That's going to be infeasible under IPv6, as I will go from scanning a few thousand IP addresses to many quntillions.

What will the alternative be? Will routers/switches be able to report what IPv6 addresses they've seen lately so I can port scan everything on the network? That's the only approach I can see, but I expect that SF will have more and better ideas.

3 Answers 3

5

Yes, brute-force scanning of IPv6 networks is futile, and that's a very good thing for network security. As the systems administrator, you still have a number of sources of information available to you to help keep tabs on your networks:

  • Routers on your networks, presumably running radvd, can log the clients that have requested IPv6 stateless autoconfig. You can turn off radvd's periodic gratuitous router advertisements if you want to force all autoconfig clients to send router solicitations.

  • Your DHCPv6 servers (if you have any) can log all clients that have requested/received IPv6 stateful config.

  • You can sniff ICMPv6 traffic, which includes neighbor solicitation multicasts (the equivalent of IPv4 ARP). Any device on your network attempting to "stealth" itself with a static configuration will still have to send such packets in order to communicate with other devices on the local link.

  • Of course, your own servers will have properly documented static IP addresses, so you always know how to reach them. It was a bad idea to give servers static DHCP leases in IPv4, and it's still a bad idea to do so in IPv6.

It's still early days for IPv6, but I expect that in the coming years, we'll start seeing better integration between DNS and radvd/DHCPv6, and hence better network inventory/reporting tools, as a matter of necessity.

1
  • Thank you - forcing router solicitations would be a good trick. I should be able to get enough information out of our routers via SMNP to do this properly. Apr 13, 2011 at 10:41
2

I'm not sure what exactly your needs are (size of network, etc.) but I suspect that issues like these would be evolving as IPV6 gains more traction.

In the meantime you could approach the problem in layers...

DHCP servers would keep track of what's requested an address.

Just about any device set to promiscuous monitoring will see some broadcast traffic for RARP/ARP requests and can look for unusual/new devices.

A machine on a monitoring port of a switch can look for traffic from new devices.

A proxy at the border can easily track what is web browsing or using other services.

A honeypot machine can monitor network traffic using something like SNORT in case you're worried about something or someone hopping on the network to probe your machines.

Your switches can monitor what is connected to each port and report what devices are sending traffic if you have switches that support this.

You might even be able to limit on the switch what IP's are allowed to be routed through them so you create vlans and limit what traffic to look for on a given subnet. Might be more work than it's worth, depending on your situation, but that would mean that even in an IPV6 network you wouldn't have to scan as many addresses as there are stars in the sky to find unusual traffic and anyone or anything hopping in will have to fit that segment of IP addresses in order to do anything or get routed properly.

0

I would suggest that you take a look at DHCPv6 - my understanding is that while IP addresses can be autoconfigured on IPv6, things like DNS servers still need to be configured with DHCP.

In your case, using a DHCP server will be able to report on what leases are currently active, which should give you a reasonable idea of what clients are available on the network.

4
  • I am not sure if DHCPv6 would be mandatory, but if it is like DHCPv4, it is not and therefore someone could configure a static address and avoid detection, so this method is useless for this case.
    – Sven
    Apr 12, 2011 at 14:12
  • 1
    If it's a policy concern, i.e. making sure that any client connected to a particular network conforms to a set standard configuration, you're into 802.1x territory along with special switches that can sniff machine configuration/installed software. It's a difficult problem to solve effectively, ipv4 or ipv6.
    – growse
    Apr 12, 2011 at 14:19
  • It's a good start - it would certainly pick up on quite a lot of stuff. Of course, anything nasty can configure itself with RADV, and just ignore the DHCPv6, but it will be useful for the "someone's got a new PC and forgot to add it into the AV management" type issue. Apr 12, 2011 at 14:25
  • yeah I don't want to go that far - at the moment, I get alerted when something unexpected appears on my network. Very often, it's a supplier or a customer plugging a laptop in to work on the system, and I don't want a default-deny on them, just an alert. Apr 12, 2011 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .