ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022661ClearOSapp-attack-detector - Attack Detectorpublic2019-01-05 07:462019-01-15 04:01
ReporterNickH 
Assigned ToNickH 
PriorityhighSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version7.5.0 Updates 
Target Version7.5.0 UpdatesFixed in Version 
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