The packet filter plugin for Openfire allows you to create rules that will block or reject certain packets to the server. You can get more information and download the plugin from the new Community Plugins space on Ignite Realtime.
Learn more about the plugin from Jive Software’s Nate Putnam.
Or download the Quicktime file (~70MB)