跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

isIPsafe

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

isIPsafe

作者:sasivardhini
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

isIPsafe connects your site to isIPsafe, a free IP reputation and abuse reporting service.

  • Login protection. When someone tries to sign in, the visitor’s IP address is checked. Addresses that isIPsafe lists as malicious are refused, on wp-login.php, XML-RPC and application passwords alike.
  • Comment protection (optional). Comments from malicious addresses can be marked as spam or rejected.
  • Automatic reporting. Addresses that keep failing to sign in (by default 5 times in 10 minutes) are reported to isIPsafe, so other sites can block them too.
  • Fast and safe. Lookups are cached, so isIPsafe is not called on every request. If isIPsafe is slow or unreachable, visitors are let through: the plugin never locks people out because of a network problem.
  • Activity counters on the settings page and in a dashboard widget.

An address counts as malicious when it has been reported at least once, is not on the isIPsafe allowlist (public DNS resolvers and similar), and its abuse confidence score is at or above your threshold (75 by default).

Nothing is sent to isIPsafe until you save an API key. Keys are free.

External services

This plugin connects to the isIPsafe API at https://isipsafe.com/api/v1, operated by WaveCentric. It is needed to look up the reputation of IP addresses and to report abusive ones. No request is made until an administrator saves an API key on Settings → isIPsafe (or defines ISIPSAFE_API_KEY in wp-config.php).

What is sent, and when:

  • Reputation lookups (GET /check): the IP address of a visitor who submits the login form, signs in over XML-RPC or with an application password, or (if enabled) posts a comment. Results are cached for an hour by default, so an address is looked up at most once per cache period.
  • Abuse reports (POST /report, only when “Report brute-force attacks” is enabled): the IP address that failed to sign in repeatedly, the categories brute-force and web-app-attack, and a short comment such as “WordPress login brute-force: 5 failed attempts in 10 minutes”. Reports and their comments are public on isipsafe.com. Visitor IP addresses are transmitted solely for reputation lookup and attack reporting. Usernames, passwords, site URLs, and all other personal data are never collected or sent.
  • Connection test (GET /check for 1.1.1.1): only when an administrator clicks “Test connection”.

Every request carries your API key in an Authorization header and the plugin version in the User-Agent header.

  • Terms of service: https://isipsafe.com/terms
  • Privacy policy: https://isipsafe.com/privacy

安装

  1. Install the plugin from Plugins → Add New, or upload the isipsafe folder to /wp-content/plugins/.
  2. Activate it.
  3. Get a free API key at isipsafe.com.
  4. Go to Settings → isIPsafe, paste the key, save, and click “Test connection”.

To keep the key out of the database, add this to wp-config.php instead:

define( 'ISIPSAFE_API_KEY', 'sl_your_key_here' );

If your site is behind Cloudflare or another reverse proxy, choose the matching option under “Visitor IP address”, otherwise every visitor appears to come from the proxy.

常见问题

Is isIPsafe free?

Yes. A free key allows 10,000 lookups a day, which is far more than most sites need because lookups are cached and only made when someone signs in or comments.

What happens if isIPsafe is down?

Sign-ins and comments are allowed. After an error the plugin also stops asking isIPsafe for a minute so that visitors are not slowed down.

I locked myself out. What now?

Add your own IP address to “Never block” on the settings page. If you cannot reach the dashboard, rename the wp-content/plugins/isipsafe folder over FTP or SSH to deactivate the plugin, sign in, and rename it back.

Which visitor IP address is used?

By default REMOTE_ADDR, which cannot be forged. The CF-Connecting-IP and X-Forwarded-For headers are only used when you select them, because a visitor can send fake values when the site is not really behind a proxy. With X-Forwarded-For the plugin reads the chain of hops from the right and skips private addresses and the “Trusted proxies” you list, so a visitor cannot pick their own address by adding hops on the left. Private and reserved addresses are never looked up or reported.

Can developers change the behaviour?

Two filters are available: isipsafe_visitor_ip to change the detected address, and isipsafe_should_block to override the decision for a login ($context is login) or a comment ($context is comment).

What is removed when I delete the plugin?

All settings, counters and cached lookups.

评价

此插件暂无评价。

贡献者及开发者

「isIPsafe」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • sasivardhini

帮助将「isIPsafe」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

0.1.0

  • First release: login and comment protection, automatic brute-force reporting, cached lookups, dashboard widget.

额外信息

  • 版本 0.1.0
  • 最后更新:1 周前
  • 活跃安装数量 不到10
  • WordPress 版本 6.0 或更高版本
  • 已测试的最高版本为 7.1.5
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    Brute Forcefirewallloginsecurityspam
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • sasivardhini

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