9 mmdbresolve - Read IPv4 and IPv6 addresses and print their IP geolocation information.
14 S<B<-f E<lt>dbfileE<gt>>>
15 S<[ B<-f E<lt>dbfileE<gt>> ]>
20 B<mmdbresolve> reads IPv4 and IPv6 addresses on stdin and prints their IP geolocation information
21 on stdout. Each input line must contain exactly one address. Output is in INI format, with a section
22 delimiter named after the query address followed by a set of "key: value" pairs. A comment
23 beginning with "# End" is appended to each section.
25 At startup an "[init]" section is printed that shows the status of each datbase and of mmdbresolve
34 Path to a MaxMind Database file. Multiple databases may be specified.
40 To resolve a single address:
42 echo 4.4.4.4 | mmdbresolve -f /usr/share/GeoIP/GeoLite2-City.mmdb
46 db.0.path: /usr/share/GeoIP/GeoLite2-City.mmdb
48 mmdbresolve.status: true
53 country.names.en: United States
54 location.latitude: 37.751000
55 location.longitude: -97.822000
60 wireshark(1), tshark(1)
64 B<mmdbresolve> is part of the B<Wireshark> distribution. The latest version
65 of B<Wireshark> can be found at L<https://www.wireshark.org>.
67 HTML versions of the Wireshark project man pages are available at:
68 L<https://www.wireshark.org/docs/man-pages>.
74 Gerald Combs <gerald[AT]wireshark.org>