Wireshark custom dictionary.xml... possible?

Get help on how to use PortableLinuxApps.org and help others

Wireshark custom dictionary.xml... possible?

Postby Growler » Fri Apr 20, 2012 5:34 pm

Is it possible to add a custom dictionary.xml to Wireshark Portable? I have some diameter dictionaries I need to add, and usually I just add them to the "diameter" directory, and reference in "dictionary.xml" (also in ./diameter). Is this possible here? Ive tried adding this information to the $HOME/.wireshark location, but still can't decode correctly.

Any ideas? Thanks!
Growler
 
Posts: 4
Joined: Fri Apr 20, 2012 5:24 pm

Re: Wireshark custom dictionary.xml... possible?

Postby probono » Tue May 01, 2012 8:38 am

Have you tried unpacking the AppImage with AppImageExtract (it extracts to $HOME/desktop), making your changes, running ./AppRun to test everything works, and finally repacking the with AppImageAssistant?
If you like PortableLinuxApps and the AppImage format, you might consider a donation --> Image
probono
Site Admin
 
Posts: 429
Joined: Sun Apr 25, 2010 9:41 am

Re: Wireshark custom dictionary.xml... possible?

Postby Growler » Fri May 04, 2012 12:46 am

Thanks, probono, that totally worked! I unpacked Wireshark, then added my own custom diameter definitions and dictionary.xml file to "usr/share/wireshark/diameter". After repackaging, it worked like a charm!

However, I hated the idea of having a portable wireshark with our propriatary diameter definitions embedded inside, so I "crippled" my version by removing the "usr/share/wireshark/diameter" directory altogether, and replacing it with a link to a static location on the host filesystem. This way, Wireshark is still portable, but can't decode diameter unless that directory also exists.

It's a half-assed solution, but I didn't want to create a portable wireshark that could "fall into the wrong hands...". :) I only mention it because I was surprised it worked, and maybe someone else would find it useful in some few edge-case scenarios...
Growler
 
Posts: 4
Joined: Fri Apr 20, 2012 5:24 pm

Re: Wireshark custom dictionary.xml... possible?

Postby probono » Sun Jan 13, 2013 10:43 am

Thanks for your update, yes, using symlinks inside the AppImage is the way to do this.
If you like PortableLinuxApps and the AppImage format, you might consider a donation --> Image
probono
Site Admin
 
Posts: 429
Joined: Sun Apr 25, 2010 9:41 am


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron