Bug #8538
closedarpwatch missing ethercodes.dat
0%
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
Updated by ROB VANHOOREN almost 7 years ago
- File update_ethercodes_v2.sh update_ethercodes_v2.sh added
Updated by ROB VANHOOREN almost 7 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.
Updated by Jim Pingle over 5 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
Updated by Viktor Gurov about 5 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