Description
Open proxy check plugin for comments and trackbacks. This plugin queries the Distributed Sender Blackhole List
if a comment or trackback is submitted.
This plugin can work in conjunction with other moderation plugins as it looks for the comment or trackback metadata.
Installation and Setup
In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:
<bean id="openproxy" class="org.blojsom.plugin.moderation.OpenProxyModerationPlugin" init-method="init" destroy-method="destroy">
<property name="eventBroadcaster">
<ref bean="eventBroadcaster"/>
</property>
</bean>
You may then add "open-proxy-moderation" to one of the flavor-based plugin chains.
Login to your blog and navigate to the Weblog Settings | Properties and make sure the Comment Moderation Enabled? or Trackback Moderation Enabled? setting is set to true.
The following properties can be set from Weblog Settings | Properties | Set Property
| Property |
Default Value |
Description |
| delete-openproxy-spam |
false |
Sets whether or not a response from an open proxy is automatically deleted |
Usage and URL Parameters
If the IP address of the requesting host is on the blacklist, the comment or trackback is marked for moderation if moderation is enabled, otherwise it is destroyed.
Context Attributes and Types
| Attribute name |
Type |
Value |
| BLOJSOM_OPEN_PROXY_PLUGIN_MESSAGE |
java.lang.String |
Message that the comment or trackback failed open proxy check. |