This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I want to update hosts files for Wireshark in Mac OS , I mean I want to see the Nodes Name instead of IP address, I know how to do that in Microsoft Windows, I need to do the same for Mac OS. Appreciate if anyone reply and answer my question. Thanks

asked 09 Dec '16, 14:21

Ramin's gravatar image

Ramin
11114
accept rate: 0%


Wireshark reads two hosts files - the one that's part of Wireshark's global data and your personal one.

In macOS, the Wireshark global hosts file is in the Contents/Resources/share/wireshark subdirectory of the app bundle, which is probably in /Applications/Wireshark.app, in which case the global hosts file would be /Applications/Wireshark.app/Contents/Resources/share/wireshark/hosts.

In UN*Xes such as macOS, your personal hosts file would, in newer versions of Wireshark, be in ~/.config/wireshark/hosts. In older versions, and in newer versions if that directory doesn't exist but ~/.wireshark exists, it would be in ~/.wireshark/hosts.

permanent link

answered 10 Dec '16, 16:17

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×53
×22

question asked: 09 Dec '16, 14:21

question was seen: 1,432 times

last updated: 10 Dec '16, 16:17

p​o​w​e​r​e​d by O​S​Q​A