The packet filter plugin allows you to create rules that will block or reject certain packets to the server. If you are upgrading, this version *WILL DELETE ALL YOUR OLD RULES!* I wasn't happy with some of the design of the 1.0 version so I fixed it. The old format of the rules was unworkable with the new and I couldn't find a good way to convert from the old format, sorry.
By default the packet filter plugin will auto-create rules on Shared Group changes ensuring groups can always communicate with each other.
To disable this behaviour set the following Openfire System Property to false:
Copy packetFilter.jar into the plugins directory of your Openfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new packetFilter.jar file over the existing file.
Currently only the following databases are supported :
The Packet Filter plugin can be configured under "Server"-"Server Settings"-"Packet Filter Rules".
Actions come in 3 types Pass, Drop and Reject.
This allows you to quickly disable a rule without deleting it. Disabled rules will still appear on the main rule page but will have a strike through like so :
This specifies what type of packets you want to disable your choices are :
This specifies the source base JID. Currently resource specific rules aren't supported. The options for specifying a source are :
This specifies the destination base JID. The options for selecting the destination JID are the same as above.
This prints a message to the info.log when the rule is executed. This is recommend only for trouble shooting as it can fill up the logs pretty quickly in production environments. Some example output :
Rejecting packet from firstname.lastname@example.org/Adium to email@example.com/Psi
The first rule that matches an incoming packet will be executed. For example consider the following rules :
Here we don't want any of the Simpson's talking to each other so every message from members of the Simpson group to each other are dropped. However, Marge and Homer should be able to talk to each other. To accomplish this rules allowing Homer to send message packets to Marge and vice versa are placed before the drop rule. New rules are automatically appended to the rule list. Rules can be moved at anytime using the arrows in the UI. When a rule is moved the changes take effect immediately.