Project

General

Profile

Actions

Bug #8538

closed

arpwatch missing ethercodes.dat

Added by ROB VANHOOREN almost 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
arpwatch
Target version:
-
Start date:
05/25/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.4
Affected Plus Version:
Affected Architecture:

Description

attached script will pull down the current mac address data from IEEE and parse it for arpwatch (and nmap, fwiw)

if this isn't primarily netgate's issue, please pass along to the pkg maintainers w/thx.

enjoy,
R.

ref. arpwatch pkg v0.1.0

Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149 Warning: file_get_contents(/usr/local/arpwatch/ethercodes.dat): failed to open stream: No such file or directory in /usr/local/pkg/arpwatch.inc on line 149


Files

update_ethercodes.sh (944 Bytes) update_ethercodes.sh script to pull & parse IEEE data ROB VANHOOREN, 05/25/2018 09:33 AM
update_ethercodes_v2.sh (1.02 KB) update_ethercodes_v2.sh THIS ONE INSTEAD - revised to accommodate new nmap field layout ROB VANHOOREN, 05/25/2018 09:39 AM
Actions #2

Updated by ROB VANHOOREN almost 6 years ago

actually, this is syntax error -- single-quote vs double-quote issue on line 149 of the .inc

changing it to ARPWATCH_LOCAL_DIR."/ethercodes.dat" seems to fix things.

that said, upon reviewing the arpwatch code, it may be of benefit to pull the current OUI data from IEEE directly, rather than continuing to use the (outdated!) nth-hand source that is currently used.
fwiw, you'd want to munge the script appropriately for pfs/fBSD to use (e.g. sh/bash; curl/wget).

thanks,

R.

Actions #3

Updated by Jim Pingle over 4 years ago

  • Project changed from pfSense to pfSense Packages
  • Subject changed from missing ethercodes.dat to arpwatch missing ethercodes.dat
  • Category changed from Package System to arpwatch
Actions #4

Updated by Viktor Gurov about 4 years ago

  • Status changed from New to Closed

already in 0.2.0:

support for the new zero pad flags (-Z/-C). Fix the "update vendors" 
option to actually ethercodes.dat. Some other minor cleanups suggested
by Jim P and Renato Botelho.

https://github.com/pfsense/FreeBSD-ports/commit/99fd0d688df5a952d29f72eb90c152cce0acf07b#diff-45fff2efd3957d764a4fea3ff18e2135

Actions

Also available in: Atom PDF