[wordpress插件] Caret Country Access Limit插入符号国家/地区访问限制

wordpress 插件 文章 2020-03-17 01:10 564 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

APNICなどの機関で公開されているIPアドレスの一覧を自動取得し、.htaccessによるアクセス制限を国単位で行います。

Automatically obtain a list of IP addresses published by institutions such as APNIC and restrict access by .htaccess on a country-by-country basis.

紹介ページ

Introduction page

http://www.ca-ret.co.jp/?p=1172

http://www.ca-ret.co.jp/?p=1172

アクセス元の国を制限することにより、総当たり攻撃などの防止策になります。

Restricting the country from which access is made can be used to prevent brute force attacks.



よろしければお試しください。

Please try if you like.

Arbitrary section

Arbitrary section

■免責事項

■ Disclaimer

本プラグインは無料でご利用いただけますが、ご自身の責任においてご利用ください。

The plug-in is free to use, but use at your own risk.



利用の結果生じた損害について、一切責任を負いません。

We are not responsible for any damages resulting from the use.

予めご了承ください。

Please note.

お問い合わせ、ご意見、ご要望、不具合等は、以下お問い合わせフォームよりご連絡ください。

For inquiries, opinions, requests, problems, etc., please contact us using the inquiry form below.



http://www.ca-ret.co.jp/contact

http://www.ca-ret.co.jp/contact

■関連事項

■ Related matters

    • ISO 3166-1 wikipedia
    • ISO 3166-1 wikipedia

    http://ja.wikipedia.org/wiki/ISO_3166-1

    http://en.wikipedia.org/wiki/ISO_3166-1

      • IPアドレスの管理について
      • About IP address management

      https://www.nic.ad.jp/ja/ip/admin.html

      https://www.nic.ad.jp/ja/ip/admin.html

      このプラグインは、国別のIPアドレスの取得の際に、インターネットレジストリを使用しています。

      This plugin uses the Internet registry to obtain country-specific IP addresses.



      This plugin uses the internet registery in order to validate IP addresses.

      This plugin uses the internet registery in order to validate IP addresses.

        • Regional Internet Registry(RIR) database
        • Regional Internet Registry (RIR) database

        ftp://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest
          

        ftp://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest
          

        ftp://ftp.ripe.net/pub/statsipencc/delegated-ripencc-extended-latest
          

        ftp://ftp.ripe.net/pub/statsipencc/delegated-ripencc-extended-latest
          

        ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-extended-latest
          

        ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-extended-latest
          

        ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-extended-latest
          

        ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-extended-latest
          

        ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-extended-latest

        ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-extended-latest

安装步骤

■注意事項

