[wordpress插件] CIDRAMCIDRAM

wordpress 插件 文章 2020-03-23 16:30 411 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

CIDRAM (Classless Inter-Domain Routing Access Manager) is a PHP script designed to protect websites by blocking requests originating from IP addresses regarded as being sources of undesirable traffic, including (but not limited to) traffic from non-human access endpoints

CIDRAM(无类域间路由访问管理器)是一种PHP脚本,旨在通过阻止源自IP地址的请求来保护网站,这些IP地址被视为不良流量的来源,包括(但不限于)来自非人类访问端点的流量

, cloud services, spambots, scrapers, etc. It does this by calculating the possible CIDRs of the IP addresses supplied from inbound requests and then attempting to match these possible CIDRs against its signature files (these signature files contain lists of CIDRs of IP addresses regarded

,云服务,垃圾邮件,抓取工具等。它通过计算从入站请求提供的IP地址的可能CIDR,然后尝试将这些可能的CIDR与其签名文件进行匹配(这些签名文件包含被视为IP地址的CIDR列表)

as being sources of undesirable traffic);

作为不良流量的来源);

If matches are found, the requests are blocked.

如果找到匹配项,则请求将被阻止。

Requirements

要求

    • PHP >= 7.2.0
    • PHP> = 7.2.0

    • PCRE
    • PCRE

    Updating

    更新

    Note: CIDRAM does not interact in any way with your database, and stores its own configuration settings, customisations, and related materials as flatfiles within its own directory.

    注意:CIDRAM不会以任何方式与您的数据库进行交互,而是将其自己的配置设置,自定义设置和相关资料作为平面文件存储在其自己的目录中。

    If you’ve not changed any of the default configuration settings and if you’re not using any customisations for this plugin, updating normally via the plugins dashboard, without need for any additional steps, should be sufficient and shouldn’t cause any problems.

    如果您未更改任何默认配置设置,并且未对该插件使用任何自定义设置,则无需任何其他步骤即可通过插件仪表板正常进行更新就足够了,并且不会造成任何问题。

    However, if you've modified the configuration settings for CIDRAM, or if you've made any customisations, I would recommend making backups of all of these prior to updating, due to that updating will likely overwrite these changes and customisations (after updating,

    但是,如果您修改了CIDRAM的配置设置,或者进行了任何自定义设置,我建议您在更新之前备份所有这些设置,因为更新可能会覆盖这些更改和自定义设置(更新后,

    you can then restore your customisations from your backups).

    然后您可以从备份中恢复自定义)。

    Alternatively, if you update via the CIDRAM front-end updates page, configuration settings and customisations should all be preserved.

    另外,如果您通过CIDRAM前端更新页面进行更新,则应保留所有配置设置和自定义。

安装步骤

Installing via the plugins dashboard.

通过插件仪表板安装。

    1. Before you begin, ensure that you're logged in as an administrator with the necessary permissions to install, update and edit plugins (after activating the plugin but before modifying the plugin configuration file, do not log out from this account).

    2. 开始之前,请确保您具有管理员权限,并具有安装,更新和编辑插件的必要权限(在激活插件之后但在修改插件配置文件之前,请勿从该帐户注销)。

    3. From the plugins dashboard, click the “Add New” button.

    4. 在插件仪表板中,单击“添加新”按钮。

      From the page that appears, type “CIDRAM” into the “Search Plugins” text field, and press enter.

      在出现的页面上,在“搜索插件”文本字段中键入“ CIDRAM”,然后按Enter。

      A button to install CIDRAM should appear, and CIDRAM should automatically install when you click on that button.

    5. 应该会显示一个用于安装CIDRAM的按钮,当您单击该按钮时,CIDRAM应该会自动安装。

    6. Before activating the plugin, it is advisable to understand the various configuration directives available to the plugin, what they do, and how to change them.

    7. 在激活插件之前,建议先了解插件可用的各种配置指令,它们的作用以及如何更改它们。

      Go to https://cidram.github.io/, scroll the page until you reach the “Documentation” subheading;

      转到 https://cidram.github.io/ ,滚动页面,直到到达“ Documentation”子标题;

      Choose your language, and read through “Section 5: Configuration Options”;

      选择您的语言,并通读“第5节:配置选项”;

      The information presented relates to the configuration directives available to the plugin.

    8. 显示的信息与插件可用的配置指令有关。

    9. Please read through the “Frequently Asked Questions” before activating!
    10. 在激活之前,请通读“常见问题”!

    11. From the plugins dashboard, click the “Activate” button located directly below where you see “CIDRAM”.
    12. 从插件仪表板中,单击位于“ CIDRAM”正下方的“激活”按钮。

    13. After you’ve activated the plugin, you’ll be able to modify the CIDRAM configuration file directly from your plugins dashboard.

    14. 激活插件后,您将可以直接从插件仪表板修改CIDRAM配置文件。

      Unfortunately, due to filetype restrictions, the CIDRAM configuration file can’t be modified from the plugins dashboard while CIDRAM is deactivated/inactive, and won’t appear in the files list.

      不幸的是,由于文件类型的限制,CIDRAM的配置文件在停用/停用时无法通过插件仪表板进行修改,并且不会出现在文件列表中。

      To modify the CIDRAM configuration (after CIDRAM has been activated), click the “Edit” button located directly below where you see “CIDRAM”, and in the list that should appear to the right, look for “cidram/vault/config.ini

      要修改CIDRAM配置(激活CIDRAM后),请单击位于“ CIDRAM”正下方的“编辑”按钮,然后在应显示在右侧的列表中,查找“ cidram / vault / config.ini”

      ”.

      ”。

      Click on that, and the CIDRAM configuration directives should appear.

      单击该,然后将出现CIDRAM配置指令。

      Edit as per your needs, and click “Update File”.

    15. 根据需要进行编辑,然后单击“更新文件”。

    Installing via manual upload.

    通过手动上传进行安装。

      1. Download the package onto your local machine, and extract its content to a directory convenient for editing.
      2. 将软件包下载到本地计算机上,并将其内容提取到便于编辑的目录中。

      3. Before activating the plugin, it is advisable to understand the various configuration directives available to the plugin, what they do, and how to change them.

      4. 在激活插件之前,建议先了解插件可用的各种配置指令,它们的作用以及如何更改它们。

        Go to https://cidram.github.io/, scroll the page until you reach the “Documentation” subheading;

        转到 https://cidram.github.io/ ,滚动页面,直到到达“ Documentation”子标题;

        Choose your language, and read through “Section 5: Configuration Options”;

        选择您的语言,并通读“第5节:配置选项”;

        The information presented relates to the configuration directives available to the plugin.

      5. 显示的信息与插件可用的配置指令有关。

      6. Please read through the “Frequently Asked Questions” before activating!
      7. 在激活之前,请通读“常见问题”!

      8. Modify the file /vault/config.ini as per your needs (this file contains the configuration directives available to the plugin), and make any other necessary changes to the package (eg, installing custom

      9. 根据需要修改文件 /vault/config.ini (此文件包含可用于插件的配置指令),并对软件包进行任何其他必要的更改(例如,安装自定义

        signature files, if you need them).

      10. 签名文件(如果需要)。

      11. Upload the plugin files to the /wp-content/plugins/cidram directory of your WordPress installation.
      12. 将插件文件上传到WordPress安装目录的 / wp-content / plugins / cidram 目录中。

      13. From the plugins dashboard, click the “Activate” button located directly below where you see “CIDRAM”.
      14. 从插件仪表板中,单击位于“ CIDRAM”正下方的“激活”按钮。

下载地址
https://downloads.wordpress.org/plugin/cidram.2.3.0.zip
-EOF-

AI助手支持GPT4.0