ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022661ClearOSapp-attack-detector - Attack Detectorpublic2019-01-05 07:462021-11-09 05:43
ReporterNickH 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.5.0 Updates 
Target Version7.5.0 UpdatesFixed in Version7.5.0 Updates 
Summary0022661: Fix for 22261 needs to check if the clearos-cyrus-imap.conf file exists
DescriptionThe fix for #22261did not check for the existence of /etc/fail2ban/jail.d/clearos-cyrus-imap.conf. If it did not exist, the ports line gets pushed to /etc/fail2ban/jail.d/clearos-cyrus-imap.conf which is an invalid file as it only contains the single line.

The fix checks if the file exists before adding the line. If the file exists and the line [cyrus-imap] does not exist, then the file is faulty and was caused by the first fix to 22261 which wrongly created the file. In this case remove the file and remove the update state file as well.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008761)
NickH (developer)
2019-01-15 03:58

Fixed by commits:
https://gitlab.com/clearos/clearfoundation/app-attack-detector/commit/19c5475d30e0366e3e840656b90a41df763a74ad [^]
https://gitlab.com/clearos/clearfoundation/app-attack-detector/commit/a44a600530773f3a3c791beefc214c4ab462fcce [^]
(0008771)
NickH (developer)
2019-01-15 04:01

The fix to 22611 has been removed from app-attack-detector and is now done in app-imap

- Issue History
Date Modified Username Field Change
2019-01-05 07:46 NickH New Issue
2019-01-05 07:46 NickH Status new => assigned
2019-01-05 07:46 NickH Assigned To => NickH
2019-01-15 03:58 NickH Note Added: 0008761
2019-01-15 04:01 NickH Note Added: 0008771
2019-02-01 12:26 NickH Status assigned => resolved
2019-02-01 12:26 NickH Fixed in Version => 7.5.0 Updates
2019-02-01 12:26 NickH Resolution open => fixed
2021-11-09 05:43 NickH Status resolved => closed
2021-11-09 05:43 NickH Assigned To NickH =>