Project

General

Profile

Actions

Bug #5455

closed

pfsense-utils/load_mac_manufacturer_table() is lame due to missing nmap-mac-prefixes

Added by Kill Bill over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
11/16/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

So there's code for this MAC -> manufacturer mapping in multiple places introduced by https://github.com/pfsense/pfsense/commit/57f2840e1faacf50b1a93d7954bb576eca77475b but it's no-op unless people install nmap package, because it relies on /usr/local/share/nmap/nmap-mac-prefixes

Then there's a fugly hack in nmap package which checks whether the file exists or not (for god knows what reason) and symlinks it if it doesn't - https://github.com/pfsense/pfsense-packages/blob/master/config/nmap/nmap.inc#L33

Can we ship the file with pfSense itself instead in a location that doesn't conflict with nmap package? The nmap file is outdated anyway, updated can be either scripted (e.g. http://giantdorks.org/alain/script-to-update-nmap-mac-prefixes-with-latest-entries-from-the-ieee-oui-database/) or the up-to-date sanitized data fetched from http://linuxnet.ca/ieee/oui/ (direct URL: http://linuxnet.ca/ieee/oui/nmap-mac-prefixes)

Forum thread: https://forum.pfsense.org/index.php?topic=102409.0

Actions #1

Updated by Kill Bill over 9 years ago

Well, this apparently has been lingering here for quite some time as #3882 - hopefully it could make it into 2.3...

Actions #2

Updated by Jim Pingle over 9 years ago

  • Status changed from New to Duplicate

Some more discussion/affirmation on #3882 may help there. I'll close this as a duplicate for now.

Actions

Also available in: Atom PDF