Skip to content

Verify Fail2Ban logging for review

Verify Fail2Ban logging for review

  • Test case designer: name
  • Date of creation : 24.07.2025

Update history

  • version 0.2 - 11.08.2025 - Edited steps
  • version 0.1 - 02.07.2025 - test case created

Test case description

Ensure logs are available for Admins to monitor Fail2Ban actions.

Pre-state:

  • Fail2Ban configured.

Test Steps

  1. On the VM, check the log file: fail2ban.log
  2. Confirm logs display:
  • Service startup
  • IP ban and unban events
  • Reason for banning (e.g., SSH authentication failures).

Expected result

  • Logs clearly show:
  • Which IPs were banned.
  • Which jail triggered the ban.
  • Timestamps of bans and unbans.
  • Logs are accessible for ongoing monitoring and audit.
Edited by AH0981