1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Logging failed logins to control panel

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by adhawkins, Dec 6, 2012.

  1. adhawkins

    adhawkins New Pleskian

    22
    23%
    Joined:
    Feb 1, 2002
    Messages:
    7
    Likes Received:
    0
    Hi,

    Are failed logins to the plesk control panel logged anywhere along with the source IP?

    Thanks

    Andy
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    Try to check /usr/local/psa/admin/logs/httpsd_access_log
     
  3. adhawkins

    adhawkins New Pleskian

    22
    23%
    Joined:
    Feb 1, 2002
    Messages:
    7
    Likes Received:
    0
    That's just a log of all HTTPS requests on the server. There's no indication that I can see of a failed Plesk login in there.

    Andy
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
    This is all Plesk Control Panel logs:

    Error log: /var/log/sw-cp-server/error_log
    Access log: /usr/local/psa/admin/logs/httpsd_access_log
    Panel log: /usr/local/psa/admin/logs/panel.log
     
  5. adhawkins

    adhawkins New Pleskian

    22
    23%
    Joined:
    Feb 1, 2002
    Messages:
    7
    Likes Received:
    0
    Ah, doesn't look like it logs anything useful into any of those.

    Seems a bit of an omission. We want to set up CSF / LFD to catch failed logins to Plesk (as it does SSH, FTP etc.) and block the IP automatically.

    Is this possible?

    Andy
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,244
    Location:
    Novosibirsk, Russia
  7. adhawkins

    adhawkins New Pleskian

    22
    23%
    Joined:
    Feb 1, 2002
    Messages:
    7
    Likes Received:
    0
    Thanks, that might help me do something similar with CSF / LFD.

    Andy
     
Loading...