Bagi anda yang menggunakan server dengan control panel cpanel/whm mungkin sudah sangat sering mengenal firewall bawaan cpanel ini. cPHulk Brute Force Protection, beberapa sysadmin lebih suka mengaktifkan firewall bawaan cpanel satu ini. Umumnya jika firewall ini di aktifkan, ketika ada kesalahan login dan IP anda diblok maka akan muncul error sebagai berikut :


Brute Force Protection

This account is currently locked out because a brute force attempt was detected. Please wait 10 minutes and try again. Attempting to login again will only increase this delay. If you frequently experience this problem, we recommend having your username changed to something less generic.</blockquote>

Kadang kala error diatas tidak muncul, namun anda akan selalu di anggap salah memasukan password baik cpanel maupun ssh, padahal password yang sudah benar. Inspirasi saya menulis tutorial kali ini karena saya mengalmi kasus yang kedua, error tidak muncul tapi selalu salah saat input password.
Untuk mengatasinya kita bisa coba langkah-langkah berikut :

Sekelumit Kisah

cPHulk Brute Force Protection menyimpan semua informasi IP yang di blok kedalam database cphulkd. Ada dua table penting yang perlu kita ketahui pada database tersebut, yaitu logins dan brutes. Table Logins menyimpan informasi IP yang di blok, sementara table brutes menyimpan informasi authentication berlebihan dan dianggap sebagai bruce force attack.

Ngintip Isi database


root@server [/]# mysql -uroot

mysql> connect cphulkd
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Connection id:    32688
Current database: cphulkd

mysql> select IP, BRUTETIME from brutes order by BRUTETIME;
+-----------------+---------------------+
| IP              | BRUTETIME           |
+-----------------+---------------------+
| 182.18.180.137  | 2012-04-22 01:17:29 |
| 66.49.47.162    | 2012-05-01 10:18:21 |
| 114.199.84.194  | 2012-05-02 09:13:46 |
| 109.123.194.72  | 2012-05-02 09:13:47 |
| 180.244.245.100 | 2012-05-02 09:14:02 |
+-----------------+---------------------+
5 rows in set (0.00 sec)

mysql> select IP, LOGINTIME FROM logins order by LOGINTIME;
+-----------------+---------------------+
| IP              | LOGINTIME           |
+-----------------+---------------------+
| 109.123.194.72  | 2012-05-02 09:10:49 |
| 114.199.84.194  | 2012-05-02 09:10:51 |
| 109.123.194.72  | 2012-05-02 09:10:54 |
| 109.123.194.72  | 2012-05-02 09:10:59 |
| 114.199.84.194  | 2012-05-02 09:10:59 |
| 109.123.194.72  | 2012-05-02 09:11:04 |
| 109.123.194.72  | 2012-05-02 09:11:09 |
| 109.123.194.72  | 2012-05-02 09:11:13 |
| 109.123.194.72  | 2012-05-02 09:11:18 |
| 109.123.194.72  | 2012-05-02 09:11:24 |
| 109.123.194.72  | 2012-05-02 09:11:29 |
| 109.123.194.72  | 2012-05-02 09:11:52 |
| 114.199.84.194  | 2012-05-02 09:11:53 |
| 109.123.194.72  | 2012-05-02 09:11:58 |
| 114.199.84.194  | 2012-05-02 09:11:58 |
| 109.123.194.72  | 2012-05-02 09:12:03 |
| 114.199.84.194  | 2012-05-02 09:12:03 |
| 109.123.194.72  | 2012-05-02 09:12:08 |
| 109.123.194.72  | 2012-05-02 09:12:13 |
| 109.123.194.72  | 2012-05-02 09:12:19 |
| 109.123.194.72  | 2012-05-02 09:12:24 |
| 202.78.195.102  | 2012-05-02 09:12:28 |
| 109.123.194.72  | 2012-05-02 09:12:29 |
| 180.244.245.100 | 2012-05-02 09:12:29 |
+-----------------+---------------------+
47 rows in set (0.00 sec)

Diatas bisa kita lihat list IP yang di blok oleh cPHulk Brute Force Protection, untuk remote semua IP tersebut kita cukup mengosongkan isi database.

Bersih-bersih

mysql> delete from brutes;
Query OK, 5 rows affected (0.00 sec)

mysql> delete from logins;
Query OK, 47 rows affected (0.00 sec)

mysql> select IP, LOGINTIME FROM logins order by LOGINTIME;
Empty set (0.00 sec)

Selesai sudah dan coba kembali login ke server anda, tutorial ini tidak di anjurkan untuk anda yang ingin remote IP tertentu.