CSF wp-login attempts block

In order to block IP’s that flood wp-login.php attempts by using CSF regex.custom.pm
if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:GET) \/wp-login\.php.*" /)) {
return ("Failed WordPress GET",$1,"WPLOGINGET","3","80,443,21,25,22,23","1");
}
if (($globlogs{CUSTOM2_LOG}{$lgfile}) and ($line =~ /(\S+).*] "\w*(?:POST) \/wp-login\.php.*" /)) {
return ("Failed WordPress POST",$1,"WPLOGINPOST","3","80,443,21,25,22,23","1");
}

Gangguan Server singapore sg08

Hari Rabu malam 14/1/2018 ada gangguan pada server singapore sg08 (103.253.27.131), saat ini kami sedang upayakan perbaikan.
Beberapa akun-akun pelanggan di server tersebut berhasil kami pindahkan sementara ke server kami yg lain. Namun ada beberapa akun yang tidak berhasil diselamatkan dan terpaksa kami restore datanya dari backup yang tersedia. Kami akan update infonya di portal jika server tersebut sudah normal kembali.

Kami mohon maaf atas ketidaknyamanan ini.

Posted in News. Comments Off on Gangguan Server singapore sg08

Upgrading CentOS 6 to CentOS 7

PRE TASKS

There are some tasks you can do to prevent from unwanted results. Like:

  • Disable selinux
  • Remove unnecessary repositories
  • Take a recent backup!

CENTOS UPGRADE REPOSITORY

Create a new centos repository:

cat > /etc/yum.repos.d/centos-upgrade.repo <<EOF
[centos-upgrade]
name=centos-upgrade
baseurl=https://buildlogs.centos.org/centos/6/upg/x86_64/
enabled=1
gpgcheck=0
EOF

INSTALL PRE-UPGRADE TOOL

First install the openscap version from dev.centos.org:

# yum -y install https://buildlogs.centos.org/centos/6/upg/x86_64/Packages/openscap-1.0.8-1.0.1.el6.centos.x86_64.rpm

then install the redhat upgrade tool:

# yum -y install redhat-upgrade-tool preupgrade-assistant-*
Read the rest of this entry »