Check out these great references as well:
|Our custom profiles repository for Wireshark|
Teaching a Wireshark class with some cellular company employees, I was asked how to integrate the GeoIP IP Address resolution. I had not done this for years, so we stayed behind in class and worked our way through it.
Here is how it is done.
Start be getting the databse files. The place to go is here:
Here is what the page says:
While the students expected to be able to download the pay database at work, we went with the free databases (click on the download in the shaded area:
You will end up with three files:
Decompress them using whatever tool you like (we like 7zip found here:
Once you have completed the extraction process, open up the Wireshark GUI.
Click on Help> About Wireshark, then select the Folders tab:
Click on the link to 'Personal Configuration'.
Your file manager will open showing that directory:
Create a new directory/folder here called GeoIPdb as I have done:
Now from each of the extracted folders, copy, one-by-one, the three .mmdb files into this newly created directory. Don't copy the subfolders, just the files. The result will look like this in the newly created folder:
Now all we need to do is advise/configure Wireshark to use these databases.
Back in Wireshark, select Edit> Preferences and the following dialogue opens. Select the Name Resolution item in the list:
Then click on the MaxMind database directories Edit button:
Select the "+" to add the diectory you created, then click OK:
Finally click OK ont he Preferences dialogue to close that.
Now lets do a capture. Find an IP packet of interest, open up the IP protocol, and you will see the additional resolution information automatically:
This also works for IPv6:
It is easy to update this going forward. Simply download the updated database files, unpack them as you did in the process and copy them over the mmdb files we installed. That's it!