Project

General

Profile

Bug #8538

arpwatch missing ethercodes.dat

Added by ROB VANHOOREN over 1 year ago. Updated 4 months ago.

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

0%

Estimated time:
Affected Version:
2.4.4
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

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

History

#2 Updated by ROB VANHOOREN over 1 year 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.

#3 Updated by Jim Pingle 4 months 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

Also available in: Atom PDF