Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
wireshark
wireshark
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,298
    • Issues 1,298
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 69
    • Merge Requests 69
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Wireshark Foundation
  • wiresharkwireshark
  • Issues
  • #16982

Closed
Open
Opened Nov 02, 2020 by Chuck Craft@chuckcraftContributor

MaxMind: win32 default directories; UAT documentation update

Summary

  1. 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).

  1. 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. ...

  1. 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.

  1. If 11.7. User Table is kept (#2 above), move User 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.

  2. 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)

201102_MaxMind_paths

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).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wireshark/wireshark#16982