Macvendor database not updated with V5.0

Excellent update!

Small hint: macvendor.db is outdated in 5.0 release (at least it was for me after the update).
So I tried to build my own with macvendor.py from Github but download of the MAC list fails with HTTP 403. So I manually downloaded manuf.data and ran the Python script. The new macvendor.db is bigger than the one which was in my 5.0 directory, And my Nvidia Shield TV Pro 2019 is now properly described.

1 Like

Same here. Fixed it by adding 3 lines (sending a header):

# Download raw data from Wireshark's website
# We use the official URL recommended in the header of this file
print("Downloading...")
opener = urllib.request.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0')]
urllib.request.install_opener(opener)
urllib.request.urlretrieve("https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf", "manuf.data")
print("...done")
1 Like

Cool, that's the advantage of speaking Python :wink:

Maybe you could report an issue or RP on Github so the devs could fix it?

Done.

1 Like

Okay, just made a new version of the db, will upload it to the server. And a new PR in FTL repo to update the script for the User Agent header.

Edit: And the file is up.

4 Likes

Thanks @mibere for the User-Agent fix!

2 Likes

Thanks for reminding me to set up a cron job for this task :slight_smile:
I installed a a job that automatically updates the file every week (Monday at midnight). It should never become outdated again.

4 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.