« June 2012 | Main | August 2012 »

3 posts from July 2012


Customizing Wireshark's UI Font on OS X

Wireshark is great but it doesn't display well running under XQuartz on OS X—especially on my 13" Macbook Pro's 1280x800 display. Take this as an example:


It's not bad but the fonts in a default wireshark installation don't look too great. They look jagged and the font used is too thin and too large, particularly in the menus. 

Finding information on customization has been pretty difficult but this is what I have come up with as a workaround. To change the UI font that wireshark uses, edit the pre-gtkrc and gtkrc files included in the Wireshark installation. Open up these files in your favorite text editor, which are located inside /Applications/Wireshark.app/Contents/Resources/themes/Clearlooks-Quicksilver-OSX/gtk-2.0. Search for the entry in each configuration file named "gtk-font-name" and set it to whatever font you want. OpenType fonts don't seem to display as well as TrueType fonts do, so for this example, I've changed this value to "Candara 11" from the theme default, which was set to "Lucida Grande 12". Restart wireshark and if you used the same fonts as I did, you get something like the following:

This is a little bit better but the text still does not look as if font-smoothing is set. This can be fixed as well though by making a change to the fonts.conf file located in /Applications/Wireshark.app/Contents/Resources/etc/fonts and adding the following text:

<match target="font">
  <edit mode="assign" name="autohint">

Restart wireshark (I also restart xquartz after each change but you really shouldn't need to do that) and you get something that looks even better:


Keep in mind that this is just a workaround. Updated installations of wireshark will most definitely over-write these changes.


Microsoft Revoking 28 Intermediate Certificates (!)

Posted on the Internet Storm Center blog on July 10, 2012: Microsoft revoking trust in Microsoft certificates - SA 2728973

Links to the Microsoft Advisories are also provided in the ISC post.


Apache Tomcat 7.0.29 Released

The Apache Tomcat team released version 7.0.29 today. In addition to providing fixes to some errors introduced in tomcat 7.0.28, this release also adds the following new features/enhancements:

  • Add support for a default error page
  • The servlet version defined in web.xml no longer determines if Tomcat scans for annotations when the web application starts. This is now solely controlled by metadata-complete element.
  • On web application start, JARs are now always scanned for ServletContainerInitializers regardless of the setting of metadata-complete

The Apache Tomcat 7.0.29 Changelog lists all fixes, enhancements, and new functionality in this release and you can download a copy from a mirror near you.