DrWizzle
Verified User
- Joined
- Aug 8, 2021
- Messages
- 101
Good evening everyone. Reading a post earlier reminded me of a post I was supposed to make here a while ago but forgot. I rented a server from a well known European brand and went ahead and installed DA on it. Set it up, hardened the server and set the firewall up. Started using it and saw no problems.
I can't find the email, but it came from [email protected] and just seeing the email address made my heart sink thinking what the heck was wrong? So I opened it and it was from MySQL / MariaDB guys who scan datacentres for open ports and informed me my port 3306 was open. They emailed my providers abuse email address and forwarded it to me. I checked firewall and it was indeed not listed in firewall open rules but port was listed as open to the public by nmap which I didn't want.
So, DA installed itself, firewall (CSF - LFD) was setup to close port 3306 but port was still open. I had to fix this
in /etc/mysql/my.cnf - add at bottom
#systemctl restart mysqld
This fixes the port issue, keeping databases local, if anyone else has this and doesn't want external access to their databases.
Check your ports and see if it's open as it's a potential security risk if you're not running external DB access.
I can't find the email, but it came from [email protected] and just seeing the email address made my heart sink thinking what the heck was wrong? So I opened it and it was from MySQL / MariaDB guys who scan datacentres for open ports and informed me my port 3306 was open. They emailed my providers abuse email address and forwarded it to me. I checked firewall and it was indeed not listed in firewall open rules but port was listed as open to the public by nmap which I didn't want.
So, DA installed itself, firewall (CSF - LFD) was setup to close port 3306 but port was still open. I had to fix this
in /etc/mysql/my.cnf - add at bottom
Code:
[mysqld]
bind-address = 127.0.0.1
#systemctl restart mysqld
This fixes the port issue, keeping databases local, if anyone else has this and doesn't want external access to their databases.
Check your ports and see if it's open as it's a potential security risk if you're not running external DB access.