Skip to content

An ipv6tracker tool to track SLAAC addresses back to MAC addresses, and possibly radius logins.

Notifications You must be signed in to change notification settings

jsavoie/ipv6tracker

Folders and files

NameName
Last commit message
Last commit date
Nov 22, 2018
Nov 24, 2018
Nov 22, 2018
Nov 22, 2018
Nov 22, 2018
Dec 7, 2023
Nov 25, 2018
Nov 29, 2018
Nov 24, 2018

Repository files navigation

Project Description: One difficulty that people have running IPv6 networks with SLAAC, is tracking abuse from IPv6 privacy addresses. These addresses are temporary, and not encoded with a MAC address.

This project is a collection of simple scripts to collect data IPv6 neighbors tables from various layer3 routers in your network. A description of files follows.

I wrote this in perl in order to annoy everyone, but if there is strong interest I can rewrite in python. Benchmarks/speed seems pretty good, with addresses stored as binaries rather than strings.

Files that will run through cron

  • poll-ipv6-neighbors.pl : The core script that is run perodically and will scrap the IPv6 neighbors from either a fortigate or a cisco device.
  • expire-ipv6-entries.pl : Age out older entries from the database, the default is set to 30 days.
  • populate-ipv6-usernames.pl : Will pull in radius logs from Windows radius servers and populate the username field.

Web interface

  • ipv6tracker.html : Uses jquery (not included), and allows you to query the database for a given IPv6 or MAC address
  • ipv6tracker-ajax.php : Backend pulls records from the database. I would recommend you create a unique account with only "select" rights this database.

Various files other files

  • create-database.sql : Creates the table we will use. I would recommend creating a unique database and user for this.
  • crontabs.txt : The cron jobs I personally run for this. You can change the frequency if you wish.
  • example-production-hosts.txt : A file passed as an argument to poll-ipv6-neighbors.pl. I call this file prod-ssh-hosts.txt in my example crontabs. The format for this file is host,username,password,type. The two supported types are cisco/fortigate. If you wish to support others please provide pull requests.

About

An ipv6tracker tool to track SLAAC addresses back to MAC addresses, and possibly radius logins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published