相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

mint 19 fail2ban wordpress

Fail2Ban
# apt-get install fail2ban
# vi /etc/fail2ban/jail.d/defaults-debian.conf
コメントアウトする
#[sshd]
#enabled = true
# vi /etc/fail2ban/filter.d/wordpress.conf
[Definition]
failregex = ^.*POST.*(wp-login\.php|xmlrpc\.php).*$
            ^.*"(GET|POST).*" (404|403) .*$
ignoreregex =
# vi /etc/fail2ban/jail.local
[DEFAULT]
ignoreip = 127.0.0.1/8 192.168.1.0/24 自サイトのip
bantime = 86400 #24時間
findtime = 600
maxretry = 5
mta = mail
destmail = ckenko25@gmail.com
sendename=Fail2BanAlerts
action = %(action_mwl)s

[wordpress]
enabled = true
port = http,https
filter = wordpress
action = iptables-multiport[name=wordpress, port="http,https", protocol=tcp]
logpath = /var/log/apache2/access.log
maxretry = 5
findtime = 60
# /etc/init.d/fail2ban restart
# fail2ban-client status
Fail2BanWordPress
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク

コメント

  1. angel investor より:

    I loved this submit! I simply read through your blog rather regularly, and youre constantly deciding on exciting things.

    Idiscussed this publish in my modest Facebook, and supporters loved
    it. Proceed the beszt work!

  2. I loved this post! I just study your website very commonly, and
    youire constantly deciding on exciting things. I discussed this distribute on my small
    small Facebook or myspace, and supporters loved it.
    Proceed the excellent job!