■ Notes

    • IPアドレス一覧の自動更新は、「wp-cron.php」を使用します。

    • Use "wp-cron.php" to automatically update the IP address list.

      「wp-cron.php」を使用しない場合は、cronに「php WordPressのroot/wp-content/plugins/CaretCountryAccessLimit/batch.php 1 > /devull 2>&1」を登録することで自動更新が

      If you do not use "wp-cron.php", register "php WordPress root / wp-content / plugins / CaretCountryAccessLimit / batch.php 1> / dev / null 2> & 1" in cron for automatic update.

      可能です。

      Is possible.

    • このプラグインは、WordPressルートディレクトリ、「wp-content」、「wp-content/plugins/CaretCountryAccessLimit」に対して書込み権限が必要となります。

    • This plugin needs write permission to the WordPress root directory, "wp-content" and "wp-content / plugins / CaretCountryAccessLimit".

    • このプラグインをFTPなどでアップロードした場合は、「wp-content/plugins/CaretCountryAccessLimit/batch.php」対して実行権限が必要となる場合があります。

    • If this plug-in is uploaded by FTP, etc., execution authority may be required for "wp-content / plugins / CaretCountryAccessLimit / batch.php".

    • 「上記の国からのアクセス時の処理」で「許可する」を選択した場合、「プライベートアドレス 」「ループバックアドレス」が自動的に追加されます。

    • If "Allow" is selected in "Processing when accessing from the above countries", "Private address" and "Loopback address" are automatically added.

    • 「アクセスを拒否(又は許可)する国の2文字の国コード」「上記の国以外でアクセスを拒否(又は許可)するIPアドレス」は、1件ごとに改行をしてください。

    • Please enter a new line for each "two-letter country code of the country where access is denied (or permitted)" and "IP address for which access is denied (or permitted) in countries other than those listed above."

    • 万が一アクセスできなくなった場合は、FTPクライアントなどでWordPressのルートディレクトリに移動し、htaccessのバックアップ「.htaccess_country_limit_org」を「.htaccess」にリネームするか「.htaccess」を削除してください。

    • If you can no longer access, please move to the root directory of WordPress with an FTP client etc. and rename the htaccess backup ".htaccess_country_limit_org" to ".htaccess" or delete ".htaccess".

    ■プラグインの有効化

    ■ Enable plugin

    管理ページ>プラグイン>CaretCountryAccessLimitを有効にしてください。

    Management page> Plugins> Enable CaretCountryAccessLimit.

    ■設定

    ■ Settings

    管理ページ>設定>CaretCountryAccessLimitの設定にて下記を設定してください。

    Set the following in the management page> settings> CaretCountryAccessLimit settings.

    1.アクセス制限機能のON/OFF

    1.ON / OFF of access restriction function

      • このプラグインによるアクセス制限を一時的に無効にしたい場合は「OFF」に設定します。

      • If you want to temporarily disable access restrictions by this plug-in, set it to "OFF".

      2.アクセス制限の対象となるメソッド

      2. Methods subject to access restrictions

        • 制限したいリクエストメソッド「POSTのみ」「GETのみ」「両方」の中から選択します。

        • Select the request method you want to restrict from "POST only", "GET only" or "Both".

        3.アクセスを拒否(又は許可)する国の2文字の国コード

        3. Two-letter country code of the country for which access is denied (or allowed)

          • 制限対象の2文字の国コード(ISO 3166-1 alpha-2)を入力します。

          • Enter the restricted two-letter country code (ISO 3166-1 alpha-2).

          • 参考URL:http://ja.wikipedia.org/wiki/ISO_3166-1
          • Reference URL: http://en.wikipedia.org/wiki/ISO_3166-1

          4.上記の国からのアクセス時の処理

          4. Processing when accessing from the above countries

            • 3で入力した国からアクセスを「拒否する」「許可する」から選択します。

            • Select from "Deny" or "Allow" access from the country entered in 3.

            • 「許可する」を選択した場合、「プライベートアドレス 」「ループバックアドレス」が自動的に追加されます。

            • If you select "Allow", "Private address" and "Loopback address" will be added automatically.

            5.上記の国以外でアクセスを拒否(又は許可)するIPアドレス

            5.IP address for which access is denied (or permitted) outside of the above countries

              • 3以外で別途制限したいIPアドレスを入力します。

              • Enter the IP address you want to restrict separately except for 3.

              • 例)127.0.0.1、127.0.0.1/32など
              • Example) 127.0.0.1, 127.0.0.1/32, etc.

              6.IPアドレス一覧の更新間隔

              6. IP address list update interval

                • IPアドレス一覧を自動更新する間隔を「3日」「7日」「14日」「30日」から選択します。

                • Select the interval for automatically updating the IP address list from "3 days", "7 days", "14 days", and "30 days".

下载地址
https://downloads.wordpress.org/plugin/caret-country-access-limit.1.0.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Call Now Button立即呼叫按钮
[wordpress插件] Admin Bar Color管理栏颜色
[wordpress插件] WordPress支付宝Alipay|财付通Tenpay|贝宝PayPal集成插件WordPress Alipay Alipay | Tenpay | Paypal PayPal Integration Plugin
[wordpress插件] Bootstrap Swipe Gallery引导程序轻扫图库
[wordpress插件] DPO for WoocommerceWoocommerce的DPO
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381