• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Message Log "OverLoad", results; mail/mysql stoppage.

M

miklr

Guest
Can anyone give me any Ideas as to how to eliminate the constant problem of the message log file in the/var/log directory , becoming so large from brute force attempts logging errors, that it immobilizes my (dv) due to server drive space limits?

thanks (in advance) for any help,

miq.r.
 
What OS are you running? If it is a RH flavor then logrotate will rotate the messages logfile out on a weekly basis.

Also what are they attacking, ssh? Personally, I would move ssh to a non-standard port. I don't know about you, but I never give users access via ssh -- so I just changed the port.
 
Thanks for the reply,

I am running RedHat.

The only problem with rotating log files, is the message log spins up within an hour, and locks up services, way before any rotation would solve it.

Changing the ssh port is a good solution, but not quite sure how to do that.

miq.r.
 
It sounds like you have a deliberate attack. is it all consistently on one service? is it all from one particular IP?

If it is coming from the same user then firewall them. For sshd, you would modify /etc/ssh/sshd_config and change the ListenAddress to 0.0.0.0:2322 (or whatever port you want to use). ListenAddress may be commented out. You would need to restart sshd for it to take effect.
 
thanks 'wagnerch', think I'll try just setting my logrotate config file, to rotate after it reaches a size limit.

miq.r.
 
Back
Top