MaxMind: win32 default directories; UAT documentation update
Summary
- Reconcile the win32 default paths set in maxmind_db.c:
#ifdef _WIN32
// XXX Properly expand "%ProgramData%\GeoIP".
{ "C:\\ProgramData\\GeoIP" },
{ "C:\\GeoIP" },
#else
{ "/usr/share/GeoIP" },
{ "/var/lib/GeoIP" },
#endif
with the User's Guide 11.10. MaxMind Database Paths:
The locations for your data files are up to you, but /usr/share/GeoIP and /var/lib/GeoIP are common on Linux and C:\ProgramData\GeoIP, C:\Program Files\Wireshark\GeoIP might be good choices on Windows.
Which one wins? Modifying code would affect existing installs using C:\GeoIP (where not set explicitly).
- deprecate (small change) or update (different new issue) 11.7. User Table in User's Guide:
The User Table editor is used for managing various tables in Wireshark. ...
-
maxmind_db_paths
is not stored with a profile. maxmind_db.c
maxmind_db_paths_uat = uat_new("MaxMind Database Paths",
sizeof(maxmind_db_path_t),
"maxmind_db_paths",
FALSE, // Global, not per-profile
Update 11.6. Configuration Profiles.
Delete "MaxMind Database Paths" entry or move it down below and create a list of non-profile UAT files.
-
If 11.7. User Table is kept (
#2
above), moveUser Accessible Tables
section from 11.6. Configuration Profiles to 11.7. User Table and link them.
Create eye chart of all UATs split out by profile specific vs personal config directory. -
Should UAT files be written in a neutral format? (mixed C: and forward slash - See screenshot)
# This file is automatically generated, DO NOT MODIFY.
"C:/Users/admin/AppData/Roaming/Wireshark/GeoIP"
Steps to reproduce
(How one can reproduce the issue - this is very important)
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Sample capture file
(If possible attach a sample capture file showing this issue)
Relevant logs and/or screenshots
(Paste any relevant logs)
Build information
3.4.0 (v3.4.0-0-g9733f173ea5e)
Compiled (64-bit) with Qt 5.15.1, with libpcap, with GLib 2.52.3, with zlib
1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4, with GnuTLS 3.6.3
and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB
resolver, with nghttp2 1.39.2, with brotli, with LZ4, with Zstandard, with
Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic updates using
WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler).
Running on 64-bit Windows 10 (1903), build 18362, with Intel(R) Core(TM)
i5-4300U CPU @ 1.90GHz (with SSE4.2), with 12191 MB of physical memory, with
locale English_United States.utf8, with light display mode, without HiDPI, with
Npcap version 1.00, based on libpcap version 1.9.1, with GnuTLS 3.6.3, with
Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported (21
loaded).
Built using Microsoft Visual Studio 2019 (VC++ 14.27, build 29112).