Search Our Database

How to turn off brute force notification for DirectAdmin control panel

Last updated on |
by

Introduction

DirectAdmin provides a mechanism to block IP addresses involved in brute force attacks. However, by default, it also sends notifications each time a brute force attempt is detected. If you want to stop these notifications while still blocking suspicious IP addresses, you can configure DirectAdmin to hide the notifications without affecting the IP blocking functionality. This guide walks you through the process of disabling brute force notifications while keeping the blocking script active.

Prerequisites

  • Root access to the server via SSH.
  • DirectAdmin installed and configured.

 

Step-by-Step Guide

Step 1: Modify the DirectAdmin Configuration File

SSH into the server using root access and execute the following command to disable brute force notifications while retaining IP blocking functionality.

echo "hide_brute_force_notifications=1" >> /usr/local/directadmin/conf/directadmin.conf

This command adds the configuration option to prevent notifications while still allowing the brute force IP blocking script to run.

 

Step 2: Restart the DirectAdmin Service

After modifying the configuration file, restart the DirectAdmin service for the changes to take effect:

/etc/init.d/directadmin restart

 

Conclusion

By following these steps, you can disable brute force attack notifications in DirectAdmin while keeping the IP blocking functionality active. This setup reduces unnecessary alerts without compromising security.

For additional assistance or if you encounter any issues, please contact our support team at support@ipserverone.com.