IPBan

Bans certain IP addresses from posting comments or trackbacks.

This plugin works by merging two lists of IP addresses.  Both of these files have the same name (which is configurable as an option for the plugin), but one is located in the root of the blog and the other is in the LnBlog userdata folder.  The file format is one IP address per line.  When the plugin runs, it reads both of these files (if they exist) and merges their contents.  It then rejects attempts to post comments or trackbacks from any of the IP addresses in this list.

Note that the IP addresses are actually interpreted as Perl-Compatible Regular Expressions.  This means that you can use regular expression syntax to ban ranges of IP addresses with a single entry.  One example might be to ban a subnet with an entry like this

12.34.56.*

There are two ways to add IP addresses to the ban list.  One is through links in the footers of comments and trackbacks.  Clicking these links will add the exact IP address of the comment/trackback to the ban list.  The other method is by directly editing the files using the sidebar links.  This is the method required if you want to ban ranges of IP addresses.

Summary
IPBanBans certain IP addresses from posting comments or trackbacks.
Options
Ban list fileThis is the name of the file used to store the IP ban list.
Show per-blog ban linkCheck this to show both the “global ban” and “per-blog ban” links to administrators.
Ban and deleteWhen you check this, instead of just banning the IP, the ban link will also delete the reply.

Options

Ban list file

This is the name of the file used to store the IP ban list.  It will be relative to the root directory of your blog for the per-blog version or to the user data directory for the global version.

Show per-blog ban link

Check this to show both the “global ban” and “per-blog ban” links to administrators.

Ban and delete

When you check this, instead of just banning the IP, the ban link will also delete the reply.

Close