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
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.
|IPBan||Bans certain IP addresses from posting comments or trackbacks.|
|Ban list file||This is the name of the file used to store the IP ban list.|
|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.|