Hi, Im trying to load a MIB in tshark for parsing some OIDs to text values. I've read that I need to modify the files: /.wireshark/preferences /.wireshark/smipaths ~/.wireshark/smimodules but the problem is that I cannot find those files in my machine. The wireshark was installed as root and I cannot find this ".wireshark" folder. Inside the wireshark directory (/usr/share/wireshark) I have only the following files: AUTHORS-SHORT COPYING dtds ipmap.html radius smi_modules wimaxasncp capinfos.html dfilters dumpcap.html manuf randpkt.html text2pcap.html wireshark-filter.html cfilters dftest.html editcap.html mergecap.html rawshark.html tpncp wireshark.html colorfilters diameter help pdml2html.xsl services tshark.html ws.css I'm using a Red Hat Enterprise Linux Server release 6.5. asked 13 Mar '17, 06:08 psh1982 |
2 Answers:
This answered 13 Mar '17, 12:14 Jaap ♦ |
To get the directories used by tshark you can run The values of For SNMP decoding you have to use the preference To specify the folder(s) where your MIB files are located use the file To specify the MIBs to load use the file answered 14 Mar '17, 00:11 Uli edited 14 Mar '17, 00:16 I don´t have the "tshark -G folders" enabled:
(15 Mar ‘17, 02:44) psh1982 Ah, I’m sorry. The The personal configuration should be in $HOME/.wireshark. If this directory is missing you have to create it (15 Mar ‘17, 04:58) Uli thanks for answering again :) I’ve created the files but I get a warning:
The directory and files created:
(15 Mar ‘17, 09:22) psh1982 Just saw you’re using an old, unsupported version (1.8.10). If I remember right option was (15 Mar ‘17, 12:32) Uli Just looked at the code from back then, I think it was “name_resolve_load_smi_modules” (15 Mar ‘17, 16:38) Jaap ♦ |
I appreciate your reply, but I cannot find the wireshark directory in /root:
[[email protected] ~]# pwd /root [[email protected] ~]# cd .wireshark bash: cd: .wireshark: No such file or directory [[email protected] ~]# find / -name .wireshark [[email protected] ~]#